/* ============================================================
   SUR MEDICINA LABORAL – STYLE.CSS (Desarrollo UX/UI Premium)
   ============================================================ */

   /*Estructura modular:
   1. Variables globales y Reset
   2. Layout base y tipografía
   3. Header y navegación
   4. Carousel / Hero
   5. Secciones principales
   6. Formularios y botones
   7. Footer y redes
   8. Botones flotantes
   9. Animaciones generales
   10. Responsive global y móviles
*/

/* =====================================
   Sur Medicina Laboral - Estilos Globales
   ===================================== */

/* ---- Variables de color ---- */
:root {
  --azul: #004a7c;
  --celeste: #009fe3;
  --blanco: #ffffff;
  --gris: #f5f6f8;
  --negro: #1d1d1d;
}

html {
  scroll-behavior: smooth;
}
/* Navbar profesional al hacer scroll */
/* header {
  transition: all 0.3s ease;
} */

/* header.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  padding: 8px 25px;
} */
/* ---- Base ---- */
body {
  font-family: "Nunito Sans", "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background: var(--gris);
  color: var(--negro);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  color: var(--azul);
  margin-top: 0;
}

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

/* ---- Header ---- */
/* header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--blanco);
  padding: 10px 25px;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
} */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
/* Margen para que el contenido no quede detrás del header */
main {
  margin-top: 90px; /* ajustá según la altura real del header */
}
/* Efecto cuando se hace scroll (ya lo manejás desde header.js) */
header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

header .logo img {
  width: 60px;
  height: auto;
  border-radius: 8px;
}

header .logo span {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--azul);
}

/* ---- Menú de navegación ---- */
nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav ul li a {
  font-weight: 500;
  color: var(--azul);
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--celeste);
}

/* ---- Botón menú hamburguesa ---- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background: var(--azul);
  border-radius: 2px;
  transition: 0.3s;
}

/* ---- Carrusel (UX Premium - Fade + Mensajes Animados) ---- */
.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 500px;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.carousel-item.active {
  opacity: 1;
  z-index: 1;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 14px;
}
/* ---- Overlay degradado para mejorar contraste ---- */
/* ---- Overlay degradado médico profesional ---- */
.carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 60, 100, 0.55) 5%,
    rgba(0, 60, 100, 0.3) 30%,
    transparent 75%
  );
  z-index: 0;
  pointer-events: none;
}

/* ---- Mensajes del carrusel ---- */
.carousel-item .message {
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: rgba(0, 0, 0, 0.55);
  color: var(--blanco);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 14px 22px;
  border-radius: 10px;
  width: 85%;
  max-width: 650px;
  text-align: center;
  opacity: 0;
  backdrop-filter: blur(6px);
  transition: all 0.8s ease;
}

.carousel-item.active .message {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---- Botones del carrusel ---- */
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.75);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 50%;
  transition: background 0.3s ease;
  z-index: 2;
}

.carousel-button:hover {
  background: rgba(255, 255, 255, 0.92);
}

.carousel-button.prev {
  left: 15px;
}

.carousel-button.next {
  right: 15px;
}

/* ---- Main ---- */
.main-content,
.page {
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.intro {
  text-align: center;
  margin-bottom: 40px;
}

.highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.highlight {
  background: var(--blanco);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 25px;
  flex: 1 1 280px;
  text-align: center;
}

/* ---- Servicios ---- */
.services-list {
  list-style: none;
  padding: 0;
}

.services-list li {
  background: var(--blanco);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-left: 4px solid var(--celeste);
  border-radius: 6px;
}

/* ---- Formulario de contacto ---- */
.contact-form {
  background: var(--blanco);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  max-width: 600px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  background: var(--azul);
  color: var(--blanco);
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: var(--celeste);
}

/* ---- Alertas ---- */
.alert {
  margin: 15px 0;
  padding: 15px;
  border-radius: 8px;
  font-weight: 500;
}
.alert.success {
  background: #e6f9ee;
  color: #0f6b2c;
  border: 1px solid #c7efd8;
}
.alert.error {
  background: #fdeaea;
  color: #b60000;
  border: 1px solid #f1c0c0;
}

/* ---- Footer ---- premium*/
footer {
  background: var(--azul);
  color: var(--blanco);
  padding: 50px 20px 20px;
  position: relative;
  border-top: 3px solid var(--celeste); 
  font-family: "Inter", sans-serif;
}
.footer-top-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--celeste);
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 25px;
}
.footer-section {
  flex: 1 1 250px;
}
.footer-logo img {
  width: 90px;
  height: auto;
  margin-bottom: 10px;
  border-radius: 8px;
}
.footer-logo p {
  font-size: 0.95rem;
  color: #e0e0e0;
  line-height: 1.5;
  margin-top: 5px;
}
.footer-section h4 {
  font-size: 1.1rem;
  color: var(--celeste);
  margin-bottom: 15px;
}
.footer-section p,
.footer-section a {
  font-size: 0.95rem;
  color: #f0f0f0;
  text-decoration: none;
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links ul li a {
  transition: color 0.3s ease;
}
.footer-links ul li a:hover {
  color: var(--celeste);
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
}

footer p {
  margin: 6px 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.footer-contact {
  font-size: 1rem;
  color: var(--celeste);
  font-weight: 500;
}
/* ---- Línea inferior ---- */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 15px;
  font-size: 0.9rem;
  color: #cfcfcf;
}
/* ==== Botones flotantes (WhatsApp + Email) ==== */
/* ==== BOTONES FLOTANTES (WhatsApp + Email) ==== */
.support-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 2000; /* más alto que el footer y cualquier overlay */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 10px 12px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  animation: fadeInFloat 1.2s ease forwards;
}

/* Animación suave al cargar */
@keyframes fadeInFloat {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Texto superior UX */
.support-float .help-text {
  color: var(--azul); /* azul institucional, excelente contraste sobre fondo claro */
  font-size: 0.95rem;
  font-weight: 700; /* más cuerpo tipográfico */
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6), 0 0 6px rgba(0, 74, 124, 0.3);
  margin-bottom: 6px;
  font-family: "Poppins", "Inter", sans-serif;
  letter-spacing: 0.3px;
}


/* Botones */
.support-float a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  color: #fff;
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.support-float a.whatsapp-btn {
  background-color: #25d366;
  animation: pulse 3s infinite;
}

.support-float a.email-btn {
  background-color: #007bff;
}

.support-float a:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

/* Animación de pulso */
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
  70% { transform: scale(1.07); box-shadow: 0 0 0 10px rgba(37,211,102,0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Vista móvil */
@media (max-width: 768px) {
  /* .support-float {
    right: 15px;
    bottom: 80px;
    gap: 10px;
    padding: 8px 10px;
  }
  .support-float .help-text {
    font-size: 0.8rem;
  }
  .support-float a {
    width: 50px;
    height: 50px;
    font-size: 22px;
  } */
   .support-float {
    right: 15px;               /* más cerca del borde derecho */
    bottom: 20px;
    padding: 8px 10px;
    gap: 10px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  /* Ocultar texto "¿Necesitás ayuda?" */
  .support-float .help-text {
    display: none;
  }

  /* Reducir tamaño de los íconos */
  .support-float a {
    width: 42px;
    height: 42px;
  }

  .support-float i {
    font-size: 1.25rem;
    line-height: 42px;
  }
  /* Botón "Llámanos ahora" */
  .btn-llamar,
  .btn-primary {
    font-size: 0.95rem;
    padding: 14px 26px;
    border-radius: 10px;
    min-width: 180px;
    text-align: center;
  }
}


/* En pantallas móviles: un poco más arriba */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-section {
    flex: 1 1 100%;
  }
  .footer-section h4 {
    margin-top: 15px;
  }
  .whatsapp-float {
    bottom: 85px;
    right: 20px;
  }
  .whatsapp-float a {
    width: 52px;
    height: 52px;
    font-size: 24px;
  }
  .float-btn::after {
    display: none; /* sin tooltip en móvil */
  }
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: var(--blanco);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: right 0.4s ease;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.15);
  }

  nav ul.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .carousel-container {
    height: 360px;
  }

  .carousel-item .message {
    bottom: 25px;
    padding: 10px 16px;
    font-size: 0.9rem;
  }
}
/* === Animación de entrada del footer === */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

footer {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

footer.visible {
  opacity: 1;
  transform: translateY(0);
  animation: fadeUp 1s ease;
}
/* === Redes sociales === */
.social-links {
  margin-top: 15px;
  display: flex;
  gap: 14px;
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  color: var(--blanco);
  transition: background 0.3s ease, transform 0.3s ease;
}

.social-links a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-links a:hover {
  background: var(--celeste);
  color: var(--blanco);
  transform: translateY(-4px);
}

/* === Animación escalonada === */
/* .fade-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-item.visible {
  opacity: 1;
  transform: translateY(0);
} */
/* === Animación escalonada (segura) === */
.fade-item {
  opacity: 1; /* visible por defecto */
  transform: translateY(0);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

footer.visible .fade-item {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .fade-item {
    opacity: 0;
    transform: translateY(40px);
  }

  .fade-item.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
/* === Redes centradas en móvil === */
@media (max-width: 768px) {
  .social-links {
    justify-content: center;
    margin-top: 20px;
  }
}
/* ==== Animación del footer ==== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

footer {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

footer.visible {
  opacity: 1;
  transform: translateY(0);
  animation: fadeUp 1s ease;
}

/* ==== Fade-item escalonado ==== */
.fade-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==== Redes sociales ==== */
.social-links {
  margin-top: 15px;
  display: flex;
  gap: 14px;
}
.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--azul);
  transition: all 0.3s ease;
}
.social-links a:hover {
  background: var(--celeste);
  color: var(--blanco);
  transform: translateY(-4px);
}
@media (max-width: 768px) {
  .social-links { justify-content: center; }
}
/* ==== Logos institucionales - Sur Medicina Laboral ==== */
.footer-logos {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  animation: fadeUp 1s ease forwards;
}

.footer-logos-title {
  color: #e0e0e0;
  font-size: 1rem;
  letter-spacing: 0.3px;
  font-weight: 500;
  margin-bottom: 14px;
}

.footer-logos-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 45px;
  flex-wrap: wrap;
  perspective: 1000px; /* efecto visual suave */
}

.footer-logos img {
  height: 55px;
  width: auto;
  filter: brightness(0.95) saturate(1.2);
  transform: rotateY(4deg) rotateX(1deg);
  opacity: 0.9;
  transition: all 0.5s ease;
  border-radius: 6px;
}

.footer-logos img:hover {
  transform: scale(1.05) rotateY(0deg) rotateX(0deg);
  opacity: 1;
  filter: brightness(1.1) saturate(1.3);
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 768px) {
  .footer-logos img {
    height: 42px;
  }
  .footer-logos-container {
    gap: 25px;
  }
}
/* ==== CARTA DE PRESENTACIÓN ==== */
.presentacion-page {
  font-family: "Inter", sans-serif;
  color: var(--negro);
  background: var(--blanco);
  line-height: 1.6;
}

/* Hero institucional */
.presentacion-hero {
  position: relative;
  background: url('/images/hero.webp') center/cover no-repeat;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanco);
  text-align: center;
}
.presentacion-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 74, 124, 0.6);
}
.presentacion-hero .hero-text {
  position: relative;
  z-index: 2;
}
.presentacion-hero h1 {
  font-size: 2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.presentacion-hero h2 {
  font-size: 1.6rem;
  margin: 8px 0;
  color: var(--celeste);
}
.presentacion-hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Intro y servicios */
.presentacion-intro, .presentacion-services, .presentacion-cta, .presentacion-footer {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}
.presentacion-intro h3, .presentacion-services h3 {
  color: var(--azul);
  margin-bottom: 15px;
}

/* Tarjetas de servicios */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 25px;
}
.service-card {
  background: var(--gris);
  border-radius: 12px;
  padding: 25px;
  flex: 1 1 250px;
  max-width: 300px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card i {
  font-size: 2rem;
  color: var(--celeste);
  margin-bottom: 10px;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* CTA */
.presentacion-cta {
  background: var(--azul);
  color: var(--blanco);
  border-radius: 12px;
  margin: 40px 20px;
  padding: 60px 30px;
}
.presentacion-cta h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: var(--blanco);
}
.presentacion-cta p {
  max-width: 700px;
  margin: 0 auto 25px;
}
.presentacion-cta .btn-primary {
  background: var(--celeste);
  color: var(--blanco);
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}
/* .presentacion-cta .btn-primary:hover {
  background: #589cb2;
} */

/* Footer */
.presentacion-footer .logo {
  width: 100px;
  margin-bottom: 10px;
}
.presentacion-footer p {
  color: #444;
  font-size: 0.95rem;
}
.presentacion-footer .link-home {
  color: var(--celeste);
  text-decoration: none;
  font-weight: 600;
}
.presentacion-footer .link-home:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .presentacion-hero { height: 280px; }
  .presentacion-hero h1 { font-size: 1.6rem; }
  .service-grid { flex-direction: column; align-items: center; }
}
/* === Presentación Institucional === */
.presentacion {
  background: var(--gris);
  padding: 60px 20px 80px;
  color: var(--negro);
}

/* Hero principal */
.hero-presentacion {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 60px;
}
.hero-texto {
  flex: 1 1 450px;
}
.hero-texto h1 {
  font-size: 2rem;
  color: var(--azul);
  margin-bottom: 20px;
}
.hero-texto p {
  font-size: 1.1rem;
  line-height: 1.7;
}
.hero-imagen img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.btn-cta {
  display: inline-block;
  background: var(--azul);
  color: var(--blanco);
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 20px;
  transition: background 0.3s ease;
}
.btn-cta:hover { background: var(--celeste); }

/* Secciones de contenido */
.mision, .servicios-presentacion, .diferenciales, .cierre {
  margin-bottom: 70px;
}
.mision {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}
.mision-texto, .mision-imagen {
  flex: 1 1 450px;
}
.mision-imagen img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Servicios */
.servicios-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}
.servicio-card {
  background: var(--blanco);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 20px;
  flex: 1 1 300px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* Ajuste especial para logos dentro de las tarjetas de servicios */
.servicio-card img {
  width: auto;
  height: 140px;
  object-fit: contain; /* evita que se corte */
  object-position: center;
  margin: 0 auto 15px;
  display: block;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
}

.servicio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.servicio-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Diferenciales */
.diferenciales-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}
.dif-card {
  flex: 1 1 260px;
  background: var(--blanco);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.dif-card i {
  font-size: 2rem;
  color: var(--celeste);
  margin-bottom: 10px;
}

/* Cierre */
.cierre {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.cierre p {
  font-size: 1.2rem;
  color: var(--azul);
  margin-bottom: 25px;
}
/* === Animaciones suaves para Presentación === */
.presentacion section,
.servicio-card,
.dif-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
.presentacion section.visible,
.servicio-card.visible,
.dif-card.visible {
  opacity: 1;
  transform: translateY(0);
}
/* =====================================
   Animación por scroll - Presentación Institucional
   ===================================== */
.presentacion section,
.servicio-card,
.dif-card {
  opacity: 1;
  transform: none;
  transition: all 0.8s ease;
}

.presentacion section.visible,
.servicio-card.visible,
.dif-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Solo aplicar animación si el usuario no prefiere movimiento reducido */
@media (prefers-reduced-motion: no-preference) {
  .presentacion section,
  .servicio-card,
  .dif-card {
    opacity: 0;
    transform: translateY(40px);
  }

  .presentacion section.visible,
  .servicio-card.visible,
  .dif-card.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =====================================
   Animaciones suaves y ajustes visuales
   ===================================== */
.presentacion section,
.servicio-card,
.dif-card {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .presentacion section,
  .servicio-card,
  .dif-card {
    opacity: 0;
    transform: translateY(40px);
  }

  .presentacion section.visible,
  .servicio-card.visible,
  .dif-card.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ajuste de logos en footer */
.footer-logo img,
footer img {
  max-width: 110px;
  height: auto;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
/* === Presentación Institucional: base visible y animación suave === */
.presentacion { background: var(--gris); padding: 60px 20px 80px; color: var(--negro); }

.presentacion section,
.servicio-card,
.dif-card {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

/* Anima solo si el usuario no prefiere menos movimiento */
@media (prefers-reduced-motion: no-preference) {
  .presentacion section,
  .servicio-card,
  .dif-card {
    opacity: 0;
    transform: translateY(40px);
  }
  .presentacion section.visible,
  .servicio-card.visible,
  .dif-card.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HERO refinado */
.hero-presentacion {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; padding: 60px 20px; max-width: 1100px; margin: 0 auto 80px;
}
.hero-text h1 { font-size: 2.2rem; color: var(--azul); margin-bottom: 10px; }
.hero-text p { font-size: 1.1rem; color: #333; margin-bottom: 20px; line-height: 1.6; }
.hero-image img {
  width: 100%; max-width: 480px; border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15); object-fit: cover;
}
@media (max-width: 768px) {
  .hero-presentacion { flex-direction: column-reverse; text-align: center; }
  .hero-text h1 { font-size: 1.9rem; }
  .hero-image img { max-width: 360px; }
}

/* Cards de servicios y diferenciales */
.servicios-grid,
.diferenciales-grid { display: flex; flex-wrap: wrap; gap: 25px; justify-content: center; }
.servicio-card, .dif-card {
  background: var(--blanco); border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 20px; flex: 1 1 300px; text-align: center;
}
.servicio-card img {
  width: auto; height: 140px; object-fit: contain; object-position: center;
  margin: 0 auto 15px; display: block; background: #fff; padding: 10px; border-radius: 8px;
}

/* CTA y cierre */
/* .btn-primary {
  background: var(--celeste); color: var(--blanco); padding: 12px 28px;
  border-radius: 8px; font-weight: 600; text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
} */
.btn-primary:hover { background: var(--azul); transform: translateY(-3px); }
.cierre { text-align: center; max-width: 800px; margin: 0 auto; }
.cierre p { font-size: 1.15rem; color: #acd0e8db; margin-bottom: 20px; }
/* === HERO con fondo y overlay === */
.hero-con-fondo {
  position: relative;
  min-height: 440px;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  place-items: center;
  margin-bottom: 70px;
}
.hero-con-fondo .hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  filter: saturate(1) contrast(1.05);
}
.hero-con-fondo .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,74,124,0.55), rgba(0,74,124,0.35) 50%, rgba(0,0,0,0.15));
}
.hero-con-fondo .hero-content {
  position: relative;
  max-width: 950px;
  padding: 40px 22px;
  text-align: center;
  color: var(--blanco);
}
.hero-con-fondo h1 { margin-bottom: 12px; }
.hero-con-fondo p { opacity: .95; }
.hero-cta { margin-top: 18px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-secondary {
  background: transparent; color: var(--blanco);
  border: 1px solid rgba(255,255,255,.8); padding: 10px 22px; border-radius: 8px;
  text-decoration: none; transition: all .25s ease;
}
.btn-secondary:hover { background: rgba(255,255,255,.12); }

/* === Galería 2x2 === */
.infraestructura .section-lead { text-align:center; margin: 6px 0 20px; color:#2b3a42; }
.galeria-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.galeria-2x2 figure { margin: 0; }
.galeria-2x2 img {
  width: 100%; height: 240px; object-fit: cover; border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

/* === Bloque capacitación imágenes lado a lado === */
.capacitacion { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.cap-imagenes { display: grid; gap: 12px; }
.cap-imagenes img { width: 100%; border-radius: 12px; height: 180px; object-fit: cover; }

/* === Cierre con fondo === */
.cierre-con-fondo { position: relative; border-radius: 16px; overflow: hidden; margin-top: 40px; }
.cierre-con-fondo .cierre-bg { position: absolute; inset:0; background-size:cover; background-position:center; filter: blur(1px) brightness(.9); transform: scale(1.03); }
.cierre-con-fondo .cierre-overlay { position:absolute; inset:0; background: rgba(0,74,124,.45); }
.cierre-con-fondo .cierre-content {
  position: relative; text-align:center; color:#fff; padding: 48px 22px;
}
.cierre-con-fondo .btn-secondary { border-color:#fff; }

/* === Responsive === */
@media (max-width: 900px) {
  .galeria-2x2 { grid-template-columns: 1fr; }
  .capacitacion { grid-template-columns: 1fr; }
}
/* =========================================
   SECCIÓN SERVICIOS Y CONFIANZA
========================================= */
.servicios-section {
  background-color: #f9fafb;
  padding: 80px 20px;
  text-align: center;
}

.servicios-section .section-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: var(--azul, #004b7a);
  font-size: 2rem;
  margin-bottom: 15px;
}

.servicios-section .section-intro {
  color: #555;
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.servicio-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.servicio-card h3 {
  font-size: 1.2rem;
  color: var(--azul, #004b7a);
  margin: 15px 0 10px;
}

.servicio-card p {
  color: #555;
  padding: 0 20px 25px;
  font-size: 0.95rem;
  line-height: 1.5;
}

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

/* Animación al aparecer */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* CTA final */
.confianza-cta {
  background: linear-gradient(135deg, #004b7a, #007ab8);
  color: #fff;
  padding: 60px 20px;
  border-radius: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.confianza-cta h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.confianza-cta p {
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.confianza-cta .btn-primary {
  background: #fff;
  color: #004b7a;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.confianza-cta .btn-primary:hover {
  background: #004b7a;
  color: #fff;
}
a, button {
  transition: all 0.3s ease;
}

.btn-primary:hover,
a:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}
.servicio-card {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
/* === Sección Nosotros mejorada === */
.valores, .trayectoria, .equipo {
  background: var(--blanco);
  padding: 40px 25px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.06);
  margin: 40px auto;
  max-width: 900px;
}
.valores h2, .trayectoria h2, .equipo h2 {
  color: var(--azul);
  margin-bottom: 15px;
  font-size: 1.6rem;
  text-align: center;
}
.valores p, .trayectoria p, .equipo p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  text-align: justify;
}
.valores ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}
.valores ul li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 10px;
}
.valores ul li::before {
  content: "✔️";
  position: absolute;
  left: 0;
  color: var(--celeste);
}
.services p {
  max-width: 900px;
  margin: 0 auto 25px;
  text-align: center;
  line-height: 1.7;
  color: #333;
}

.cta-servicios {
  background: var(--celeste);
  color: var(--blanco);
  text-align: center;
  border-radius: 12px;
  padding: 50px 25px;
  margin-top: 60px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.cta-servicios h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.cta-servicios p {
  max-width: 700px;
  margin: 0 auto 25px;
  line-height: 1.6;
}

/* .btn-primary {
  background: var(--azul);
  color: var(--blanco);
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
} */

/* .btn-primary:hover {
  background: #0066a2;
} */
/* === CONTACTO PREMIUM === */
.contacto-intro {
  max-width: 900px;
  margin: 50px auto;
  text-align: center;
  line-height: 1.7;
}
/* .contacto-intro p { color: #333; } */
.contacto-intro h2 {
  font-size: 2rem;
  color: var(--azul);
  margin-bottom: 12px;
  font-weight: 700;
}

.contacto-intro p {
  color: #333;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
}
.contacto-datos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin: 50px auto;
  max-width: 1100px;
}
.contacto-info {
  flex: 1 1 400px;
}
.contacto-info ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.contacto-info li {
  margin-bottom: 10px;
}
.contacto-info i {
  color: var(--celeste);
  margin-right: 8px;
}
.contacto-info a {
  color: var(--azul);
  text-decoration: none;
}

.contacto-mapa {
  flex: 1 1 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacto-formulario {
  max-width: 800px;
  margin: 40px auto 80px;
  text-align: center;
  padding: 0 20px; /* mejora el centrado horizontal en móvil */
  display: flex;
  flex-direction: column;
  align-items: center;
}
.form-contacto {
  margin-top: 25px;
  display: grid;
  gap: 20px;
}
.form-group {
  text-align: left;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--celeste);
  box-shadow: 0 0 6px rgba(0, 159, 227, 0.25);
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--azul);
  color: #fff;
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  /* background: var(--celeste); */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 159, 227, 0.3);
}

/* === CONTACTO PREMIUM === */

/* .contacto-intro p { color: #333; }

.contacto-datos {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 50px auto;
  max-width: 900px;
}
.contacto-info ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
  display: inline-block;
}
.contacto-info li {
  margin-bottom: 10px;
}
.contacto-info i {
  color: var(--celeste);
  margin-right: 8px;
}
.contacto-info a {
  color: var(--azul);
  text-decoration: none;
}


.form-contacto {
  margin-top: 25px;
  display: grid;
  gap: 20px;
}
.form-group {
  text-align: left;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}
.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  font-size: 1rem;
}
.btn-primary {
  background: var(--azul);
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}
.btn-primary:hover {
  background: #005f97;
} */
.cta-contacto {
  background: var(--celeste);
  color: #fff;
  text-align: center;
  padding: 60px 25px;
  border-radius: 12px;
  margin: 80px auto;
  max-width: 900px;
}
.cta-contacto p {
  margin-bottom: 25px;
  line-height: 1.6;
}
/* ===============================
   📱 CONTACTO – Vista móvil premium
   =============================== */
@media (max-width: 768px) {
  /* Contenedor general */
  .contacto-intro {
    padding: 0 20px;
    text-align: center;
    margin: 40px auto 30px;
  }

  .contacto-intro h2 {
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .contacto-intro p {
    font-size: 1rem;
    line-height: 1.55;
    color: #444;
    margin-bottom: 25px;
  }

  /* Formulario */
  .contacto-formulario {
    padding: 0 18px;
    margin: 0 auto 60px;
  }

  .form-contacto {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 100%;
  }

  .form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--azul);
    margin-bottom: 4px;
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
    font-size: 1rem;
    padding: 12px 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  }

  .form-group input:focus,
  .form-group textarea:focus {
    border-color: var(--celeste);
    box-shadow: 0 0 6px rgba(0, 159, 227, 0.3);
  }

  /* Botón principal */
  /* .btn-primary {
    width: 100%;
    padding: 14px 0;
    font-size: 1rem;
    border-radius: 10px;
    background: var(--azul);
    color: #fff;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
  }

  .btn-primary:hover {
    background: var(--celeste);
    transform: translateY(-2px);
  } */
}

/* =========================================================
   ✅ Corrección UX móvil: evitar scroll lateral no deseado
   ========================================================= */
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* 🔒 Asegura que el menú hamburguesa no se desplace lateralmente */
.nav-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 70%;
  max-width: 320px;
  height: 100vh;
  background-color: #fff;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 9999;
}

/* Cuando se activa el menú */
.nav-menu.active {
  transform: translateX(0);
}

/* Evita que el fondo se desplace cuando el menú está abierto */
body.menu-open {
  overflow: hidden;
  touch-action: none;
}

/* Asegura que el header y los botones flotantes no se corten * lo cambie cuando modificaba porque el heaedr no escroleaba/
/* header, footer, .floating-buttons {
  overflow-x: hidden;
} */
/* ================================
   🩺 CORRECCIÓN HEADER (FINAL)
   ================================ */

/* Contenedor general del header */
header {
  padding: 15px 40px;
  justify-content: space-between;
  box-sizing: border-box;
}

/* Mantiene los elementos centrados y evita que se corte “Contacto” */
header nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
  margin: 0;
  padding: 0;
}

/* Enlaces */
header nav ul li a {
  font-weight: 600;
  color: var(--azul);
  text-decoration: none;
  transition: color 0.3s ease;
}
header nav ul li a:hover {
  color: var(--celeste);
}

/* ========== MÓVIL ========== */
@media (max-width: 768px) {
  /* Corrige visibilidad del ícono hamburguesa */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    position: relative;
    z-index: 2001; /* por encima del blur del header */
  }

  .menu-toggle span {
    background-color: var(--azul);
    height: 3px;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* Menú desplegable visible y centrado */
  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    transition: right 0.4s ease;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.15);
    z-index: 2000;
  }

  nav ul.active {
    right: 0;
  }

  /* Mejora contraste del texto del menú móvil */
  nav ul li a {
    font-size: 1.1rem;
    color: var(--azul);
    font-weight: 600;
  }
}
/* ======================================
   📱 Ajustes visuales premium – vista móvil
   ====================================== */
@media (max-width: 768px) {

  /* --- Fondo y jerarquía general --- */
  body {
    background: linear-gradient(180deg, #f9fbfd 0%, #ffffff 100%);
    font-size: 0.94rem;
  }

  header {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }

  .menu-toggle span {
    background-color: #003366; /* mejor contraste bajo luz intensa */
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  }

  /* --- Títulos y texto --- */
  h2, h3 {
    font-weight: 700;
    color: var(--azul);
    line-height: 1.3;
  }

  p {
    color: #333;
    line-height: 1.55;
  }

  /* --- Secciones alternadas --- */
  .servicios-section:nth-of-type(odd),
  .highlight:nth-of-type(odd) {
    background: #f7fafc;
  }

  /* --- Botones principales --- */
  .btn-primary,
  .btn-llamar {
    font-size: 0.95rem;
    padding: 14px 26px;
    border-radius: 10px;
    min-width: 180px;
    text-align: center;
    transition: background 0.3s ease, transform 0.2s ease;
  }

  .btn-primary:hover,
  .btn-llamar:hover {
    background: #007bb8;
    transform: translateY(-2px);
  }

  /* --- Soporte flotante --- */
  .support-float a {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

    /* --- Footer más definido --- */
 
  }
/* =====================================
   🩺 FIX Presentación - vista móvil
   ===================================== */
@media (max-width: 768px) {

  /* 1️⃣ Texto más legible sobre imagen */
  .hero-con-fondo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(0, 45, 85, 0.7) 0%,
      rgba(0, 45, 85, 0.6) 40%,
      rgba(0, 45, 85, 0.4) 100%
    );
    z-index: 1;
    border-radius: inherit;
  }

  .hero-con-fondo .hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    text-align: center;
    padding: 60px 20px;
  }

  .hero-con-fondo h1 {
    color: #fff;
    font-size: 1.7rem;
    line-height: 1.3;
  }

  .hero-con-fondo p {
    color: #eaf2f9;
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 10px;
  }

  /* 2️⃣ Botones adaptables (sin romperse) */
  .hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
  }

  .hero-cta a {
    width: 90%;
    max-width: 260px;
    text-align: center;
    white-space: normal;  /* permite salto de línea */
    word-wrap: break-word; /* evita corte visual */
  }

  .hero-cta a.btn-primary,
  .hero-cta a.btn-secondary {
    padding: 12px 16px;
    font-size: 0.95rem;
  }
}
@media (max-width: 414px) {
  .btn-secondary{
    display: none;
  }
}

.carousel-item::after{
  background: linear-gradient(to top,
    rgba(0,60,100,.18) 5%,
    rgba(0,60,100,.08) 30%,
    transparent 75%
  ) !important;
}
.carousel-item .message{
  background: rgba(0,0,0,.42) !important;
  backdrop-filter: blur(2px) !important;
}
