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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Layout Principal */
.main-layout {
  min-height: 100vh;
}

.content-with-sidebar {
  padding: 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.main-content {
  min-width: 0;
}

/* Sidebar - Modo de Uso */
.sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.usage-guide {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 2px solid #e5e7eb;
  overflow: hidden;
}

.usage-header {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  padding: 24px;
  text-align: center;
}

.usage-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.usage-icon {
  font-size: 1.8rem;
}

/*css del observaciones */
.obs-input-wrapper{
  display:flex;
  gap:.5rem;
  margin-bottom:.5rem;
}

/* campo de texto */
.obs-input-wrapper input{
  flex:1;
  padding:.5rem .8rem;
  border:1px solid #cbd5e1;
  border-radius:14px;
  outline:none;
}

/* ───── Botón “+” ───── */
.obs-input-wrapper button{
  padding:.45rem 1rem;
  border:none;
  border-radius:10px;                    
  background:linear-gradient(135deg,#3b82f6 0%,#2563eb 100%);
  color:#fff;
  font-size:0.9rem;
  font-weight:600;
  cursor:pointer;
  transition:transform .2s,box-shadow .2s;
}

.obs-input-wrapper button:hover{
  transform:translateY(-2px);
  box-shadow:0 4px 10px rgba(37,99,235,.25);
}

.obs-input-wrapper button:active{
  transform:translateY(0);
  box-shadow:0 2px 6px rgba(37,99,235,.2);
}

/* Chips */
.obs-chips{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
}

.chip{
  background:#2563eb;
  color:#fff;
  padding:.3rem .8rem;
  border-radius:14px;                   
  display:flex;
  align-items:center;
  gap:.4rem;
  font-size:.875rem;
}

.chip .remove{
  cursor:pointer;
  font-weight:bold;
  line-height:1;
}

.usage-subtitle {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Video Container */
.video-container {
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.video-placeholder {
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  border-radius: 12px;
  padding: 32px 20px;
  text-align: center;
  border: 2px dashed #9ca3af;
}

.video-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.video-placeholder h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.video-placeholder p {
  color: #6b7280;
  margin-bottom: 16px;
}

.play-btn {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-btn:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.video-frame {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
}

/* Pasos de Uso */
.usage-steps {
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.steps-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 20px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.step-item:hover {
  background: #eff6ff;
  transform: translateX(4px);
}

.step-number {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  min-width: 32px;
}

.step-content h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.4;
}

/* Contacto de Emergencia */
.emergency-contact {
  padding: 24px;
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  text-align: center;
}

.emergency-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #663131;
  margin-bottom: 8px;
}

.emergency-text {
  font-size: 0.9rem;
  color: #ffffff;
  margin-bottom: 16px;
}

.emergency-btn {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: rgb(122, 76, 76);
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 12px;
}

.emergency-btn:hover {
  background: linear-gradient(135deg, #b91c1c, #991b1b);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.emergency-number {
  font-size: 0.85rem;
  color: #7f1d1d;
  font-weight: 500;
}

.notification-bell {
  font-size: 1.5rem;
  animation: ring 2s infinite;
}

.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

@keyframes ring {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(-10deg);
  }
  30% {
    transform: rotate(10deg);
  }
  60% {
    transform: rotate(-5deg);
  }
  70% {
    transform: rotate(5deg);
  }
}

.notification-bubble-container {
  position: fixed;
  top: 180px;
  right: 24px;
  width: 380px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notification-bubble {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #e2e8f0;
  padding: 16px;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  overflow: hidden;
}

.notification-bubble.show {
  transform: translateX(0);
  opacity: 1;
}

.notification-bubble.priority {
  border-left: 4px solid #f56565;
  background: linear-gradient(135deg, #fff5f5, #ffffff);
}

.notification-bubble.priority::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f56565, #fc8181);
}

.notification-bubble-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.notification-type {
  display: flex;
  align-items: center;
  gap: 6px;
}

.type-icon {
  font-size: 1rem;
}

.type-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #4a5568;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.notification-time {
  font-size: 0.7rem;
  color: #718096;
}

.notification-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 6px;
  line-height: 1.3;
}

.notification-message {
  color: #4a5568;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 12px;
}

.appointment-details-compact {
  background: #f7fafc;
  border-radius: 8px;
  padding: 12px;
  margin: 8px 0;
  border: 1px solid #e2e8f0;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 0.8rem;
}

.detail-row:last-child {
  margin-bottom: 0;
}

.detail-label {
  color: #718096;
  font-weight: 500;
}

.detail-value {
  color: #2d3748;
  font-weight: 600;
  text-align: right;
  max-width: 60%;
}

.notification-actions-compact {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.action-btn-compact {
  flex: 1;
  padding: 8px 12px;
  border-radius: 6px;
  border: none;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.action-btn-compact.primary {
  background: #48bb78;
  color: white;
}

.action-btn-compact.primary:hover {
  background: #38a169;
  transform: translateY(-1px);
}

.action-btn-compact.secondary {
  background: #4299e1;
  color: white;
}

.action-btn-compact.secondary:hover {
  background: #3182ce;
  transform: translateY(-1px);
}

.action-btn-compact.tertiary {
  background: #e2e8f0;
  color: #4a5568;
}

.action-btn-compact.tertiary:hover {
  background: #cbd5e0;
}

.close-bubble {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #a0aec0;
  cursor: pointer;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-bubble:hover {
  background: #e2e8f0;
  color: #4a5568;
}

.notification-bubble.closing {
  animation: slideOutRight 0.3s ease-out forwards;
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

.notification-bubble.confirmed {
  background: linear-gradient(135deg, #f0fff4, #ffffff);
  border-left-color: #48bb78;
}

.notification-bubble.confirmed::before {
  background: linear-gradient(90deg, #48bb78, #68d391);
}

.confirmation-message-compact {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f0fff4;
  border: 1px solid #9ae6b4;
  border-radius: 6px;
  color: #276749;
  font-weight: 500;
  font-size: 0.8rem;
}

.confirmation-icon {
  font-size: 1rem;
}

/* Notification Trigger Button - Enhanced Version */
.notification-trigger-enhanced {
  position: fixed;
  top: 110px;
  right: 24px;
  background: linear-gradient(135deg, #f56565, #e53e3e);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(229, 62, 62, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  gap: 10px;
}

.notification-trigger-enhanced:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(229, 62, 62, 0.5);
  background: linear-gradient(135deg, #e53e3e, #c53030);
}

.notification-trigger-enhanced:focus {
  outline: 3px solid rgba(229, 62, 62, 0.5);
  outline-offset: 2px;
}

.notification-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-bell-enhanced {
  font-size: 1.5rem;
  animation: ring 2s infinite;
}

.notification-badge-enhanced {
  position: absolute;
  top: -8px;
  right: -8px;
  background: white;
  color: #da0b0b;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 0.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e53e3e;
}

.notification-label {
  white-space: nowrap;
}

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

/* Responsive design for notification bubbles */
@media (max-width: 768px) {
  .notification-bell {
    font-size: 1.3rem;
  }

  .notification-badge {
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
  }

  .notification-bubble {
    padding: 12px;
  }

  .notification-title {
    font-size: 0.9rem;
  }

  .notification-message {
    font-size: 0.8rem;
  }

  .detail-row {
    font-size: 0.75rem;
  }

  .action-btn-compact {
    padding: 6px 8px;
    font-size: 0.75rem;
  }

  .notification-trigger-enhanced {
    top: 110px;
    right: 16px;
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .notification-bell-enhanced {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {

  .notification-trigger {
    right: 8px;
  }

  .notification-actions-compact {
    flex-direction: column;
    gap: 6px;
  }

  .action-btn-compact {
    width: 100%;
  }

  .notification-trigger-enhanced {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .notification-bell-enhanced {
    font-size: 1.2rem;
  }

  .notification-badge-enhanced {
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
  }
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s ease;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 200px;
  height: 50px;
  object-fit: contain;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 4px;
  transition: all 0.3s ease;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background-color: #374151;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation Links */


.nav-links a {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: #2563eb;
}

/* Active page indicator */
.nav-links a.active {
  color: #2563eb;
  font-weight: 600;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: #2563eb;
  border-radius: 1px;
}
/* Botones base */
.btn {
  padding: 8px 24px;
  border-radius: 9999px;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: #3b82f6;
  color: white;
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-outline {
  border: 2px solid #2563eb;
  color: #2563eb;
  background: transparent;
}

.btn-outline:hover {
  background: #eff6ff;
}

.btn-lg {
  padding: 12px 32px;
  font-size: 16px;
}

.btn-white {
  background: white;
  color: #2563eb;
}

.btn-white:hover {
  background: #f3f4f6;
}

/* Header */
.header {
  background: linear-gradient(to bottom, #f0f8ff, #e6f3ff, #cce7ff, #99d6ff, #66c2ff, #3399ff, #0080ff);
  padding: 64px 0;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.header-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.header-text {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.header-title {
  font-size: 3rem;
  font-weight: bold;
  color: #111827;
  line-height: 1.2;
}

.header-title .highlight {
  color: #1e40af;
}

.header-description {
  font-size: 1.25rem;
  color: #374151;
  line-height: 1.6;
  text-align: justify;
}


.header-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Estadísticas */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 32px;
}

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

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: #1e40af;
}

.stat-label {
  font-size: 0.875rem;
  color: #374151;
}

/* Imagen del header */
.header-image {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.header-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  object-fit: cover;
}

.header-image::after {
  content: "";
  position: absolute;
  top: 16px;
  right: -16px;
  width: 100%;
  height: 100%;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  z-index: -1;
}

/* Secciones generales */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
}

.section-description {
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* About InclúYes Section */
.about-incluyes {
  padding: 64px 0;
  background: #f9fafb;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.features-list {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.feature-icon-text {
  font-size: 2rem;
  min-width: 60px;
  text-align: center;
}

/* Modes Section */
.modes {
  padding: 64px 0;
}

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

.mode-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.mode-image {
  width: 100%;
  height: 200px;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.mode-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.mode-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
}

.mode-description {
  color: #6b7280;
  margin-bottom: 20px;
  font-size: 1rem;
}

.mode-content {
  margin-bottom: 24px;
}

.mode-summary {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.6;
}

.mode-details {
  margin-top: 16px;
  text-align: left;
  transition: all 0.3s ease;
}

.mode-features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mode-features li {
  padding: 8px 0;
  color: #4b5563;
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
}

.mode-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

/* Botón Leer más */
.read-more-btn {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  position: relative;
  overflow: hidden;
}

.read-more-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.read-more-btn:hover::before {
  left: 100%;
}

.read-more-btn:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.read-more-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-text {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.btn-icon {
  transition: transform 0.3s ease;
  font-size: 12px;
  font-weight: bold;
}

.read-more-btn.expanded {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.read-more-btn.expanded:hover {
  background: linear-gradient(135deg, #b91c1c, #991b1b);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.read-more-btn.expanded .btn-icon {
  transform: rotate(180deg);
}

/* Animaciones para detalles */
.mode-details.show {
  display: block !important;
  animation: slideDown 0.4s ease-out;
}

.mode-details.hide {
  animation: slideUp 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    max-height: 300px;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 1;
    max-height: 300px;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    max-height: 0;
    transform: translateY(-10px);
  }
}

/* Technologies Section */
.technologies {
  padding: 64px 0;
  background: #f9fafb;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
}

.tech-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

.tech-icon {
  font-size: 3rem;
  margin-bottom: 24px;
}

.tech-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 20px;
}

.tech-features {
  list-style: none;
}

.tech-features li {
  padding: 8px 0;
  color: #4b5563;
  position: relative;
  padding-left: 24px;
}

.tech-features li::before {
  content: "🔹";
  position: absolute;
  left: 0;
}

/* Salud Casa por Casa Section */
.salud-casa-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5, #d1fae5);
  position: relative;
  overflow: hidden;
}

.salud-casa-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23059669" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  z-index: 0;
}

.salud-casa-content {
  position: relative;
  z-index: 1;
}

.salud-casa-header {
  text-align: center;
  margin-bottom: 60px;
}

.government-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px rgba(5, 150, 105, 0.3);
}

.badge-icon {
  font-size: 1.2rem;
}

.salud-casa-title {
  font-size: 3rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 20px;
  line-height: 1.2;
}

.highlight-green {
  color: #059669;
  position: relative;
}

.highlight-green::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10b981, #34d399);
  border-radius: 2px;
}

.salud-casa-subtitle {
  font-size: 1.25rem;
  color: #4b5563;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.salud-casa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  align-items: start;
}

.info-card {
  background: white;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 32px;
  border: 2px solid #d1fae5;
}

.info-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.info-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 16px;
}

.info-description {
  color: #4b5563;
  line-height: 1.6;
}

.integration-benefits {
  background: white;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 2px solid #d1fae5;
}

.benefits-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 24px;
  text-align: center;
}

.benefits-list {
  display: grid;
  gap: 20px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: #f0fdf4;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateX(5px);
}

.benefit-icon {
  font-size: 2rem;
  min-width: 50px;
  text-align: center;
}

.benefit-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.benefit-content p {
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Process Flow */
.process-flow {
  background: white;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 2px solid #d1fae5;
}

.flow-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 32px;
  text-align: center;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f0fdf4;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.flow-step:hover {
  background: #dcfce7;
  transform: translateX(5px);
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  min-width: 40px;
}

.step-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.step-content p {
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.5;
}

.flow-arrow {
  text-align: center;
  font-size: 1.5rem;
  color: #10b981;
  margin: 8px 0;
}

/* CTA Section */
.salud-casa-cta {
  background: linear-gradient(135deg, #059669, #10b981);
  padding: 48px;
  border-radius: 24px;
  text-align: center;
  color: white;
  box-shadow: 0 20px 40px rgba(5, 150, 105, 0.3);
}

.salud-casa-cta .cta-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 16px;
}

.salud-casa-cta .cta-description {
  font-size: 1.1rem;
  margin-bottom: 32px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Why Choose Section */
.why-choose {
  padding: 64px 0;
}

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

.benefit-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #c6c7ca;
  margin-bottom: 12px;
}

.benefit-description {
  color: #6b7280;
}

/* CTA Section */
.cta {
  background: #2563eb;
  padding: 64px 0;
  text-align: center;
}

.cta-title {
  font-size: 2rem;
  font-weight: bold;
  color: white;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.25rem;
  color: #bfdbfe;
  margin-bottom: 32px;
}

/* Footer */
.footer {
  background: #111827;
  color: white;
  padding: 48px 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 200px;
  height: 50px;
}

.footer-description {
  color: #9ca3af;
}

.footer-title {
  color:white;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 16px;
}

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

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-contact {
  color: #9ca3af;
}

.footer-contact p {
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid #374151;
  margin-top: 32px;
  padding-top: 32px;
  text-align: center;
  color: #9ca3af;
}