* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #64748b;
  --accent: #0ea5e9;
  --background: #ffffff;
  --foreground: #0f172a;
  --muted: #f8fafc;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
  --card: #ffffff;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

/* Reemplazamos el icono por un logo */
.brand-logo {
  height: 28px;
  width: auto;
  display: block;
}

.brand-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}

/* Apariencia del navbar más profesional */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,0.7);
}

.nav-content {
  height: 4.25rem;
}

.nav-link {
  color: #0f172a;
  opacity: 0.75;
}

.nav-link:hover {
  opacity: 1;
}

/* Botón principal con micro-sombra */
.btn-primary {
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}
.btn-primary:hover {
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.32);
}

/* Menú móvil desplegable */
@media (max-width: 768px) {
  .nav-menu.active {
    display: flex;
    position: absolute;
    top: 4.25rem;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    gap: 1rem;
    background: rgba(255,255,255,0.98);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(2,6,23,0.1);
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--muted-foreground);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--foreground);
  margin: 3px 0;
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn-large {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

.icon {
  width: 1rem;
  height: 1rem;
  stroke-width: 2;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 5rem 0 8rem;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, transparent 50%, rgba(14, 165, 233, 0.05) 100%);
}

.hero-shapes {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.shape {
  position: absolute;
  border: 1px solid var(--primary);
  border-radius: 0.5rem;
}

.shape-1 {
  top: 5rem;
  left: 2.5rem;
  width: 8rem;
  height: 8rem;
  transform: rotate(12deg);
}

.shape-2 {
  top: 10rem;
  right: 5rem;
  width: 6rem;
  height: 6rem;
  transform: rotate(-12deg);
}

.shape-3 {
  bottom: 5rem;
  left: 25%;
  width: 4rem;
  height: 4rem;
  transform: rotate(45deg);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  text-align: center;
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--muted);
  color: var(--foreground);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.text-accent {
  color: var(--primary);
}

.hero-description {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 2rem;
  max-width: 40rem;
  text-wrap: pretty;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-image {
  position: relative;
}

.hero-visual {
  position: relative;
  width: 100%;
  height: 24rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
  border-radius: 1rem;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.floating-card-1 {
  top: 1rem;
  right: 1rem;
}

.floating-card-2 {
  bottom: 1rem;
  left: 1rem;
}

.floating-card .icon {
  color: var(--primary);
}

/* Hero Glassmorphism Enhancements */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,6,23,0.55) 0%, rgba(2,6,23,0.25) 40%, rgba(2,6,23,0.55) 100%);
  z-index: 1;
}
.hero-bg { position: absolute; inset: 0; }
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
}
.hero-content { z-index: 2; }
.hero-text {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: rgba(15,23,42,0.24);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
}
.hero .badge { background: rgba(255,255,255,0.85); color: #0f172a; }
.hero .btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; }

/* Navbar link underline interaction */
.nav-link { position: relative; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }

@media (max-width: 768px) {
  .hero-text { padding: 1rem; }
}

/* Trust Section */
.trust-section {
  padding: 3rem 0;
  background: var(--muted);
}

.trust-text {
  text-align: center;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.trust-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.trust-logo {
  height: 4rem;
  background: linear-gradient(135deg, var(--muted) 0%, rgba(248, 250, 252, 0.5) 100%);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  transition: all 0.3s ease;
  cursor: pointer;
}

.trust-logo:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
  color: var(--primary);
}

/* Services Section */
.services-section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.section-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 32rem;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: linear-gradient(135deg, var(--card) 0%, rgba(255, 255, 255, 0.5) 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-image {
  width: 100%;
  height: 8rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.service-card:hover .service-title {
  color: var(--primary);
}

.service-description {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-features li {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

/* Video Section */
.video-section {
  padding: 5rem 0;
  background: rgba(248, 250, 252, 0.3);
}

.video-container {
  max-width: 64rem;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(14, 165, 233, 0.2) 100%);
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.video-wrapper:hover {
  transform: scale(1.02);
}

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

.video-wrapper:hover img {
  transform: scale(1.05);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
}

.video-wrapper:hover .video-overlay {
  background: rgba(0, 0, 0, 0.1);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5rem;
  height: 5rem;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.video-wrapper:hover .play-button {
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button svg {
  width: 2rem;
  height: 2rem;
  color: white;
  margin-left: 0.25rem;
}

.video-info {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  color: white;
}

.video-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.video-info p {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Cases Section */
.cases-section {
  padding: 5rem 0;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 2rem;
}

.case-card {
  background: linear-gradient(135deg, var(--card) 0%, rgba(255, 255, 255, 0.5) 100%);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.case-image {
  height: 12rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.case-card:hover .case-image img {
  transform: scale(1.05);
}

.case-content {
  padding: 1.5rem;
}

.case-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.case-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.case-header .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.case-content p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.case-metrics {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: rgba(248, 250, 252, 0.5);
  border-radius: 0.5rem;
}

.metric-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.metric-value {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
}

/* Stats Section */
.stats-section {
  padding: 5rem 0;
  background: var(--primary);
  color: white;
}

.stats-section .section-title,
.stats-section .section-description {
  color: white;
}

.stats-section .section-description {
  opacity: 0.9;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.stat-icon svg {
  width: 2rem;
  height: 2rem;
  color: white;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
}

.stat-label {
  font-size: 1.125rem;
  opacity: 0.9;
}

/* Calculator Section */
.calculator-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.3) 0%, rgba(248, 250, 252, 0.1) 100%);
}

.calculator-container {
  max-width: 64rem;
  margin: 0 auto;
}

.calculator-card {
  background: linear-gradient(135deg, var(--card) 0%, rgba(255, 255, 255, 0.5) 100%);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
}

.calculator-header {
  text-align: center;
  margin-bottom: 2rem;
}

.calculator-icon {
  width: 3rem;
  height: 3rem;
  color: var(--primary);
  margin: 0 auto 1rem;
}

.calculator-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.calculator-header p {
  color: var(--muted-foreground);
}

.calculator-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.calculator-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: var(--foreground);
}

.form-group input,
.form-group select {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--background);
  color: var(--foreground);
  font-size: 1.125rem;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.calculator-results {
  background: rgba(248, 250, 252, 0.5);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.calculator-results h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.result-item span:first-child {
  color: var(--muted-foreground);
}

.result-value {
  font-weight: 700;
  color: var(--primary);
}

.result-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 1.125rem;
}

.result-total span:first-child {
  font-weight: 600;
}

.roi-value {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
}

/* Process Section */
.process-section {
  padding: 5rem 0;
}

.process-timeline {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: 2px;
  background: rgba(37, 99, 235, 0.2);
}

.process-step {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
}

.step-content {
  flex: 1;
  padding: 0 2rem;
}

.step-left {
  text-align: right;
  padding-right: 2rem;
  padding-left: 0;
}

.step-right {
  text-align: left;
  padding-left: 2rem;
  padding-right: 0;
}

.step-card {
  background: linear-gradient(135deg, var(--card) 0%, rgba(255, 255, 255, 0.5) 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
}

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

.step-left .step-header {
  justify-content: flex-end;
}

.step-header .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.step-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.step-card p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.step-card ul {
  list-style: none;
  margin-bottom: 1rem;
}

.step-card li {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.step-duration {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--primary);
  color: white;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.step-number {
  position: relative;
  z-index: 10;
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 4px solid var(--background);
}

/* Resources Section */
.resources-section {
  padding: 5rem 0;
  background: rgba(248, 250, 252, 0.3);
}

.tabs-container {
  max-width: 64rem;
  margin: 0 auto;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  background: var(--background);
  border-radius: 0.5rem;
  padding: 0.25rem;
  border: 1px solid var(--border);
}

.tab-button {
  flex: 1;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: none;
  border-radius: 0.375rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--muted-foreground);
}

.tab-button.active,
.tab-button:hover {
  background: var(--primary);
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.resource-card {
  background: linear-gradient(135deg, var(--card) 0%, rgba(255, 255, 255, 0.5) 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.resource-image {
  width: 100%;
  height: 8rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.resource-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.resource-card p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.resource-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.whitepaper-card {
  background: linear-gradient(135deg, var(--card) 0%, rgba(255, 255, 255, 0.5) 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.whitepaper-icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.whitepaper-content {
  flex: 1;
}

.whitepaper-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.whitepaper-content p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.webinar-card {
  background: linear-gradient(135deg, var(--card) 0%, rgba(255, 255, 255, 0.5) 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  text-align: center;
}

.webinar-thumbnail {
  width: 100%;
  height: 8rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.webinar-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.webinar-card p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.webinar-duration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.webinar-duration .icon {
  width: 1rem;
  height: 1rem;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form-card {
  background: linear-gradient(135deg, var(--card) 0%, rgba(255, 255, 255, 0.5) 100%);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
}

.contact-form-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-form-card p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--background);
  color: var(--foreground);
}

.contact-form textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-chat {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.chat-icon {
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.chat-content {
  flex: 1;
}

.chat-content h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.chat-content p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.method-icon {
  width: 3rem;
  height: 3rem;
  background: var(--muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.contact-method h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-method p {
  color: var(--muted-foreground);
}

.consultation-card {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(14, 165, 233, 0.05) 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
}

.consultation-card h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.consultation-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background: rgba(248, 250, 252, 0.5);
  padding: 3rem 0;
}

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

.footer-brand h3 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-links h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.footer-links li:hover {
  color: var(--foreground);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .calculator-content {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

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

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-logos {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline {
    padding: 0 1rem;
  }

  .step-content {
    padding: 0 1rem;
  }

  .step-left,
  .step-right {
    text-align: left;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .step-header {
    justify-content: flex-start !important;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .trust-logos {
    grid-template-columns: 1fr;
  }

  .tabs-nav {
    flex-direction: column;
  }

  .resources-grid {
    grid-template-columns: 1fr;
  }
}

/*chatbot*/
:root{
  --mc-primary:#2962ff;      /* Azul corporativo */
  --mc-bg:#ffffff;
  --mc-muted:#6b7280;
  --mc-border:#e5e7eb;
  --mc-bot:#f3f4f6;
  --mc-user:#e1ebff;
  --mc-shadow:0 12px 30px rgba(0,0,0,.12);
  --mc-radius:14px;
  --mc-z:9999;
}

/* Botón flotante */
.mc-chat-toggle{
  position:fixed; right:20px; bottom:20px; z-index:var(--mc-z);
  width:56px; height:56px; border-radius:50%;
  border:none; background:var(--mc-primary); color:#fff;
  box-shadow:var(--mc-shadow); font-size:22px; cursor:pointer;
}

/* Ventana */
.mc-chatbot{
  position:fixed; right:20px; bottom:90px; z-index:var(--mc-z);
  width:360px; max-height:70vh; background:var(--mc-bg);
  border:1px solid var(--mc-border); border-radius:var(--mc-radius);
  box-shadow:var(--mc-shadow); display:flex; flex-direction:column;
  overflow:hidden;
}
@media (max-width:480px){ .mc-chatbot{ right:10px; left:10px; width:auto; } }

.mc-chat-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 14px; border-bottom:1px solid var(--mc-border);
  background:#fff;
}
.mc-chat-title{ display:flex; gap:10px; align-items:center; }
.mc-chat-logo{ display:inline-grid; place-items:center; width:26px; height:26px; border-radius:6px; background:#e8f0ff; }
.mc-icon-btn{ border:none; background:transparent; font-size:18px; cursor:pointer; }

.mc-chat-messages{
  padding:14px; gap:8px; display:flex; flex-direction:column;
  overflow:auto; background:#fff; flex:1;
}

.mc-msg{
  max-width:78%; padding:10px 12px; border-radius:12px; line-height:1.35; font-size:14px;
  box-shadow:0 1px 0 rgba(0,0,0,.04);
}
.mc-msg.bot{ background:var(--mc-bot); border-top-left-radius:4px; }
.mc-msg.user{ background:var(--mc-user); margin-left:auto; border-top-right-radius:4px; }

.mc-typing{ font-size:12px; color:var(--mc-muted); padding-left:4px; }

.mc-quick-replies{
  display:flex; gap:8px; padding:8px 12px; border-top:1px solid var(--mc-border); flex-wrap:wrap;
}
.mc-quick-replies button{
  border:1px solid var(--mc-border); background:#fff; padding:6px 10px; border-radius:999px; cursor:pointer; font-size:12px;
}
.mc-quick-replies button:hover{ border-color:var(--mc-primary); color:var(--mc-primary); }

.mc-chat-form{
  display:flex; gap:8px; padding:10px; border-top:1px solid var(--mc-border); background:#fff;
}
.mc-chat-form input{
  flex:1; padding:10px 12px; border:1px solid var(--mc-border); border-radius:10px; font-size:14px;
}
.mc-send{
  padding:10px 14px; border:none; background:var(--mc-primary); color:#fff; border-radius:10px; cursor:pointer;
}


/*Banner Principal*/

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,.65), rgba(15,23,42,.45));
  z-index: 1;
}

.container,
.hero-content,
.hero-text,
.floating-card {
  position: relative;
  z-index: 2; /* Todo el contenido por encima del video */
}

