/* ==========================================================================
   TPV Verifactu - Pure Vanilla CSS3 Design System
   Compatible con cualquier hosting web compartido (Apache, Nginx, LiteSpeed, etc.)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Asap:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  --color-mov-blue: #005398;
  --color-mov-blue-hover: #004784;
  --color-mov-blue-dark: #0b2739;
  --color-mov-yellow: #edb90b;
  --color-mov-yellow-hover: #dbab08;
  --color-mov-black: #000000;
  --color-mov-dark: #585858;
  --color-mov-gray-hover: #7a7a7a;
  --color-mov-bg-gray: #f5f5f5;
  --color-mov-red: #b22634;
  --color-mov-red-hover: #961e2b;
  --font-sans: 'Asap', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-card: 0 4px 24px -2px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 16px 36px -4px rgba(0, 83, 152, 0.16);
  --border-light: rgba(229, 231, 235, 0.9);
}

/* Reset y base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-mov-bg-gray);
  color: var(--color-mov-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::selection {
  background-color: var(--color-mov-blue);
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Enlaces SEO Estratégicos (Link Building hacia la marca matriz ayd.es) */
.seo-link {
  color: var(--color-mov-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(0, 83, 152, 0.4);
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.seo-link:hover {
  color: var(--color-mov-blue-hover);
  text-decoration-color: var(--color-mov-yellow);
}

.seo-link-light {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--color-mov-yellow);
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.seo-link-light:hover {
  color: var(--color-mov-yellow);
  text-decoration-color: #ffffff;
}

button, input, select, textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* Animaciones */
@keyframes float-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes shimmer-sweep {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0.3; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

@keyframes fade-in {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.animate-float {
  animation: float-subtle 4s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.badge-shimmer {
  background: linear-gradient(90deg, rgba(237,185,11,0.15) 0%, rgba(255,255,255,0.7) 50%, rgba(237,185,11,0.15) 100%);
  background-size: 200% 100%;
  animation: shimmer-sweep 4.5s linear infinite;
}

.pulse-ring-gold {
  animation: pulse-ring 2.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.bg-mesh-soft {
  background-color: #f5f5f5;
  background-image: 
    radial-gradient(circle at 12% 18%, rgba(0, 83, 152, 0.045) 0%, transparent 40%),
    radial-gradient(circle at 88% 75%, rgba(237, 185, 11, 0.05) 0%, transparent 45%);
}

/* Botones de acción CTA Movistar Style */
.btn-mov-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 700;
  text-decoration: none;
}

.btn-mov-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(178, 38, 52, 0.3);
}

.btn-mov-cta:hover .btn-icon {
  transform: translateX(4px);
}

.btn-icon {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

/* Layout Container */
.site-container {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  /*padding-left: 1rem;*/
  /*padding-right: 1rem;*/
}

/* Header & Barra Superior */
.top-bar {
  background-color: var(--color-mov-blue);
  color: #ffffff;
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: opacity 0.25s ease;
  opacity: 1;
}

.top-bar.hide-on-scroll {
  opacity: 0;
  pointer-events: none;
}

.top-bar-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-weight: 600;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar-link {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.025em;
  transition: color 0.2s;
}

.top-bar-link:hover {
  color: var(--color-mov-yellow);
}

.aeat-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.15rem 0.75rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-mov-yellow);
  font-weight: 700;
  border: 1px solid rgba(237, 185, 11, 0.5);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Requisito 7: Barra azul en móvil alineada en 2 columnas a la izquierda en 2 líneas */
@media (max-width: 767px) {
  .top-bar {
    padding: 0.45rem 0.75rem;
  }
  .top-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 0.75rem;
    align-items: center;
    justify-items: start;
    text-align: left;
  }
  .top-bar-left, .top-bar-right {
    display: contents;
  }
  .top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.6875rem;
    justify-content: flex-start;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
  }
  .top-bar-item span.top-bar-label {
    display: none;
  }
  .top-bar-link {
    font-size: 0.6875rem;
    font-weight: 700;
  }
  .aeat-badge-top {
    justify-self: start;
    font-size: 0.5625rem;
    padding: 0.1rem 0.4rem;
    white-space: nowrap;
    text-align: left;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

/* Main Nav */
.main-nav {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  padding: 0.125rem 0;
  background: transparent;
}

.brand-logo img {
  height: 2.5rem;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s;
  mix-blend-mode: multiply;
  background-color: transparent;
}

@media (min-width: 640px) {
  .brand-logo img {
    height: 3rem;
  }
}

.brand-logo:hover img {
  transform: scale(1.02);
}

.nav-links-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-mov-dark);
}

@media (min-width: 1200px) {
  .nav-links-desktop {
    display: flex;
  }
}

.nav-link {
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-mov-blue);
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: var(--color-mov-blue);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-header-demo {
  display: none;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-mov-blue);
  background-color: rgba(0, 83, 152, 0.1);
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 83, 152, 0.2);
  transition: background-color 0.2s;
}

@media (min-width: 768px) {
  .btn-header-demo {
    display: inline-flex;
  }
}

.btn-header-demo:hover {
  background-color: rgba(0, 83, 152, 0.2);
}

.btn-header-budget {
  background-color: var(--color-mov-red);
  color: #ffffff;
  font-size: 0.875rem;
  padding: 0.55rem 1.15rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-header-budget:hover {
  background-color: var(--color-mov-red-hover);
}

.menu-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 0.5rem;
  color: var(--color-mov-dark);
  transition: background-color 0.2s, color 0.2s;
  z-index: 1001;
  position: relative;
}

@media (min-width: 1200px) {
  .menu-toggle-btn {
    display: none;
  }
}

.menu-toggle-btn:hover {
  background-color: #f3f4f6;
}

.menu-toggle-btn .icon-close {
  display: none;
}

.menu-toggle-btn.open {
  color: var(--color-mov-red);
  background-color: rgba(178, 38, 52, 0.08);
}

.menu-toggle-btn.open .icon-burger {
  display: none;
}

.menu-toggle-btn.open .icon-close {
  display: block;
}

/* Requisito 3: Menú hamburguesa a pantalla completa en móvil y cambio a icono X */
.mobile-drawer {
  display: none;
}

.mobile-drawer.open {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-color: #ffffff;
  z-index: 1000;
  padding: 5rem 1.5rem 2.5rem;
  overflow-y: auto;
  animation: fade-in 0.25s ease-out;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 26rem;
  gap: 0.25rem;
}

.mobile-drawer a {
  display: block;
  padding: 0.85rem 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-mov-dark);
  text-align: center;
  width: 100%;
  border-bottom: 1px solid #f3f4f6;
  transition: color 0.2s, transform 0.15s;
}

.mobile-drawer a:hover {
  color: var(--color-mov-blue);
  transform: scale(1.02);
}

.mobile-drawer-btn {
  width: 100%;
  max-width: 26rem;
  padding: 0.85rem 1.5rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  background-color: var(--color-mov-blue);
  border-radius: 0.75rem;
  box-shadow: 0 6px 16px -2px rgba(0, 83, 152, 0.35);
  transition: background-color 0.2s, transform 0.2s;
}

.mobile-drawer-btn:hover {
  background-color: var(--color-mov-blue-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   Section 1: Hero Principal (3 Contenedores Movistar B2B)
   ========================================================================== */
.hero-section {
  width: 100%;
  padding: 1.5rem 1rem 2.5rem;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 2.5rem 1rem;
  }
}

.hero-bottom-badge {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
  width: 100%;
}

.badge-normativo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  border-radius: 9999px;
  background-color: #ffffff;
  border: 1px solid rgba(0, 83, 152, 0.25);
  color: var(--color-mov-blue);
  font-weight: 700;
  font-size: 0.75rem;
  margin-bottom: 0;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  text-align: center;
  max-width: 100%;
}

@media (max-width: 639px) {
  .badge-normativo {
    border-radius: 1rem;
    font-size: 0.72rem;
    line-height: 1.35;
    padding: 0.45rem 0.85rem;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .hero-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: repeat(12, 1fr);
  }
}

.b2b-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .b2b-card {
    padding: 1.75rem;
  }
}

.b2b-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 83, 152, 0.3);
}

.hero-col-main {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .hero-col-main {
    grid-column: span 5;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  background-color: var(--color-mov-blue);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-mov-black);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 1.875rem;
  }
}

.hero-title .highlight {
  color: var(--color-mov-blue);
}

.hero-desc {
  font-size: 0.875rem;
  color: var(--color-mov-dark);
  line-height: 1.6;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .hero-desc {
    font-size: 1rem;
  }
}

.hero-img-box {
  position: relative;
  width: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: #171717;
  border: 1px solid rgba(229, 231, 235, 0.8);
  margin: 0.5rem 0 1rem;
}

.hero-img-box img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-img-box:hover img {
  transform: scale(1.05);
}

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  pointer-events: none;
}

.hero-img-badge-bottom {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background-color: rgba(0, 83, 152, 0.9);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-img-badge-top {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background-color: rgba(255, 255, 255, 0.95);
  color: #000000;
  font-size: 0.625rem;
  font-weight: 800;
  padding: 0.15rem 0.625rem;
  border-radius: 0.25rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.hero-img-btn-demo {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background-color: var(--color-mov-yellow);
  color: #000000;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0.35rem 0.65rem;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: transform 0.2s, background-color 0.2s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-img-btn-demo:hover {
  transform: scale(1.05);
  background-color: var(--color-mov-yellow-hover);
}

.hero-img-btn-demo .btn-demo-text-mobile {
  display: none;
}

@media (max-width: 767px) {
  .hero-img-btn-demo .btn-demo-text-desktop {
    display: none;
  }
  .hero-img-btn-demo .btn-demo-text-mobile {
    display: inline;
  }
}

.hero-cta-group {
  padding-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.btn-hero-primary {
  background-color: var(--color-mov-red);
  color: #ffffff;
  font-size: 0.875rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  flex: 1;
  text-align: center;
}

.btn-hero-primary:hover {
  background-color: var(--color-mov-red-hover);
}

.btn-hero-phone {
  background-color: var(--color-mov-bg-gray);
  color: var(--color-mov-blue);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: background-color 0.2s;
}

.btn-hero-phone:hover {
  background-color: #e5e7eb;
}

.hero-col-pack {
  grid-column: span 1;
  border: 2px solid var(--color-mov-blue);
  position: relative;
}

@media (min-width: 1024px) {
  .hero-col-pack {
    grid-column: span 4;
  }
}

.pack-badge-top {
  position: absolute;
  top: -0.875rem;
  left: 1.5rem;
  background-color: var(--color-mov-yellow);
  color: #000000;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 0.25rem 0.875rem;
  border-radius: 9999px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.375rem;
  border: 1px solid #facc15;
}

.pack-header {
  margin-top: 0.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.pack-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-mov-blue);
}

.pack-header p {
  font-size: 0.75rem;
  color: var(--color-mov-dark);
  font-weight: 500;
}

.pack-tag-status {
  font-size: 0.6875rem;
  background-color: rgba(0, 83, 152, 0.1);
  color: var(--color-mov-blue);
  font-weight: 700;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
}

.pack-img-box {
  width: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  background: linear-gradient(to bottom, #fafafa, #f5f5f5);
  margin-bottom: 1rem;
  border: 1px solid #e5e7eb;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pack-img-box img {
  height: 11rem;
  width: auto;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.pack-img-box:hover img {
  transform: scale(1.05);
}

.pack-price-box {
  padding: 0.75rem 1rem;
  background-color: var(--color-mov-bg-gray);
  border-radius: 0.75rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #e5e7eb;
  flex-wrap: nowrap;
}

.pack-price-amount {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--color-mov-blue);
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .pack-price-box {
    padding: 0.625rem 0.65rem;
    gap: 0.35rem;
  }
  .pack-price-amount {
    font-size: 1.65rem;
    white-space: nowrap;
  }
}

.pack-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-mov-dark);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.pack-features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-pack-cta {
  width: 100%;
  padding: 0.65rem 1rem;
  background-color: var(--color-mov-blue);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 0.5rem;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-pack-cta:hover {
  background-color: var(--color-mov-blue-dark);
}

.hero-col-express {
  grid-column: span 1;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .hero-col-express {
    grid-column: span 2;
  }
  .hero-col-express form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
    align-items: end;
  }
  .hero-col-express .checkbox-group,
  .hero-col-express .btn-express-submit,
  .hero-col-express .express-success-box {
    grid-column: span 2;
  }
  .hero-col-express .form-group {
    margin-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .hero-col-express {
    grid-column: span 3;
  }
}

.express-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 1rem;
}

.express-header-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-mov-black);
  line-height: 1.1;
}

.express-badge {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--color-mov-yellow);
  color: #000000;
  padding: 0.15rem 0.5rem;
  border-radius: 0.25rem;
}

.form-group {
  margin-bottom: 0.75rem;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-mov-dark);
  margin-bottom: 0.25rem;
}

.input-with-icon {
  position: relative;
}

.input-with-icon svg {
  position: absolute;
  left: 0.625rem;
  top: 0.625rem;
  color: #9ca3af;
  pointer-events: none;
}

.form-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  background-color: #ffffff;
  color: var(--color-mov-black);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-with-icon .form-input {
  padding-left: 2.25rem;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-mov-blue);
  box-shadow: 0 0 0 2px rgba(0, 83, 152, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding-top: 0.25rem;
  margin-bottom: 0.75rem;
}

.checkbox-group input {
  margin-top: 0.15rem;
}

.checkbox-label {
  font-size: 0.6875rem;
  color: var(--color-mov-dark);
  line-height: 1.25;
  cursor: pointer;
}

.btn-express-submit {
  width: 100%;
  padding: 0.65rem 1rem;
  background-color: var(--color-mov-red);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.btn-express-submit:hover {
  background-color: var(--color-mov-red-hover);
}

.express-success-box {
  padding: 1rem;
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 0.75rem;
  text-align: center;
  animation: fade-in 0.3s ease-out;
}

.express-success-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: #10b981;
  color: #ffffff;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.express-footer-whatsapp {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.express-footer-whatsapp a {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-mov-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

.express-footer-whatsapp a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Section 2: Soluciones Destacadas
   ========================================================================== */
.section-destacados {
  width: 100%;
  padding: 3rem 1rem;
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.section-header-flex {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .section-header-flex {
    flex-direction: row;
    align-items: flex-end;
  }
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-mov-blue);
  margin-bottom: 0.25rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-mov-black);
}

@media (min-width: 640px) {
  .section-title {
    font-size: 1.875rem;
  }
}

.section-subtitle-max {
  font-size: 0.875rem;
  color: var(--color-mov-dark);
  max-width: 28rem;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .section-subtitle-max {
    margin-top: 0;
  }
}

.destacados-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .destacados-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .destacados-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.destacado-card {
  background-color: var(--color-mov-bg-gray);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.destacado-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 83, 152, 0.4);
}

.destacado-body {
  padding: 1.25rem;
  flex: 1;
}

.destacado-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-mov-blue);
  background-color: #ffffff;
  padding: 0.15rem 0.625rem;
  border-radius: 0.25rem;
  margin-bottom: 0.75rem;
  border: 1px solid #e5e7eb;
}

.destacado-name {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-mov-black);
  margin-bottom: 0.25rem;
  transition: color 0.2s;
}

.destacado-card:hover .destacado-name {
  color: var(--color-mov-blue);
}

.destacado-desc {
  font-size: 0.75rem;
  color: var(--color-mov-dark);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.destacado-media {
  width: 100%;
  height: 11rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  position: relative;
  margin-bottom: 0.5rem;
}

.destacado-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.destacado-card:hover .destacado-media img {
  transform: scale(1.05);
}

.destacado-footer {
  padding: 1rem;
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.destacado-footer span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-mov-dark);
}

.destacado-footer a {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-mov-red);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Dojo Blue Media Box */
.dojo-media-box {
  width: 100%;
  height: 11rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #005398 0%, #004784 50%, #0b2739 100%);
  padding: 1rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #e5e7eb;
  transition: transform 0.3s ease;
}

.destacado-card:hover .dojo-media-box {
  transform: scale(1.02);
}

/* Interactive Balanza Box */
.balanza-box {
  width: 100%;
  height: 11rem;
  border-radius: 0.75rem;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 0.875rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #000000;
  transition: transform 0.3s ease;
}

.destacado-card:hover .balanza-box {
  transform: scale(1.02);
}

.balanza-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.balanza-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.btn-balanza-step {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.25rem;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  transition: background-color 0.2s;
}

.btn-balanza-step:hover {
  background-color: #e5e7eb;
}

/* ==========================================================================
   Section 3: Periféricos Modulares
   ========================================================================== */
.section-perifericos {
  width: 100%;
  padding: 2.5rem 1rem;
}

.perifericos-panel {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow-card);
}

@media (min-width: 640px) {
  .perifericos-panel {
    padding: 2rem;
  }
}

.perifericos-panel-top {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

@media (min-width: 1024px) {
  .perifericos-panel-top {
    flex-direction: row;
    align-items: center;
  }
}

.perifericos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .perifericos-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.periferico-item-card {
  padding: 1rem;
  border-radius: 0.75rem;
  background-color: var(--color-mov-bg-gray);
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.25s ease;
}

.periferico-item-card:hover {
  background-color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 83, 152, 0.3);
}

.periferico-icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: #ffffff;
  color: var(--color-mov-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin-bottom: 0.75rem;
  transition: transform 0.25s ease;
}

.periferico-item-card:hover .periferico-icon-box {
  transform: scale(1.1);
}

/* ==========================================================================
   Section 4: Tarifas y Precios
   ========================================================================== */
.section-tarifas {
  width: 100%;
  padding: 3rem 1rem;
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
}

.tarifas-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.btn-toggle-calc {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-mov-blue);
  background-color: var(--color-mov-bg-gray);
  padding: 0.4rem 0.875rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  transition: background-color 0.2s;
}

.btn-toggle-calc:hover {
  background-color: #e5e7eb;
}

.calculator-box {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background-color: var(--color-mov-bg-gray);
  border-radius: 1rem;
  border: 2px solid rgba(0, 83, 152, 0.3);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
  animation: fade-in 0.25s ease-out;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--color-mov-dark);
}

@media (min-width: 640px) {
  .calculator-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.calc-item {
  background: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.calc-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.calc-item-check {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.calc-check-label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  cursor: pointer;
  width: 100%;
  font-size: 0.8125rem;
  user-select: none;
}

.calc-checkbox {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--color-mov-blue);
  cursor: pointer;
  flex-shrink: 0;
}

.stepper-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-stepper {
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  background-color: #f9fafb;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.btn-stepper:hover {
  background-color: #e5e7eb;
  border-color: var(--color-mov-blue);
  color: var(--color-mov-blue);
}

.btn-stepper:active {
  transform: scale(0.95);
}

.stepper-val {
  width: 2rem;
  text-align: center;
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--color-mov-black);
}

.calculator-bottom-row {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #d1d5db;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tarifas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

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

.tarifa-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.75rem;
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
}

.tarifa-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 83, 152, 0.3);
}

.tarifa-card.destacada {
  border: 2px solid var(--color-mov-blue);
  box-shadow: var(--shadow-card-hover);
}

.tarifa-badge-destacada {
  position: absolute;
  top: -0.875rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-mov-yellow);
  color: #000000;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #facc15;
  white-space: nowrap;
}

.tarifa-price-box {
  text-align: center;
  padding: 1rem 0;
  background-color: var(--color-mov-bg-gray);
  border-radius: 0.75rem;
  margin-bottom: 1.25rem;
  border: 1px solid #e5e7eb;
}

.tarifa-price-amount {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 0.125rem 0;
}

/* ==========================================================================
   Section 5: Ley Verifactu AEAT
   ========================================================================== */
.section-verifactu {
  width: 100%;
  padding: 4rem 1rem;
  background-color: var(--color-mov-blue-dark);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.glow-ambient-1 {
  position: absolute;
  top: 0;
  right: 25%;
  width: 24rem;
  height: 24rem;
  background-color: rgba(0, 83, 152, 0.3);
  border-radius: 9999px;
  filter: blur(64px);
  pointer-events: none;
}

.glow-ambient-2 {
  position: absolute;
  bottom: 0;
  left: 2.5rem;
  width: 18rem;
  height: 18rem;
  background-color: rgba(237, 185, 11, 0.1);
  border-radius: 9999px;
  filter: blur(48px);
  pointer-events: none;
}

.verifactu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .verifactu-grid {
    grid-template-columns: repeat(12, 1fr);
  }
}

.verifactu-col-info {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .verifactu-col-info {
    grid-column: span 7;
  }
}

.verifactu-points-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-top: 0.5rem;
}

@media (min-width: 640px) {
  .verifactu-points-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.verifactu-point-card {
  padding: 1rem;
  border-radius: 0.75rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s;
}

.verifactu-point-card:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.verifactu-col-ticket {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .verifactu-col-ticket {
    grid-column: span 5;
  }
}

.ticket-paper-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  color: var(--color-mov-black);
  max-width: 28rem;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ticket-tab-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
  background-color: #f3f4f6;
  padding: 0.25rem;
  border-radius: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-mov-dark);
}

.ticket-tab-btn {
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  transition: all 0.2s;
  flex: 1;
  text-align: center;
}

.ticket-tab-btn.active {
  background-color: var(--color-mov-blue);
  color: #ffffff;
}

.ticket-mono-area {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  color: var(--color-mov-black);
  background-color: var(--color-mov-bg-gray);
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  line-height: 1.4;
}

/* ==========================================================================
   Section 6: Sectores de Actividad
   ========================================================================== */
.section-sectores {
  width: 100%;
  padding: 3.5rem 1rem;
  background-color: var(--color-mov-bg-gray);
}

.sectores-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.sector-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(229, 231, 235, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

@media (min-width: 640px) {
  .sector-card {
    padding: 1.75rem;
  }
}

.sector-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 83, 152, 0.3);
}

.sector-img-box {
  width: 100%;
  height: 12rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: #171717;
  border: 1px solid #e5e7eb;
  margin-bottom: 1rem;
  position: relative;
}

.sector-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sector-card:hover .sector-img-box img {
  transform: scale(1.05);
}

.sector-btn-demo {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background-color: rgba(255, 255, 255, 0.9);
  color: #000000;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.sector-btn-demo:hover {
  background-color: #ffffff;
  transform: scale(1.05);
}

/* ==========================================================================
   Section 7: Garantías y Confianza
   ========================================================================== */
.section-garantias {
  width: 100%;
  padding: 3rem 1rem;
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.garantias-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .garantias-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .garantias-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.garantia-item {
  padding: 1.25rem;
  border-radius: 1rem;
  background-color: var(--color-mov-bg-gray);
  border: 1px solid rgba(229, 231, 235, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.25s ease;
}

.garantia-item:hover {
  background-color: #ffffff;
  border-color: rgba(0, 83, 152, 0.4);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.garantia-icon-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background-color: #ffffff;
  color: var(--color-mov-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  margin-bottom: 0.75rem;
  transition: transform 0.25s ease;
}

/* ==========================================================================
   Section: Preguntas Frecuentes (FAQ) - Verifactu y TPV
   ========================================================================== */
.section-faq {
  width: 100%;
  padding: 4rem 1rem;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.faq-accordion-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: #ffffff;
  border-radius: 0.875rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  overflow: hidden;
}

.faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 8px -1px rgba(0, 0, 0, 0.06);
}

.faq-item[open] {
  border-color: var(--color-mov-blue);
  box-shadow: 0 4px 14px rgba(0, 83, 152, 0.08);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--color-mov-blue);
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.65;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}

.faq-answer p {
  margin-bottom: 0.5rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-cta-banner {
  max-width: 820px;
  margin: 2.5rem auto 0 auto;
  background-color: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  padding: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

@media (max-width: 640px) {
  .faq-question {
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
  }
  .faq-answer {
    padding: 0.75rem 1.25rem 1rem 1.25rem;
    font-size: 0.8125rem;
  }
  .faq-cta-banner {
    padding: 1.25rem;
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Section 8: Presupuesto a Medida y Contacto
   ========================================================================== */
.section-contacto {
  width: 100%;
  padding: 4rem 1rem;
  background-color: var(--color-mov-bg-gray);
}

.contacto-panel {
  background-color: #ffffff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(229, 231, 235, 0.9);
}

@media (min-width: 640px) {
  .contacto-panel {
    padding: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .contacto-panel {
    padding: 3rem;
  }
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .contacto-grid {
    grid-template-columns: repeat(12, 1fr);
  }
}

.contacto-col-info {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .contacto-col-info {
    grid-column: span 5;
  }
}

.contacto-col-form {
  grid-column: span 1;
  background-color: var(--color-mov-bg-gray);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
}

@media (min-width: 640px) {
  .contacto-col-form {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .contacto-col-form {
    grid-column: span 7;
  }
}

.contact-quick-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background-color: var(--color-mov-bg-gray);
  border: 1px solid #e5e7eb;
  transition: background-color 0.2s;
  margin-bottom: 0.75rem;
}

.contact-quick-card:hover {
  background-color: #e5e7eb;
}

.contact-quick-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.contact-quick-card:hover .contact-quick-icon {
  transform: scale(1.05);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  width: 100%;
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
  color: var(--color-mov-dark);
  font-size: 0.75rem;
  padding: 3rem 1rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-mov-black);
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.footer-col a:hover {
  color: var(--color-mov-blue);
}

.footer-bottom-row {
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  font-size: 0.6875rem;
  text-align: center;
}

.footer-bottom-row p {
  margin: 0;
  line-height: 1.45;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.5rem;
  font-size: 0.6875rem;
  white-space: nowrap;
}

.footer-legal-sep {
  color: #9ca3af;
  user-select: none;
  font-size: 0.6875rem;
}

/* Móvil: etiquetas concisas para que los 4 enlaces encajen en una única línea */
@media (max-width: 639px) {
  .footer-legal-links {
    gap: 0.35rem;
  }
  .footer-legal-links .legal-long {
    display: none;
  }
}

/* Tablet (640px a 1023px): exactamente 2 líneas (Línea 1: copyright, Línea 2: enlaces legales) */
@media (min-width: 640px) and (max-width: 1023px) {
  .footer-bottom-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.65rem;
  }
  .footer-legal-links {
    gap: 0.85rem;
  }
}

/* PC (1024px en adelante): layout horizontal a ambos lados */
@media (min-width: 1024px) {
  .footer-bottom-row {
    flex-direction: row;
    text-align: left;
    gap: 1rem;
  }
  .footer-legal-links {
    gap: 1rem;
  }
}

/* ==========================================================================
   Requisito 1: Modal Reproductor de Vídeo Demostración TPV
   ========================================================================== */
.tpv-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 1rem;
  align-items: center;
  justify-content: center;
}

.tpv-modal-overlay.open {
  display: flex;
  animation: fade-in 0.25s ease-out;
}

.video-modal-window,
.tpv-modal-window,
.tpv-video-modal-window {
  position: relative;
  width: 100%;
  max-width: 52rem;
  background-color: #0b2739;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
}

.tpv-modal-topbar {
  background-color: var(--color-mov-blue-dark);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.video-modal-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-mov-yellow);
}

.video-player-wrapper,
.tpv-video-container {
  position: relative;
  width: 100%;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 72vh;
}

.video-player-wrapper video,
.tpv-video-container video {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

.video-modal-footer {
  background-color: #0b2739;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.btn-video-presupuesto {
  padding: 0.5rem 1.25rem;
  background-color: var(--color-mov-red);
  color: #ffffff;
  font-weight: 700;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  transition: background-color 0.2s;
}

.btn-video-presupuesto:hover {
  background-color: var(--color-mov-red-hover);
}

/* ==========================================================================
   Requisito 6: Botones Flotantes en la esquina inferior derecha
   Desaparecen al estar arriba, aparecen al hacer scroll hacia abajo.
   En móvil: Únicamente contienen los iconos sin textos.
   ========================================================================== */
.floating-actions-container {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.625rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-actions-container.scrolled {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-btn-wa {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #25D366;
  color: #ffffff;
  padding: 0.625rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.2s;
}

.floating-btn-wa:hover {
  background-color: #20ba59;
  transform: scale(1.05);
}

.floating-btn-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-mov-blue);
  color: #ffffff;
  padding: 0.625rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.2s;
}

.floating-btn-phone:hover {
  background-color: var(--color-mov-blue-hover);
  transform: scale(1.05);
}

.floating-btn-scrolltop {
  padding: 0.625rem;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--color-mov-dark);
  border-radius: 9999px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-btn-scrolltop:hover {
  background-color: #ffffff;
  color: var(--color-mov-blue);
  transform: scale(1.05);
}

/* Requisito 6 (móvil): En móvil los botones flotantes solo contienen el icono, sin textos */
@media (max-width: 767px) {
  .floating-actions-container {
    bottom: 1rem;
    right: 1rem;
    gap: 0.5rem;
  }
  .floating-btn-wa, .floating-btn-phone {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 9999px;
  }
  .floating-btn-wa svg, .floating-btn-phone svg {
    width: 22px;
    height: 22px;
  }
  .floating-btn-wa span, .floating-btn-phone span {
    display: none !important;
  }
  .floating-btn-scrolltop {
    width: 40px;
    height: 40px;
  }
}

/* Helpers */
.hidden { display: none !important; }
.text-center { text-align: center; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

/* ==========================================================================
   Requisito 5: Ajuste preciso de anclas para cabecera sticky
   La sección queda alineada exactamente al inicio, visible y con cambio de fondo limpio
   ========================================================================== */
#inicio {
  scroll-margin-top: 160px;
}

section[id]:not(#inicio),
#destacados,
#perifericos,
#precios,
#normativa,
#negocios,
#servicios,
#contacto {
  scroll-margin-top: 77px;
}

@media (max-width: 767px) {
  #inicio {
    scroll-margin-top: 140px;
  }

  section[id]:not(#inicio),
  #destacados,
  #perifericos,
  #precios,
  #normativa,
  #negocios,
  #servicios,
  #contacto {
    scroll-margin-top: 69px;
  }
}

/* ==========================================================================
   Requisito 6: Estilos para Páginas Legales
   ========================================================================== */
.legal-hero {
  padding: 3rem 1rem 2rem;
  background: linear-gradient(180deg, rgba(0, 83, 152, 0.08) 0%, rgba(245, 245, 245, 1) 100%);
  border-bottom: 1px solid #e5e7eb;
}

.legal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #737373;
  margin-bottom: 1rem;
}

.legal-breadcrumb a {
  color: var(--color-mov-blue);
  transition: color 0.2s;
}

.legal-breadcrumb a:hover {
  text-decoration: underline;
}

.legal-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}

.legal-card {
  background-color: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  padding: 2.5rem;
}

@media (max-width: 640px) {
  .legal-card {
    padding: 1.5rem 1rem;
  }
}

.legal-prose h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #000000;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid rgba(0, 83, 152, 0.15);
}

.legal-prose h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-mov-blue);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-prose p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 1rem;
}

.legal-prose ul, .legal-prose ol {
  margin: 0.75rem 0 1.25rem 1.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #4b5563;
}

.legal-prose li {
  margin-bottom: 0.5rem;
}

.legal-prose strong {
  color: #111827;
}

.legal-info-box {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--color-mov-blue);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.875rem;
}

.legal-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  text-align: left;
}

.legal-table th {
  background-color: var(--color-mov-blue);
  color: #ffffff;
  padding: 0.75rem 1rem;
  font-weight: 700;
}

.legal-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  color: #475569;
}

.legal-table tr:nth-child(even) td {
  background-color: #f8fafc;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  background-color: rgba(0, 83, 152, 0.1);
  color: var(--color-mov-blue);
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   Plazos Obligatorios Verifactu y Contadores en Vivo
   ========================================================================== */
.verifactu-deadlines-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(237, 185, 11, 0.35);
  border-radius: 0.875rem;
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.deadlines-box-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--color-mov-yellow);
  margin-bottom: 0.85rem;
  letter-spacing: 0.02em;
}

.deadlines-cards {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.deadline-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.85rem;
  background: rgba(11, 39, 57, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.625rem;
  padding: 0.7rem 0.95rem;
  transition: border-color 0.2s, background-color 0.2s;
}

.deadline-row:hover {
  border-color: rgba(237, 185, 11, 0.5);
  background: rgba(11, 39, 57, 0.92);
}

.deadline-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.9);
  min-width: 0;
}

.deadline-entity {
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.85);
}

.deadline-date {
  color: #ffffff;
  font-size: 0.85rem;
  margin-top: 0.1rem;
}

.deadline-date strong {
  color: var(--color-mov-yellow);
  font-weight: 800;
}

.deadline-timer {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(237, 185, 11, 0.35);
  padding: 0.35rem 0.6rem;
  border-radius: 0.5rem;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
}

.timer-badge-title {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.03em;
}

.timer-units {
  display: flex;
  align-items: center;
  gap: 0.18rem;
  font-variant-numeric: tabular-nums;
}

.t-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 1.45rem;
}

.t-val {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.t-lbl {
  font-size: 0.525rem;
  color: var(--color-mov-yellow);
  text-transform: uppercase;
  line-height: 1;
  margin-top: 0.15rem;
  opacity: 0.9;
}

.t-colon {
  font-size: 0.75rem;
  font-weight: 800;
  color: rgba(237, 185, 11, 0.65);
  margin-bottom: 0.45rem;
}

@media (max-width: 520px) {
  .deadline-row {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .deadline-timer {
    justify-content: center;
    width: 100%;
  }
}

/* ==========================================================================
   Modal Captura de Datos para WhatsApp
   ========================================================================== */
.wa-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background-color: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1rem;
  align-items: center;
  justify-content: center;
}

.wa-modal-overlay.open {
  display: flex;
  animation: wa-fade-in 0.25s ease-out;
}

@keyframes wa-fade-in {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.wa-modal-window {
  position: relative;
  width: 100%;
  max-width: 460px;
  background-color: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.wa-modal-header {
  background: linear-gradient(135deg, var(--color-mov-blue) 0%, var(--color-mov-blue-dark) 100%);
  color: #ffffff;
  padding: 1.25rem 1.25rem 1.15rem;
  position: relative;
}

.wa-modal-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.wa-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  background-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.wa-badge-pulse {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background-color: #25D366;
  box-shadow: 0 0 8px #25D366;
}

.wa-btn-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  border-radius: 0.5rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wa-btn-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.wa-modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wa-modal-subtitle {
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0.25rem 0 0 0;
  line-height: 1.4;
}

.wa-modal-body {
  padding: 1.25rem;
  overflow-y: auto;
}

.wa-form-group {
  margin-bottom: 0.95rem;
}

.wa-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.3rem;
}

.wa-label span.req {
  color: #dc2626;
  margin-left: 0.15rem;
}

.wa-input,
.wa-textarea {
  width: 100%;
  border: 1.5px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  font-family: inherit;
  color: #111827;
  background-color: #f9fafb;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.wa-input:focus,
.wa-textarea:focus {
  outline: none;
  border-color: #128C7E;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(18, 140, 126, 0.15);
}

.wa-textarea {
  resize: vertical;
  min-height: 70px;
  line-height: 1.4;
}

.wa-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1rem 0 1.25rem;
}

.wa-checkbox {
  margin-top: 0.15rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: #128C7E;
  cursor: pointer;
  flex-shrink: 0;
}

.wa-checkbox-label {
  font-size: 0.735rem;
  color: #4b5563;
  line-height: 1.45;
  cursor: pointer;
}

.wa-checkbox-label a {
  color: #005398;
  font-weight: 600;
  text-decoration: underline;
}

.wa-checkbox-label a:hover {
  color: #075E54;
}

.wa-btn-submit {
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, #25D366 0%, #1da851 100%);
  color: #ffffff;
  font-size: 0.925rem;
  font-weight: 800;
  border: none;
  border-radius: 0.625rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
}

.wa-btn-submit:hover {
  background: linear-gradient(135deg, #22bf5b 0%, #199547 100%);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  transform: translateY(-1px);
}

.wa-btn-submit:active {
  transform: translateY(0);
}

/* ==========================================================================
   Sistema de Gestión de Consentimiento de Cookies (AEPD / RGPD / ePrivacy)
   ========================================================================== */

/* 1. Banner Flotante de Primera Capa */
.cookie-banner-wrap {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99990;
  padding: 1rem;
  pointer-events: none;
}

.cookie-banner-wrap.show {
  display: flex;
  justify-content: center;
  pointer-events: auto;
  animation: cookie-slide-up 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cookie-slide-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-banner-card {
  max-width: 1080px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 20px 45px -8px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 900px) {
  .cookie-banner-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

.cookie-banner-content {
  flex: 1;
}

.cookie-banner-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.cookie-banner-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.cookie-banner-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #111827;
  margin: 0;
}

.cookie-banner-text {
  font-size: 0.775rem;
  color: #4b5563;
  line-height: 1.5;
  margin: 0;
}

.cookie-banner-text a {
  color: var(--color-mov-blue);
  font-weight: 700;
  text-decoration: underline;
}

.cookie-banner-text a:hover {
  color: var(--color-mov-blue-hover);
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.btn-cookie {
  padding: 0.55rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.btn-cookie-accept {
  background-color: var(--color-mov-blue);
  color: #ffffff;
  border: 1px solid var(--color-mov-blue);
  box-shadow: 0 2px 8px rgba(0, 83, 152, 0.25);
}

.btn-cookie-accept:hover {
  background-color: var(--color-mov-blue-hover);
  border-color: var(--color-mov-blue-hover);
  transform: translateY(-1px);
}

.btn-cookie-reject {
  background-color: #f3f4f6;
  color: #1f2937;
  border: 1px solid #d1d5db;
}

.btn-cookie-reject:hover {
  background-color: #e5e7eb;
  border-color: #9ca3af;
}

.btn-cookie-config {
  background-color: transparent;
  color: var(--color-mov-blue);
  border: 1px solid var(--color-mov-blue);
}

.btn-cookie-config:hover {
  background-color: rgba(0, 83, 152, 0.05);
}

/* 2. Modal de Preferencias Granulares (Segunda Capa) */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1rem;
  align-items: center;
  justify-content: center;
}

.cookie-modal-overlay.open {
  display: flex;
  animation: cookie-fade-in 0.25s ease-out;
}

@keyframes cookie-fade-in {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.cookie-modal-window {
  position: relative;
  width: 100%;
  max-width: 580px;
  background-color: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.cookie-modal-header {
  background: linear-gradient(135deg, var(--color-mov-blue) 0%, var(--color-mov-blue-dark) 100%);
  color: #ffffff;
  padding: 1.25rem 1.25rem 1.15rem;
  position: relative;
}

.cookie-modal-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.cookie-badge-rgpd {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  background-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cookie-btn-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  border-radius: 0.5rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-btn-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.cookie-modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-modal-subtitle {
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0.25rem 0 0 0;
  line-height: 1.4;
}

.cookie-modal-body {
  padding: 1.25rem;
  overflow-y: auto;
  max-height: calc(90vh - 160px);
}

.cookie-modal-intro {
  font-size: 0.775rem;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.cookie-cat-card {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  transition: border-color 0.2s ease;
}

.cookie-cat-card:hover {
  border-color: #cbd5e1;
}

.cookie-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.cookie-cat-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-cat-title {
  font-size: 0.875rem;
  font-weight: 800;
  color: #111827;
  margin: 0;
}

.cookie-badge-mandatory {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  text-transform: uppercase;
}

.cookie-cat-desc {
  font-size: 0.75rem;
  color: #4b5563;
  line-height: 1.45;
  margin: 0 0 0.5rem 0;
}

.cookie-cat-tools {
  font-size: 0.6875rem;
  color: #6b7280;
  background-color: #ffffff;
  padding: 0.35rem 0.6rem;
  border-radius: 0.375rem;
  border: 1px solid #f1f5f9;
  display: inline-block;
}

/* Switch Toggle Accesible */
.cookie-switch-wrap {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.cookie-switch-wrap input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #d1d5db;
  transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 24px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.cookie-switch-wrap input:checked + .cookie-slider {
  background-color: var(--color-mov-blue);
}

.cookie-switch-wrap input:checked + .cookie-slider:before {
  transform: translateX(20px);
}

.cookie-switch-wrap input:disabled + .cookie-slider {
  background-color: #059669;
  cursor: not-allowed;
  opacity: 0.85;
}

.cookie-modal-footer {
  background-color: #f9fafb;
  border-top: 1px solid #e5e7eb;
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

/* 3. Panel Interactivo de Gestión en Política de Cookies */
.cookie-status-panel {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  border: 1.5px solid #bae6fd;
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 1.75rem 0 2rem 0;
  box-shadow: 0 8px 24px -4px rgba(0, 83, 152, 0.08);
}

.cookie-status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.cookie-status-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-mov-blue);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-status-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.85rem 0 1.25rem 0;
}

.cookie-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.cookie-badge-active {
  background-color: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

.cookie-badge-inactive {
  background-color: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

.cookie-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}


