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

body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 48px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 64px;
  }
}

/* Componentes del manual de marca (sección 7) */

/* 7.1 Botón primario (violeta, sin gradiente) */
.btn-primary {
  background: var(--violet-500);
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.btn-primary:focus-visible {
  outline: 2px solid var(--violet-400);
  outline-offset: 3px;
}

/* 7.2 Botón secundario (outline) */
.btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
}

.btn-secondary:focus-visible {
  outline: 2px solid var(--violet-400);
  outline-offset: 3px;
}

/* 7.3 Botón CTA (ámbar, plano) */
.btn-cta {
  background: var(--amber-500);
  color: #1A1206;
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-cta:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.btn-cta:focus-visible {
  outline: 2px solid var(--amber-500);
  outline-offset: 3px;
}

/* 7.4 Label de sección */
.section-label {
  color: var(--violet-500);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 16px;
}

/* 7.5 Card (feature / solución) */
.card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.card .icon-chip {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--violet-900);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 16px;
}

.card .icon-chip svg {
  width: 24px;
  height: 24px;
  color: var(--violet-200);
}

.card .icon-chip::after {
  /* el punto ámbar de marca */
  content: '';
  position: absolute;
  top: -4px;
  right: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber-500);
  box-shadow: 0 0 8px 2px rgba(242,162,42,0.5);
}

.card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  background: rgba(5, 5, 8, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  width: 100px;
  height: auto;
}

@media (min-width: 768px) {
  .nav-logo img {
    width: 120px;
  }
}

.nav-links {
  display: none;
  gap: 8px;
  list-style: none;
  align-items: center;
}

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

.nav-links > li {
  display: flex;
  align-items: center;
}

.nav-links > li > a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}

.nav-links > li > a:hover,
.nav-links > li > a:focus {
  color: var(--text-primary);
  background: var(--surface-1);
}

.nav-links > li > a.active {
  color: var(--violet-400);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--violet-400);
  outline-offset: 2px;
  border-radius: var(--radius-pill);
}

/* Nav Dropdown - Modern Mega Menu */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: all 0.25s ease;
}

.nav-dropdown-trigger:hover {
  border-color: var(--violet-500);
  background: var(--violet-900);
}

.nav-dropdown-trigger svg {
  transition: transform 0.25s ease;
  opacity: 0.6;
}

.nav-dropdown:hover .nav-dropdown-trigger svg,
.nav-dropdown.active .nav-dropdown-trigger svg {
  opacity: 1;
}

.nav-dropdown.active .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 280px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li {
  margin: 0;
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  position: relative;
}

.nav-dropdown-menu a::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet-500);
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s ease;
}

.nav-dropdown-menu a:hover {
  background: var(--surface-2);
  color: var(--text-primary);
  padding-left: 20px;
}

.nav-dropdown-menu a:hover::before {
  opacity: 1;
  transform: scale(1);
}

.nav-dropdown-menu a.active {
  color: var(--violet-400);
}

.nav-dropdown-menu a.active::before {
  opacity: 1;
  transform: scale(1);
  background: var(--violet-400);
}

/* Mobile menu sections */
.nav-mobile-section {
  margin: 8px 0;
}

.nav-mobile-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.nav-mobile-section ul {
  list-style: none;
  padding-left: 16px;
}

.nav-mobile-section ul li {
  margin: 4px 0;
}

.nav-mobile-section ul a {
  font-size: 15px;
  color: var(--text-secondary);
}

.nav-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: var(--text-primary);
  transition: border-color 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--border-strong);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--violet-400);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

/* Nav mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  background: rgba(5, 5, 8, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  z-index: 99;
}

.nav-mobile.active {
  display: block;
}

@media (min-width: 768px) {
  .nav-mobile {
    display: none !important;
  }
}

.nav-mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-mobile-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  display: block;
  padding: 12px 0;
  transition: color 0.2s ease;
}

.nav-mobile-links a:hover,
.nav-mobile-links a:focus {
  color: var(--violet-500);
}

/* Hero con video centrado y gradientes laterales */
.hero {
  position: relative;
  width: 100%;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-base);
}

@media (min-width: 768px) {
  .hero {
    min-height: 70vh;
  }
}

@media (min-width: 1024px) {
  .hero {
    min-height: 80vh;
  }
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: linear-gradient(to right, rgba(5,5,8,0.95) 0%, rgba(5,5,8,0.6) 30%, rgba(5,5,8,0.6) 70%, rgba(5,5,8,0.95) 100%);
}

/* Gradiente de integración superior */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, transparent 0%, rgba(5,5,8,0.6) 50%, var(--bg-base) 100%);
  z-index: 3;
  pointer-events: none;
}

/* Gradiente de integración inferior */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 250px;
  background: linear-gradient(to bottom, transparent 0%, rgba(5,5,8,0.6) 50%, var(--bg-base) 100%);
  z-index: 3;
  pointer-events: none;
}


/* Hero Carousel */
.hero-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding-top: 100px;
}

@media (min-width: 768px) {
  .hero-carousel {
    padding-top: 110px;
  }
}

@media (min-width: 1024px) {
  .hero-carousel {
    padding-top: 120px;
  }
}

.hero-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.hero-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: flex;
  justify-content: center;
}

.hero-content {
  max-width: 700px;
  text-align: center;
}

.hero-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-indicator:hover {
  background: rgba(255, 255, 255, 0.5);
}

.hero-indicator.active {
  background: var(--violet-500);
  transform: scale(1.2);
}

.hero h1 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6), 0 4px 24px rgba(0,0,0,0.4);
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 48px;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 56px;
  }
}

.hero h1 .highlight {
  color: var(--violet-500);
}

.hero p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6), 0 4px 24px rgba(0,0,0,0.4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* Estilos del isotipo eliminados - ahora es video full-width */

/* Franja de confianza */
.trust-section {
  position: relative;
  z-index: 10;
  margin-top: -160px;
  padding: 0 0 40px 0;
  background: transparent;
}

@media (min-width: 768px) {
  .trust-section {
    margin-top: -180px;
  }
}

@media (min-width: 1024px) {
  .trust-section {
    margin-top: -200px;
    padding: 0 0 60px 0;
  }
}

/* Carrusel de confianza */
.trust-carousel {
  overflow: hidden;
  position: relative;
  padding: 0 24px;
}

.trust-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scroll-carousel 25s linear infinite;
}

.trust-track:hover {
  animation-play-state: paused;
}

.trust-card {
  flex: 0 0 280px;
  min-width: 280px;
}

@media (min-width: 768px) {
  .trust-card {
    flex: 0 0 320px;
    min-width: 320px;
  }
}

@media (min-width: 1024px) {
  .trust-carousel {
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
  }

  .trust-track {
    justify-content: center;
    width: auto;
    animation: none;
  }

  .trust-track .trust-card:nth-child(n+4) {
    display: none;
  }

  .trust-card {
    flex: 1;
    min-width: auto;
    max-width: 380px;
  }
}

@keyframes scroll-carousel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 12px));
  }
}

/* 7.6 Checklist item (dentro de solution card) */
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
}

.checklist-item .check-icon {
  color: var(--violet-200);
  flex-shrink: 0;
}

/* 7.7 Link "Ver más" */
.link-more {
  color: var(--amber-text);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.link-more:hover {
  gap: 10px;
}

.link-more:focus-visible {
  outline: 2px solid var(--amber-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 7.8 Stat block */
.stat {
  text-align: left;
}

.stat .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--violet-500);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet-200);
  margin-bottom: 16px;
  position: relative;
}

.stat .stat-icon::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber-500);
  box-shadow: 0 0 8px 2px rgba(242,162,42,0.5);
}

.stat .stat-number {
  font-size: 40px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .stat .stat-number {
    font-size: 48px;
  }
}

.stat .stat-label {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  max-width: 280px;
}

/* 7.9 Banner CTA final */
.cta-banner {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-banner {
    padding: 56px 48px;
    grid-template-columns: 1fr auto;
    gap: 48px;
  }
}

.cta-banner-content h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .cta-banner-content h2 {
    font-size: 36px;
  }
}

.cta-banner-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
}

.cta-banner-action {
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .cta-banner-action {
    justify-content: flex-end;
  }
}

/* 7.10 Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 96px;
}

@media (min-width: 1024px) {
  .footer {
    margin-top: 120px;
  }
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: auto 1fr;
    gap: 48px;
    text-align: left;
  }
}

.footer-logo img {
  max-width: 100px;
  height: auto;
}

@media (min-width: 768px) {
  .footer-logo img {
    max-width: 120px;
  }
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-info {
    flex-direction: row;
    gap: 16px;
    align-items: center;
  }
}

.footer-copyright {
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-links {
    justify-content: flex-start;
  }
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--violet-500);
}

.footer-links a:focus-visible {
  outline: 2px solid var(--violet-400);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Soluciones Section */
.solutions-section {
  padding: 40px 0;
}

@media (min-width: 1024px) {
  .solutions-section {
    padding: 60px 0;
  }
}

.solutions-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .solutions-header {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.solutions-header h2 {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  max-width: 600px;
}

@media (min-width: 768px) {
  .solutions-header h2 {
    font-size: 36px;
  }
}

.solutions-header-right p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .solutions-header-right {
    align-self: start;
  }
}

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

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

.solution-card {
  display: flex;
  flex-direction: column;
}

/* Stats Section */
.stats-section {
  padding: 40px 0;
  background: var(--bg-base);
}

@media (min-width: 1024px) {
  .stats-section {
    padding: 60px 0;
  }
}

.stats-header {
  margin-bottom: 48px;
}

.stats-header h2 {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .stats-header h2 {
    font-size: 40px;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

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

/* Workflow Section - Nuestra forma de trabajar */
.workflow-section {
  padding: 40px 0;
  background: var(--bg-base);
}

@media (min-width: 1024px) {
  .workflow-section {
    padding: 60px 0;
  }
}

/* Subsección 1: Principios */
.workflow-principles {
  margin-bottom: 40px;
}

@media (min-width: 1024px) {
  .workflow-principles {
    margin-bottom: 96px;
  }
}

.workflow-header {
  margin-bottom: 48px;
  max-width: 800px;
}

.workflow-header h2 {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .workflow-header h2 {
    font-size: 36px;
  }
}

.workflow-header h2 .highlight {
  color: var(--violet-500);
}

.workflow-principles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

/* Subsección 2: Flujo de trabajo - Diseño elegante */
.workflow-process {
  text-align: center;
  padding: 60px 0 20px;
  border-top: 1px solid var(--border);
  margin-top: 60px;
}

.process-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 16px;
  max-width: 900px;
  margin: 0 auto;
}

.process-word {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.process-word:hover {
  color: var(--text-primary);
}

.process-word-accent {
  color: var(--violet-400);
  font-weight: 500;
}

.process-word-accent:hover {
  color: var(--violet-300);
}

.process-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--violet-500);
  opacity: 0.5;
}

@media (min-width: 768px) {
  .process-word {
    font-size: 24px;
  }

  .process-flow {
    gap: 12px 20px;
  }

  .process-dot {
    width: 5px;
    height: 5px;
  }
}

@media (min-width: 1024px) {
  .process-word {
    font-size: 28px;
  }

  .process-flow {
    gap: 16px 24px;
  }
}

.process-tagline {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 32px;
  font-style: italic;
}

/* CTA Banner Section */
.cta-banner-section {
  padding: 0 0 40px 0;
}

@media (min-width: 1024px) {
  .cta-banner-section {
    padding: 0 0 60px 0;
  }
}

/* Accesibilidad: motion reducido */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--violet-400);
  outline-offset: 3px;
}

/* Links y buttons reset */
button,
a {
  font-family: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

/* =====================================================
   WhatsApp Floating Button
   ===================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:active {
  transform: scale(0.95);
}

/* Tooltip */
.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: var(--surface-1);
  color: var(--text-primary);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid var(--surface-1);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Animación de pulso */
.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  animation: whatsapp-pulse 2s infinite;
  z-index: -1;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}
