/* ==========================================================================
   PORTAL WEB DE ENFERMERÍA - MARILUZ MERCADO TAPIA
   ESTILOS DEL HERO (PORTADA PRINCIPAL): LAYOUT, TÍTULO, BOTONES, FOTO
   ========================================================================== */

/* Hero Section */
.hero {
  position: relative;
  padding: 6rem 0;
  background-color: #FAF7F2;
  background-image: 
    linear-gradient(
      to right,
      rgba(250, 247, 242, 0.85) 0%,
      rgba(250, 247, 242, 0.70) 50%,
      rgba(250, 247, 242, 0.40) 100%
    ),
    url('https://pub-3f01c9b29e95478ea7fd063f9b33305f.r2.dev/Foto%20del%20inicio%20de%20fondo.jpeg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

/* Columna Izquierda: Contenido Textual */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

/* Badge superior en píldora */
.hero-badge-auth {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 43, 72, 0.12);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(15, 43, 72, 0.04);
}

.hero-badge-auth svg {
  flex-shrink: 0;
  color: var(--primary);
}

/* Título H1 Serif Elegante */
.hero-title {
  font-family: var(--font-headline);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

/* Subtítulo Descriptivo */
.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  color: #4A5568;
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 600px;
}

/* Grid de 4 Beneficios (2x2) */
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.5rem;
  margin-bottom: 2rem;
  width: 100%;
}

.hero-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1F2937;
  line-height: 1.4;
}

.hero-highlight-item svg {
  flex-shrink: 0;
  color: #2C5E4E;
}

/* Fila de Botones de Acción */
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* Botón Primario: Terracota WhatsApp en píldora */
.btn-hero-whatsapp {
  background-color: var(--secondary);
  color: #FFFFFF;
  border-radius: 9999px;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(212, 140, 112, 0.3);
}

.btn-hero-whatsapp:hover {
  background-color: #BF775B;
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(212, 140, 112, 0.45);
  transform: translateY(-1px);
}

.btn-hero-whatsapp svg {
  flex-shrink: 0;
}

/* Botón Secundario: Contorno Marino en píldora */
.btn-hero-services {
  background-color: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: 9999px;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-hero-services:hover {
  background-color: rgba(15, 43, 72, 0.06);
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.btn-hero-services svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn-hero-services:hover svg {
  transform: translateX(3px);
}

/* Línea de Respuesta Inmediata */
.hero-contact-quick {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: #374151;
}

.hero-contact-quick strong {
  color: var(--primary);
  font-weight: 600;
}

/* Punto Verde Pulsante */
.status-dot {
  width: 9px;
  height: 9px;
  background-color: #4CAF50;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
  animation: heroPulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes heroPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(76, 175, 80, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
  }
}

/* Foto Móvil Hero (oculta por defecto en escritorio) */
.hero-mobile-photo-container {
  display: none;
}

/* Columna Derecha: Tarjeta Fotográfica Profesional */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.hero-card {
  background-color: #FFFFFF;
  border-radius: 24px;
  padding: 14px 14px 18px;
  box-shadow: 0 20px 48px -12px rgba(15, 43, 72, 0.14), 0 4px 16px rgba(15, 43, 72, 0.06);
  width: 100%;
  max-width: 410px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-photo-wrapper {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  background-color: #EDF4F0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-card-caption {
  text-align: center;
  padding: 1rem 0.5rem 0.25rem;
}

.hero-card-title {
  font-family: var(--font-headline);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 0.25rem 0;
  letter-spacing: -0.01em;
}

.hero-card-subtitle {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: #6B7280;
  margin: 0;
  font-weight: 400;
}
