html, body {
  margin: 0;
  padding: 0;
  font-family: 'Homenaje', sans-serif;
  background-color: #fff;
  overflow-x: hidden;
}

em {
  font-style: normal;
}


html {
  scroll-behavior: smooth;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999; /* para que quede por encima */
  background-color: #241A1A; /* mismo color que navbar */
}



section {
  margin: 0;
  padding: 0;
}



.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #251c1d;
  padding: 10px 20px;
  position: relative;
}

.logo img {
  height: 40px;
}

/* Menú normal (desktop) */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.nav-links li a:hover {
  background-color: #98a73d;
}

.nav-links li a.activo {
  background-color: #136d73;
}

/* Botón hamburguesa */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* Versión responsive */
@media (max-width: 779px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 60px; /* Ajustá esto al alto real del navbar */
    right: 0;
    background-color: #251c1d;
    flex-direction: column;
    width: 100%;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    padding: 10px 0;
  }
}

  
 
.hero {
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  background: linear-gradient(45deg, #251C1D, #136D73, #98A73D);
  background-size: 180% 180%;
  animation: hero-gradient-animation 6s ease infinite;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComposite operator='in' in2='SourceGraphic'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23grain)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 100% 100%;
  opacity: 0.08;
}



.logo-central {
  width: 100%;
  max-width: 500px;
  height: auto;
  animation: fantasmaLoop 6s ease-in-out infinite;
}
  
.intro {
  height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  background-color: white;
}

.titulo-obidee {
  font-family: 'Odibee Sans', cursive;
  font-size: 1.8rem;
  color: #136d73;
  margin: 0;
}

.texto-homenaje {
  font-family: 'Homenaje', sans-serif;
  font-size: 1.2rem;
  color: #251c1d;
  margin: 0;
}

.descubre-link {
  font-family: 'Homenaje', sans-serif;
  color: #98A73D;
  text-decoration: none;
  font-size: 0.9rem;
  margin-top: 10px;
  display: inline-block;
}

.flecha {
  font-size: 1.2rem;
  margin-top: 5px;
  color: #98A73D;
}


.adaptamos {
  padding: 40px 20px;
  background-color: white;
  text-align: center;
}

.titulo-obidee {
  font-family: 'Odibee Sans', cursive;
  font-size: 2rem;
  color: #136d73;
  margin-bottom: 30px;
}

.tarjetas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.tarjeta {
  max-width: 300px;
  flex: 1;
  min-width: 260px;
}

.etiqueta {
  background-color: #136d73;
  color: white;
  font-family: 'Homenaje', sans-serif;
  font-size: 1.1rem;
  padding: 10px;
  border-radius: 40px;
  margin-bottom: 15px;
}

.tarjeta p {
  font-family: 'Homenaje', sans-serif;
  color: #251c1d;
  font-size: 1rem;
  line-height: 1.4;
}

.cierre-obidee {
  font-family: 'Odibee Sans', cursive;
  font-size: 1.5rem;
  color: #136d73;
}



.llamarnos, .somos {
  position: relative;
  z-index: 1;
  background: linear-gradient(45deg, #251C1D, #136D73, #98A73D);
  background-size: 180% 180%;
  animation: hero-gradient-animation 6s ease infinite;
  padding: 60px 20px;
  color: white;
  overflow: hidden;
  text-align: center;
}


.llamarnos-titulo {
  font-family: 'Odibee Sans', cursive;
  font-size: 2rem;
  color: #98A73D;
  margin-bottom: 40px;
}

.llamarnos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.bloque img {
  height: 100px;
  margin-bottom: 10px;
}

.bloque p {
  font-family: 'Homenaje', sans-serif;
  font-size: 1rem;
  margin-bottom: 10px;
}

.bloque ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bloque ul li {
  color: #98A73D;
  font-family: 'Homenaje', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 4px;
}


.llamarnos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  place-items: center; /* centra horizontalmente los bloques */
}


.salto-linea {
  width: 100%;
  grid-column: 1 / -1; /* ocupa toda la fila y fuerza salto */
  height: 0;
}



.clientes {
  background: url(img/fondo-fantasmitas.webp) no-repeat center top;
  background-size: cover; /* CAMBIAMOS de 'contain' a 'cover' */
  background-color: #f3f3f3;
  padding: 60px 20px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}



.clientes-texto p {
  font-family: 'Homenaje', sans-serif;
  font-size: 1.2rem;
  color: #251c1d;
  margin: 5px 0;
}

.clientes-texto h2 {
  font-family: 'Odibee Sans', cursive;
  font-size: 2.5rem;
  margin: 10px 0;
}

.clientes-texto .verde {
  color: #98A73D;
}

.clientes-texto .azul {
  color: #136D73;
}

.clientes-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 800px; /* Ajusta según el diseño */
  margin: 40px auto 0;
}

.clientes-logos .fila {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.clientes-logos img {
  max-height: 70px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clientes-logos img:hover {
  transform: scale(1.3); /* Aumenta el tamaño en un 20% */
 
}

@media (max-width: 600px) {
  .clientes-logos {
    max-width: 100%;
    gap: 20px;
  }

  .clientes-logos img {
    max-height: 50px;
    max-width: 100px;
  }
}



/* CASOS */

.casos {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
  color: #231f20;
  overflow: hidden;
}

.casos-header {
  margin-bottom: 40px;
}

.casos-header p {
  font-family: 'Homenaje', sans-serif;
  font-size: 1.2rem;
  margin: 0;
  color: #251C1D;
}

.casos-header h2 {
  font-family: 'Odibee Sans', cursive;
  font-size: 2rem;
  color: #136D73;
  margin: 5px 0;
}

.casos-slider {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.casos-wrapper {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.caso {
  min-width: 100%;
  box-sizing: border-box;
  padding: 20px;
}

.etiqueta {
  background-color: #98A73D;
  padding: 10px 20px;
  border-radius: 20px;
  display: inline-block;
  font-family: 'Homenaje', sans-serif;
  color: white;
  margin-bottom: 20px;
}

.descripcion {
  font-family: 'Homenaje', sans-serif;
  color: #136D73;
  font-size: 1rem;
  text-align: left;
  max-width: 800px;
  margin: 10px auto;
}

.arrow {
  background: none;
  border: none;
  font-size: 2rem;
  color: #136D73;
  cursor: pointer;
  padding: 10px;
  z-index: 10;
}

.arrow.left {
  position: absolute;
  left: 0;
}

.arrow.right {
  position: absolute;
  right: 0;
}

/* SOMOS */




.somos-titulo {
  font-family: 'Odibee Sans', cursive;
  font-size: 2rem;
  color: #98A73D;
  margin-bottom: 40px;
}

.somos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 🔄 Dos columnas fijas */
  gap: 40px 60px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}

.item img {
  height: 72px; /* 🔼 Íconos más grandes */
  flex-shrink: 0;
  margin-top: 5px;
}

.item-content {
  display: flex;
  flex-direction: column;
}

.item-content h3 {
  color: #98A73D;
  font-family: 'Homenaje', sans-serif;
  margin: 0 0 5px;
  font-size: 1.1rem;
}

.item-content p {
  font-family: 'Homenaje', sans-serif;
  margin: 0;
  color: white;
  font-size: 1rem;
}


@media (max-width: 768px) {
  .somos-grid {
    grid-template-columns: 1fr;
  }
}


/* SERVICIOS */

.servicios {
  padding: 0;
  margin: 0;
}

.servicios img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0; /* 🔁 sin puntas redondeadas */
}


/* NOSOTROS */

.nosotros {
  background-color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.nosotros-titulo {
  font-family: 'Odibee Sans', sans-serif;
  color: #136d73;
  font-size: 2.5em;
  margin-bottom: 60px;
}

.nosotros-contenedor {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.persona {
  width: 45%;
  text-align: center;
}

.persona img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  filter: blur(3px);
  transition: filter 0.3s ease;
  touch-action: manipulation;
}

.persona img:hover,
.persona img:active,
.persona img.show {
  filter: blur(0);
}


.nombre-obidee {
  font-family: 'Odibee Sans', sans-serif;
  color: #136d73;
  font-size: 1.6em;
  margin-bottom: 15px;
}

.persona p {
  font-family: 'Homenaje', sans-serif;
  font-size: 1.2em;
  color: #000;
  line-height: 1.5;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .nosotros-contenedor {
    flex-direction: column;
    align-items: center;
  }

  .persona {
    width: 90%;
  }
}



/* PIE */
.pie {
  background-image: url(img/fondoPie.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px 20px 60px;
  text-align: center;
  color: white;
  font-family: 'Odibee Sans', cursive;
  font-weight: 700;
}



.pie-contenido {
  max-width: 800px;
  margin: 0 auto;
}

.fantasma-pie {
  width: 120px;
  max-width: 100%;
  margin-bottom: 10px;
}

.pie h2 {
  margin-bottom: 20px;
}


.pie p {
  font-size: 32px;
  line-height: 1.3;
}


/* FOOTER */

.footer {
  background: white;
  text-align: center;
  padding: 60px 20px 40px;
  font-family: 'Obidee', sans-serif;
}

.footer-logo {
  width: 160px;
  margin-bottom: 30px;
}

.footer-categorias {
  font-size: 24px;
  margin: 40px 0 20px;
  color: #136d73;
  font-family: 'Obidee', sans-serif;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  font-size: 22px;
}

.footer-links a {
  color: #136d73;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 40px 0 20px;
  font-size: 16px;
  color: #2d2d2d;
}

.footer-legal a {
  color: #2d2d2d;
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 14px;
  color: #bfbfbf;
  line-height: 1.4;
  margin-top: 10px;
}


/* ANIMACION INTRO */

@keyframes hero-gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes fantasmaLoop {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  20% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  80% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  100% {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
}


/* Arreglar largo de hero en mobile */
@media (max-width: 480px) {
  .hero {
    height: 60vh;
  }

  .logo-central {
    max-width: 280px;
  }

  .intro {
    padding-top: 20px;
  }


/* Arreglar Llamarnos en mobile */


  .llamarnos {
    position: relative;
    z-index: 1;
    background: linear-gradient(45deg, #251C1D 0%, #136D73 100%);
    background-size: cover;
    background-position: center;
    padding: 40px 20px;
    overflow: hidden;
  }

.llamarnos::after,
.somos::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComposite operator='in' in2='SourceGraphic'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23grain)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 100% 100%;
  opacity: 0.08;
}

  

  .llamarnos-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .bloque {
    text-align: center;
  }

  .bloque img {
    height: 80px;
  }

  .llamarnos-titulo {
    font-size: 1.4rem;
  }

  /* arreglar espacios en SOMOS en mobile */

  .somos {
    position: relative;
    z-index: 1;
    background: linear-gradient(45deg, #251C1D 0%, #136D73 100%);
    background-size: cover;
    background-position: center;
    padding: 40px 20px;
    overflow: hidden;
  }
  

  .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    padding: 0 44px 0 12px;
    box-sizing: border-box;
  }

.item img {
  order: -1;
  margin-bottom: 12px;
  height: 64px;
}

.item-content {
  text-align: center;
  width: 100%;
}

.item-content h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.item-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  word-break: break-word;
}

/* solucionar mobile CASOS */

.arrow {
  font-size: 1.6rem;
  padding: 4px 8px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 10;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}

.descripcion {
  max-width: 85%;
  margin: 0 auto;
  padding: 0 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: left;
  word-break: break-word;
  box-sizing: border-box;
}



}


/* animación en fantasmita al final */

@keyframes pulsate {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.75;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.fantasma-pie {
  animation: pulsate 2.5s ease-in-out infinite;
}


/* resaltado Big Shoulder */

.resaltado {
  font-family: 'Big Shoulders Inline Display', sans-serif;
  font-weight: 700;
  background-color: #98a73d;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: lowercase;
  display: inline-block;
  transition: box-shadow 0.3s ease;
  cursor: default;
}

.resaltado:hover {
  animation: ghost-vibrate 0.8s infinite;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
}



/* ANIMACIÓN ESTRATÉGICO */

@keyframes ghost-vibrate {
  0% { transform: translate(0); }
  25% { transform: translate(1px, -1px); }
  50% { transform: translate(-1px, 1px); }
  75% { transform: translate(1px, 1px); }
  100% { transform: translate(0); }
}

/* ANIMACION TEXTO DESCUBRE MAS */
.scroll-invitacion {
  opacity: 0;
  transform: translateY(10px);
  animation: aparecer-scroll 1.2s ease forwards;
  animation-delay: 1.5s;
  display: inline-block;
}

@keyframes aparecer-scroll {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ANIMACION FLECHA DESCUBRE MAS */

.flecha-scroll {
  font-size: 1.5rem;
  color: #98a73d;
  text-align: center;
  margin-top: 10px;
  animation: flecha-pulso 1.2s ease-in-out infinite;
}

@keyframes flecha-pulso {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}


/* ANIMACION NOS ADAPTAMOS */

.aparecer {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.aparecer-retardado {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.aparecer.visible {
  opacity: 1;
  transform: translateY(0);
}

.aparecer-retardado.visible {
  opacity: 1;
  transform: scale(1);
}


/* ESTRATEGIA QUE SE VE AUNQUE NO NOS VEAS */ 
.flicker-ghost {
  animation: flicker-ghost 12s ease-in-out infinite;
}

@keyframes flicker-ghost {
  0%, 100% { opacity: 1; }
  10% { opacity: 0.6; }
  20% { opacity: 1; }
  30% { opacity: 0.3; }
  40% { opacity: 1; }
  60% { opacity: 0.4; }
  70% { opacity: 1; }
  90% { opacity: 0.7; }
}

/* ANIMACION MAQUINA DE ESCRIBIR NOSOTROS */
.type-ghost {
  display: inline-block;
  opacity: 0;
}

.type-ghost.visible {
  opacity: 1;
  animation: aparecer-letra 2.5s steps(60, end) forwards;
  white-space: normal;
  overflow: visible;
  border-right: 2px solid #136d73;
  animation-delay: 0.2s;
}

@keyframes aparecer-letra {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.descripcion-type::after {
  content: '|';
  animation: blink-caret 0.75s step-end infinite;
  margin-left: 2px;
}

@keyframes blink-caret {
  from, to { opacity: 0 }
  50% { opacity: 1 }
}



/* vibrar hover */

.vibrar-hover:hover {
  animation: ghost-vibrate 0.8s infinite;
}


/* Oculta el salto en pantallas pequeñas */
@media (max-width: 768px) {
  .salto-desktop {
    display: none;
  }
}


/* fantasmitas fonde */ 
.fantasma-cruza {
  position: fixed;
  top: 35%;
  width: 80px;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  transition: left 10s linear, right 10s linear, opacity 2s ease;
}

.fantasma-cruza.izq {
  left: -100px;
}

.fantasma-cruza.izq.mostrar {
  left: 110vw;
  opacity: 0.12;
}

.fantasma-cruza.der {
  right: -100px;
}

.fantasma-cruza.der.mostrar {
  right: 110vw;
  opacity: 0.12;
}



/* Fantasmas flotando de fondo */
.fantasma-fondo {
  position: absolute;
  width: 100px;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
  animation: flotar 12s ease-in-out infinite;
}

.fondo-hero {
  top: 20%;
  left: 10%;
}

.fondo-somos {
  top: 50%;
  right: 15%;
}

@keyframes flotar {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.02);
  }
}

/* FORMULARIO */
.formulario-contacto {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 10px auto 0;
  font-family: 'Homenaje', sans-serif;
}

.formulario-contacto input,
.formulario-contacto textarea {
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  outline: none;
}

.formulario-contacto input::placeholder,
.formulario-contacto textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.formulario-contacto button {
  background-color: #98a73d;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'Odibee Sans', cursive;
}

.formulario-contacto button:hover {
  background-color: #c2d76c;
}

/* FRASE CONTACTO */
.frase-contacto {
  text-align: center;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Homenaje', sans-serif;
  font-size: 0.55rem;
}

.frase-contacto a {
  color: #98a73d;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.frase-contacto a:hover {
  color: white;
}


/* PRUEBA SLIDE CASOS */

/* ----------------------------------------------
   GENERAL (puedes adaptarlo al resto de tu web)
---------------------------------------------- */
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: #f9fbfc;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
}

.casos-header {
  text-align: center;
  margin-bottom: 1.2rem;
}
.casos-header-label {
  font-size: 1.13rem;
  color: #222;
  font-family: 'Poppins', Arial, sans-serif;
  margin-bottom: 0.08rem;
}
.casos-header h2 {
  font-family: 'Big Shoulders Inline Display', Arial, sans-serif;
  color: #136d73;
  font-size: 2.3rem;
  font-weight: bold;
  letter-spacing: .02em;
  margin: 0 0 1.8rem 0;
}

/* ----------------------------------------------
   SLIDER: ESTRUCTURA Y FLECHAS
---------------------------------------------- */
.slider-casos-outer {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 540px;
  gap: 2.1rem;
  width: 100%;
  margin: 0 auto 2.5rem auto;
  position: relative;
}

.slider-arrow-casos {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 2px 12px rgba(19,109,115,0.13);
  color: #136d73;
  font-size: 2.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow .16s, background .18s;
  z-index: 10;
  position: relative;
}
.slider-arrow-casos:hover {
  background: #e9f7f6;
  box-shadow: 0 6px 20px rgba(19,109,115,0.18);
}

/* ----------------------------------------------
   TARJETA DEL CASO
---------------------------------------------- */
.slider-casos {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 6px 32px 0 rgba(30,90,100,0.09);
  padding: 2.6rem 3.2rem 2.6rem 2.4rem;
  max-width: 1120px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.caso-card-flex {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2.2rem;
  width: 100%;
}
.caso-img-col {
  flex: 0 0 30%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-width: 180px;
  max-width: 240px;
}
.caso-img-col img {
  width: 100%;
  max-width: 190px;
  height: auto;
  display: block;
  border-radius: 24px;
  background: transparent;
  box-shadow: none;
}
.caso-text-col {
  flex: 1 1 70%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  gap: 0.45rem;
  padding-top: 0.1rem;
}
.caso-titulo-grande {
  font-family: 'Big Shoulders Inline Display', Arial, sans-serif;
  font-size: 2.3rem;
  color: #136d73;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: .10rem;
  letter-spacing: .01em;
  line-height: 1.08;
  text-align: left;
}
.caso-titulo-chico {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 1.15rem;
  color: #98a73d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 1.15rem;
  text-align: left;
}

.caso-bloque h3 {
  color: #98a73d;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: bold;
  margin-bottom: 0.13rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  display: inline-block;
  margin-top: 1.20rem;
  text-align: left;
  border-bottom: 2px solid #eef6f6;
  padding-bottom: 0.15rem;
}
.caso-bloque:first-child h3 { margin-top: 0; }

.caso-bloque p {
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  color: #222;
  line-height: 1.6;
  margin: 0;
  margin-bottom: 0.1rem;
  text-align: left;
}
.caso-bloque .destacado {
  color: #13827d;
  font-weight: 600;
}

/* ----------------------------------------------
   RESPONSIVE
---------------------------------------------- */
@media (max-width: 1200px) {
  .slider-casos {
    padding: 1.3rem 1rem 1.3rem 0.6rem;
    max-width: 98vw;
  }
  .caso-titulo-grande { font-size: 1.35rem; }
  .caso-titulo-chico { font-size: .93rem; }
  .caso-img-col { min-width: 100px; max-width: 120px; }
  .caso-card-flex { gap: 1rem; }
}
@media (max-width: 900px) {
  .slider-casos { padding: 0.7rem 0.3rem; }
  .caso-titulo-grande { font-size: 1.1rem; }
  .caso-titulo-chico { font-size: .80rem; }
  .caso-img-col { min-width: 68px; max-width: 80px; }
  .caso-card-flex { gap: 0.6rem; }
}
@media (max-width: 650px) {
  .slider-casos-outer { min-height: unset; gap: 0.3rem; }
  .slider-casos { min-height: unset; padding: 0.6rem 0.1rem;}
  .caso-card-flex {
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
  }
  .caso-img-col {
    width: 90px;
    max-width: 92vw;
    min-width: 44px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
  }
  .caso-img-col img {
    width: 88px;
    margin: 0 auto;
    max-width: 92vw;
  }
  .caso-text-col { align-items: flex-start; padding-top: 0.5rem;}
  .slider-arrow-casos { width: 38px; height: 38px; font-size: 1.13rem;}
}


/* --- NUEVO DISEÑO DE CARD --- */

.caso-card-nueva {
  max-width: 980px;
  margin: 2.5rem auto;
  background: #fff;
  border-radius: 2.3em;
  box-shadow: 0 7px 36px rgba(160,180,190,0.10);
  padding: 2.6rem 2.4rem 2.2rem 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.caso-card-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.caso-card-img-lado {
  width: 110px;
  height: auto;
  object-fit: contain;
  display: block;
}

.caso-card-titulos {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.caso-titulo-grande {
  font-family: 'Big Shoulders Inline Display', 'Odibee Sans', Arial, sans-serif;
  font-size: 2.6rem;
  color: #247274;
  font-weight: 700;
  margin-bottom: 0.3rem;
  line-height: 1.05;
  letter-spacing: 0.03em;
}

.caso-titulo-badge {
  display: inline-block;
  background: #b7c04d;
  color: #fff;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.25em 1.3em 0.23em 1.3em;
  border-radius: 2em;
  margin: 0.12rem 0 0 0;
  letter-spacing: .02em;
  box-shadow: 0 1px 7px rgba(160,180,60,0.04);
  text-transform: uppercase;
  text-align: left;
  width: fit-content;
}

/* Fila 2, contenido ancho completo */
.caso-card-body {
  width: 100%;
  margin-top: 0.3rem;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 1.12rem;
  color: #191919;
  line-height: 1.5;
}

.caso-subtitulo {
  color: #b7c04d;
  font-size: 1.23rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-family: 'Poppins', Arial, sans-serif;
  letter-spacing: 0.01em;
  display: block;
  position: relative;
}

.caso-resaltado {
  color: #247274;
  font-weight: 700;
}

@media (max-width: 750px) {
  .caso-card-nueva {
    padding: 1.2rem 0.7rem 1.3rem 0.7rem;
  }
  .caso-card-header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  .caso-card-img-lado {
    width: 75px;
  }
  .caso-card-titulos {
    align-items: flex-start;
    width: 100%;
  }
  .caso-titulo-grande {
    font-size: 2rem;
    text-align: left;
  }
}

.caso-card-header {
  display: flex;
  align-items: center;
  justify-content: center; /* centra imagen y títulos */
  gap: 2rem;
  margin-bottom: 1.5rem;
  width: 100%;
}

.caso-card-titulos {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.caso-titulo-grande,
.caso-titulo-badge {
  text-align: left;
  width: 100%;
}

@media (max-width: 750px) {
  .caso-card-header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
  .caso-card-titulos {
    align-items: center;
    width: 100%;
  }
  .caso-titulo-grande, .caso-titulo-badge {
    text-align: center;
  }
}

/* NUEVO: alineación izquierda del body */
.caso-card-body {
  width: 90%;
  margin: 0 auto;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 1.12rem;
  color: #191919;
  line-height: 1.5;
  text-align: left;
}

@media (max-width: 750px) {
  .caso-card-body {
    width: 100%;
    padding: 0 0.3rem;
  }
}


@media screen and (max-width: 768px) {
  p.texto-card {
    font-size: 10px;
    line-height: 1.6;
  }
}








@media screen and (max-width: 768px) {
  .caso-titulo-badge {
    display: inline-block;
    max-width: 90%;
    padding: 8px 16px;
    font-size: 14px;
    text-align: center;
    word-break: break-word;
    border-radius: 20px;
    box-sizing: border-box;
  }
}

