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

/* header */

.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: #FFFFFF;
  padding: 20px 0;
  z-index: 1000;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 130px;

}

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

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
}

.logo-text{
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
    color: #828854;
    margin: 0;
    line-height: 1;
}  

.nav ul {
    list-style: none;
    display: flex;
    gap: 50px;
    margin-left: -90px;
    
}

.nav a {
    text-decoration: none;
    color: #2B2B2B;
    font-size: 15px;
    transition: 0.3s;
    font-family: 'Inter', sans-serif;
    font-weight: 200;
}

.nav a:hover {
    color: #828854;
}

.menu {
  display: flex;
  gap: 24px;
  list-style: none;
  position: relative;
  padding-bottom: 10px;
}

.menu::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 125%; 
  height: 2px;
  background-color: #828854;
}

.btn-header {
    background-color: #828854;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    margin-left: 90px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.btn-header:hover {
    opacity: 0.85;
}

/* seccion nosotros */

.hero-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: center;

   padding-left: 5px;
  padding-right: 60px;
  position: relative;
  z-index: 2;
}

.hero-izquierda {
  max-width: 600px;
}

.hero-derecha {
    width: 350px;
    height: auto;
    align-items: center;
    display: flex;
    gap: 12px;

}

.hero-derecha img {
    height: 70px;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
}

.hero-derecha span{
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    color: #828854;
    margin: 0;
    line-height: 1;
} 

.hero-contenido {
  width: 100%;
  height: 100vh;
  background-image: url("../assets/imgs/fondo de nosotros.avif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  padding-left: 30px; /* separa del borde izquierdo */
  position: relative;
}

.hero-contenido::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15); /* leve capa para mejorar contraste */
}

.hero-contenido > * {
  position: relative;
  z-index: 1;
}

.hero-contenido {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero-contenido h1 {
  font-family: 'Inter', sans-serif;
  font-size: 48px;
  font-weight: 700;
  max-width: 600px;
  margin-bottom: 20px;
  color: #1e1e1e;
}

.hero-contenido h1::after {
  content: "";
  display: block;
  width: 220px;
  height: 3px;
  background-color: #828854; /* verde oliva */
  margin-top: 15px;
}

.descripcion {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  max-width: 500px;
  margin-bottom: 30px;
  color: #4A4A4A;
}

.btn-asesoramiento {
  background-color: #828854;
  color: white;
  padding: 12px 28px;
  margin-left: 120px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  transition: 0.3s;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  margin-bottom: 30px;
  margin-top: 70px;
   transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
   transition: all 0.3s ease;
   
}

.btn-asesoramiento:hover {
    opacity: 0.85;
}

.datos{
    display: flex;
    flex-direction: column;
    margin-top: 60px; 

}
.datos p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  margin:  0;
  color: #4A4A4A;
}

/* seccion de servicios */

.servicios {
  background-color: #f4f5ef;
  padding: 80px 0 110px;
}

.servicios-header {
  width: 80%;
  max-width: 1100px;
  margin: 0 auto 60px;
}

.servicios-header h2 {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #1e1e1e;
  margin-bottom: 10px;
}

.servicios-header p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #4a4a4a;
  max-width: 540px;
}

.linea-servicios {
  width: 170px;
  height: 2px;
  background-color: #828854;
  margin-top: 12px;
}

.servicios-grid {
  width: 80%;
  max-width: 900px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 70px 60px;
  justify-items: center;
}

/* ===== CARD ===== */

.card-servicio {
  width: 230px;
  height: 340px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  grid-column: span 2;
  text-decoration: none;
  color: white;
  background-color: transparent;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-servicio:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
}

/* Imagen más centrada y más lejana */
.card-servicio img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  object-position: center center;
  display: block;

  transform: translateY(0);
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-servicio:hover img {
  transform:  translateY(-120px);
}

/* Oscurecido para que texto se lea */
.card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.55) 38%,
    rgba(0, 0, 0, 0.12) 100%
  );
  pointer-events: none;
}

/* Bloque completo: título + línea + texto */
.card-texto {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -30px;
  z-index: 2;

  transform: translateY(0);
  transition: transform 0.65s ease;
}

.card-servicio:hover .card-texto {
  transform: translateY(-40px);
}

.card-texto h3 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.05;
  margin: 0;
  max-width: 175px;
}

.card-texto span {
  display: block;
  width: 42px;
  height: 3px;
  background-color: #828854;
  margin: 9px 0 0;
}

/* Texto oculto al inicio */
.card-texto p {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  line-height: 1.35;
  max-width: 175px;
  margin: 12px 0 0;

  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease 0.25s, transform 0.45s ease 0.25s;
}

.card-servicio:hover .card-texto p {
  opacity: 1;
  transform: translateY(0);
}

.card-servicio:nth-child(4) {
  grid-column: 2 / span 2;
}

/* 5ta card: abajo derecha centrada */
.card-servicio:nth-child(5) {
  grid-column: 4 / span 2;
}

/* Flechita */
.flecha-card {
  position: absolute;
  right: 10px;
  bottom: 10px;

  width: 28px;
  height: 28px;
  border-radius: 9px;

  background: rgba(130, 136, 84, 0.18);
  backdrop-filter: blur(6px);

  border: 1px solid rgba(255, 255, 255, 0.08);

  z-index: 3;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: bottom 1.2s cubic-bezier(0.4, 0, 0.2, 1),
  transform 1.2s cubic-bezier(0.4, 0, 0.2, 1),
  background 0.3s ease;
}

.flecha-card span {
  width: 9px;
  height: 9px;

  border-top: 2px solid white;
  border-left: 2px solid white;

  transform: rotate(45deg);
  margin-top: 3px;
}

.card-servicio:hover .flecha-card {
  bottom: 82px;
  transform: rotate(180deg);

  background: rgba(130, 136, 84, 0.32);
}

/* Formas */

.formas-card {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-servicio:hover .formas-card {
  transform: translateY(-120px);
}

.forma {
  position: absolute;

  background: rgba(130, 136, 84, 0.12);

  backdrop-filter: blur(2px);

  border: 1px solid rgba(255,255,255,0.03);
}

.marketing-formas .forma-1 {
  width: 160px;
  height: 220px;

  right: -20px;
  top: 40px;

  transform: rotate(32deg);
}

.marketing-formas .forma-2 {
  width: 90px;
  height: 140px;

  left: -30px;
  bottom: 20px;

  transform: rotate(-18deg);
}

.impresion-formas .forma-1 {
  width: 70px;
  height: 300px;

  right: 30px;
  top: -20px;

  transform: rotate(12deg);
}

.impresion-formas .forma-2 {
  width: 140px;
  height: 120px;

  left: -40px;
  bottom: 50px;

  transform: rotate(-35deg);
}

.web-formas .forma-1 {
  width: 120px;
  height: 260px;

  right: -10px;
  top: 10px;

  transform: rotate(24deg);
}

.web-formas .forma-2 {
  width: 60px;
  height: 180px;

  left: 20px;
  bottom: -20px;

  transform: rotate(-18deg);
}

.redes-formas .forma-1 {
  width: 80px;
  height: 280px;

  left: -20px;
  top: 30px;

  transform: rotate(-12deg);
}

.redes-formas .forma-2 {
  width: 120px;
  height: 120px;

  right: -30px;
  bottom: 60px;

  transform: rotate(32deg);
}

.ia-formas .forma-1 {
  width: 60px;
  height: 320px;

  left: 40px;
  top: -40px;

  transform: rotate(35deg);
}

.ia-formas .forma-2 {
  width: 60px;
  height: 320px;

  right: 40px;
  top: -30px;

  transform: rotate(-35deg);
}

.ia-formas .forma-3 {
  width: 160px;
  height: 80px;

  left: 30px;
  bottom: 80px;

  transform: rotate(8deg);
}

.card-overlay { z-index: 2; }
.card-texto { z-index: 3; }
.flecha-card { z-index: 4; }

/* seccion contacto */


.contacto {
  min-height: 100vh;
  background-image: url("../assets/imgs/fondo de nosotros.avif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: 28px 0 70px;
  font-family: 'Inter', sans-serif;
}

.contacto-contenedor {
  width: 70%;
  max-width: 970px;
  margin: 0 auto;
  text-align: center;
}

.contacto h2 {
  color: white;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 18px;
}

.linea-contacto {
  width: 135%;
  max-width: none;
  height: 4px;
  background-color: #828854;
  margin: 13px 0 22px;
  transform: translateX(-10%);
}

.contacto h3::after {
  content: "";
  display: block;
  width: 820px;
  height: 4px;
  background-color: #828854;
  margin-top: 18px;
  margin-left: -200px;
}

.contacto h3 {
  font-size: 34px;
  font-weight: 900;
  color: #1e1e1e;
  margin-bottom: 14px;
}



.contacto-subtitulo {
  max-width: 600px;
  margin: 0 auto 36px;
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.3;
}

.form-contacto {
  width: 100%;
}

.fila {
  display: grid;

  grid-template-columns: 1fr 1fr 1.4fr;

  gap: 14px;

  margin-bottom: 18px;
}

.fila:nth-of-type(2) {
  grid-template-columns: 1fr 1fr;
}

.form-contacto input,
.form-contacto textarea {
  width: 100%;
  border: 3px solid #828854;
  border-radius: 5px;
  padding: 10px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  outline: none;
  background-color: white;
  color: #1e1e1e;
}

.form-contacto input::placeholder,
.form-contacto textarea::placeholder {
  color: #177c86;
  font-size: 12px;
}

.telefono-container {
  display: grid;

  grid-template-columns: 120px 1fr;

  gap: 10px;

  width: 100%;
}

.codigo-pais {
  width: 120px;

  border: 3px solid #828854;
  border-radius: 5px;

  padding: 10px;

  background-color: white;

  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #177c86;

  outline: none;
}

.telefono-container input {
  width: 100%;
}

textarea {
  height: 210px;
  resize: none;
  margin-bottom: 22px;
}

.contacto-footer {
  display: flex;
  align-items: flex-start;
  gap: 34px;
  text-align: left;
}

.contacto-footer button {
  min-width: 260px;
  background-color: #828854;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 14px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.contacto-footer p {
  font-size: 11px;
  color: #4a4a4a;
  line-height: 1.3;
  margin: 0;
  max-width: 520px;
}

.form-contacto input,
.form-contacto textarea,
.form-contacto select {
  width: 100%;
  border: 3px solid #828854;
  border-radius: 5px;
  padding: 10px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  outline: none;
  background-color: white;
  color: #177c86;
}

/* pie de pagina*/

.footer {
  background-color: #0f332c;
  padding: 80px 0 120px;
  font-family: 'Inter', sans-serif;
}

.footer-contenedor {
  width: 84%;
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 80px;
}



.footer-col h4 {
  color: white;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 18px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
  margin: 0;
}

.footer-col a {
  display: block;
  color: #177c86;
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 13px;
  transition: 0.3s ease;
}

.footer-col a:hover {
  color: #828854;
  transform: translateX(4px);
}

.footer-redes {
  display: flex;
  gap: 12px;
}

.red-social {
  width: 30px;
  height: 30px;
  border-radius: 8px;

  background-color: #828854;
  color: #10231f !important;

  display: flex !important;
  align-items: center;
  justify-content: center;

  font-size: 16px;
  margin-bottom: 0 !important;

  transition: transform 0.6s ease, background-color 0.3s ease;
}

.red-social:hover {
  transform: rotate(360deg) scale(1.08);
  background-color: #a0a866;
}

.footer-linea {
  width: 84%;
  max-width: 1200px;
  height: 2px;
  background-color: #828854;
  margin: 90px auto 0;
}

.footer-logo{
    align-items: center;
    display: flex;
    gap: 12px;

  margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
}

.footer-Ltext{
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
    color: #828854;
    margin: 0;
    line-height: 1;
}  

/* ================= RESPONSIVE ================= */

#menu-toggle {
  display: none;
}

.hamburguesa {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 2000;
}

.hamburguesa span {
  width: 28px;
  height: 3px;
  background-color: #828854;
  border-radius: 3px;
  transition: 0.3s ease;
}

/* TABLET */
@media (max-width: 1024px) {
  .container {
    gap: 40px;
  }

  .nav ul {
    gap: 25px;
    margin-left: 0;
  }

  .btn-header {
    margin-left: 0;
  }

  .hero-container {
    padding: 0 40px;
  }

  .hero-contenido h1 {
    font-size: 40px;
  }

  .hero-derecha {
    width: 280px;
  }

  .hero-derecha span {
    font-size: 16px;
  }

  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
  }

  .card-servicio,
  .card-servicio:nth-child(4),
  .card-servicio:nth-child(5) {
    grid-column: auto;
  }

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

  .telefono-container {
    grid-column: span 2;
  }

  .footer-contenedor {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }
}

/* CELULAR */
@media (max-width: 768px) {
  .header {
    padding: 14px 0;
  }

  .container {
    width: 90%;
    justify-content: space-between;
    gap: 0;
  }

  .logo img {
    height: 42px;
  }

  .logo-text {
    font-size: 12px;
  }

  .hamburguesa {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 25px 0;
    display: none;
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
  }

  .nav ul {
    flex-direction: column;
    align-items: center;
    gap: 22px;
    margin-left: 0;
  }

  .menu::after {
    display: none;
  }

  #menu-toggle:checked ~ .nav {
    display: block;
  }

  #menu-toggle:checked + .hamburguesa span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  #menu-toggle:checked + .hamburguesa span:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle:checked + .hamburguesa span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .btn-header {
    display: none;
  }

  /* HERO */
  .hero-contenido {
    height: auto;
    min-height: 100vh;
    padding: 120px 24px 70px;
  }

  .hero-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 50px;
  }

  .hero-contenido h1 {
    font-size: 34px;
  }

  .descripcion {
    font-size: 15px;
  }

  .btn-asesoramiento {
    margin-left: 0;
    margin-top: 25px;
  }

  .datos {
    margin-top: 35px;
  }

  .hero-derecha {
    width: 100%;
    justify-content: center;
  }

  .hero-derecha img {
    height: 55px;
  }

  .hero-derecha span {
    font-size: 15px;
  }

  /* SERVICIOS */
  .servicios {
    padding: 70px 0;
  }

  .servicios-header {
    width: 88%;
  }

  .servicios-header h2 {
    font-size: 28px;
  }

  .servicios-grid {
    width: 90%;
    grid-template-columns: 1fr;
    gap: 45px;
  }

  /* CONTACTO */
  .contacto-contenedor {
    width: 88%;
  }

  .linea-contacto {
    width: 100%;
    margin: 12px 0 22px;
    transform: none;
  }

  .contacto h3 {
    font-size: 28px;
  }

  .contacto h3::after {
    width: 100%;
    margin-left: 0;
  }

  .fila,
  .fila:nth-of-type(2) {
    grid-template-columns: 1fr;
  }

  .telefono-container {
    grid-column: auto;
    grid-template-columns: 110px 1fr;
  }

  .contacto-footer {
    flex-direction: column;
    gap: 20px;
  }

  .contacto-footer button {
    width: 100%;
    min-width: auto;
  }

  /* FOOTER */
  .footer {
    padding: 60px 0 80px;
  }

  .footer-contenedor {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-logo {
    flex-wrap: wrap;
  }

  .footer-linea {
  width: 86%;
  max-width: 1200px;
  height: 2px;
  background-color: #828854;
  margin: 90px auto 0;
  }
  
}

/* CELULAR CHICO */
@media (max-width: 480px) {

    .btn-whatsapp {
    width: 45px;
    height: 45px;

    font-size: 22px;

    bottom: 12px;
    right: 12px;
     opacity: 0.95;
  }

  .hero-contenido h1 {
    font-size: 30px;
  }

  .card-servicio {
    width: 230px;
    height: 340px;
  }

  .telefono-container {
    grid-template-columns: 100px 1fr;
  }

  .codigo-pais {
    width: 100px;
  }
}

.card-servicio.card-activa img {
  transform: translateY(-120px);
}

.card-servicio.card-activa .formas-card {
  transform: translateY(-120px);
}

.card-servicio.card-activa .card-texto {
  transform: translateY(-40px);
}

.card-servicio.card-activa .card-texto p {
  opacity: 1;
  transform: translateY(0);
}

.card-servicio.card-activa .flecha-card {
  bottom: 82px;
  transform: rotate(180deg);
  background: rgba(130, 136, 84, 0.32);
}

html {
  scroll-behavior: smooth;
}

/*header ninja*/

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

.reveal.activo {
  opacity: 1;
  transform: translateY(0);
}

.header {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.header.header-oculto {
  transform: translateY(-100%);
}

.header.header-scroll {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* luz en las cards*/


.card-glow {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(130, 136, 84, 0.35);
  filter: blur(35px);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.card-servicio:hover .card-glow {
  opacity: 1;
}

/* pantalla de carga*/

.loader {
  position: fixed;
  inset: 0;
  background-color: #0f332c;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.oculto {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  display: flex;
  align-items: center;
  gap: 16px;

  animation: loaderPulse 1.6s ease-in-out infinite;
}

.loader-content img {
  height: 70px;
  border-radius: 12px;
}

.loader-content span {
  font-family: 'Orbitron', sans-serif;
  color: #828854;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 22px;
}

@keyframes loaderPulse {
  0%, 100% {
    opacity: 0.65;
    transform: scale(0.98);
  }

  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

/*fondo animado*/

.fondo-animado {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur();
  opacity: 0.30;

  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.blob-1 {
  width: 340px;
  height: 340px;

  background: #828854;

  top: 10%;
  left: -80px;

   animation: blobMove1 18s linear infinite;
}

.blob-2 {
  width: 260px;
  height: 260px;

  background: #177c86;

  bottom: 0;
  right: 10%;

  animation: blobMove2 22s linear infinite;
}

.blob-3 {
  width: 180px;
  height: 180px;

  background: #6f7350;

  top: 50%;
  right: 30%;

  animation: blobMove3 16s linear infinite; 
}

@keyframes blobMove1 {
  0% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, 30px) scale(1.08); }
  50% { transform: translate(80px, 0) scale(1); }
  75% { transform: translate(40px, -30px) scale(1.12); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes blobMove2 {
  0% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-30px, -40px) scale(1.1); }
  50% { transform: translate(-70px, 0) scale(1); }
  75% { transform: translate(-30px, 40px) scale(1.08); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes blobMove3 {
  0% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(25px, -25px) scale(1.15); }
  50% { transform: translate(50px, 0) scale(1); }
  75% { transform: translate(25px, 25px) scale(1.12); }
  100% { transform: translate(0, 0) scale(1); }
}

.alerta-formulario {
  position: fixed;
  top: 90px;
  right: 25px;
  background-color: #828854;
  color: white;
  padding: 14px 22px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  z-index: 999999;
}

@keyframes aparecerAlerta {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

/* boton de whatsapp*/

.btn-whatsapp {
  position: fixed;

  bottom: 25px;
  right: 25px;

  width: 65px;
  height: 65px;

  border-radius: 50%;

  background-color: #25D366;

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;
  font-size: 34px;

  text-decoration: none;

  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);

  z-index: 9998;

  transition: all 0.3s ease;
   opacity: 0.95;
}

.btn-whatsapp:hover {
  transform: translateY(-5px) scale(1.08);

  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.55);
}

.btn-whatsapp::before {
  content: "";

  position: absolute;

  width: 100%;
  height: 100%;

  border-radius: 50%;

  border: 2px solid #25D366;

  animation: pulseWhatsapp 2s infinite;
}

@keyframes pulseWhatsapp {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  70% {
    transform: scale(1.45);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@media (max-width: 1024px) {
  .card-servicio {
    overflow: hidden !important;
  }

  .card-servicio img,
  .card-servicio .formas-card,
  .card-servicio .card-texto,
  .card-servicio .flecha-card {
    transition: 0.45s ease !important;
  }

  /* Estado cerrado */
  .card-servicio .card-texto {
    bottom: -30px !important;
    transform: none !important;
  }

  .card-servicio .card-texto p {
    opacity: 0 !important;
    transform: translateY(12px) !important;
  }

  .card-servicio .flecha-card {
    bottom: 10px !important;
    transform: rotate(180deg) !important;
  }

  .card-servicio img {
    transform: scale(1) !important;
  }

  .card-servicio::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(11, 15, 13, 0.18);
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    transition: 0.45s ease;
  }

  /* Estado abierto */
  .card-servicio.card-mobile-abierta {
    transform: scale(0.98) !important;
  }

  .card-servicio.card-mobile-abierta img {
    transform: scale(1.08) !important;
    filter: brightness(0.75);
  }

  .card-servicio.card-mobile-abierta .formas-card {
    transform: translateY(-50px) !important;
  }

  .card-servicio.card-mobile-abierta .card-texto {
    bottom: 25px !important;
    transform: none !important;
  }

  .card-servicio.card-mobile-abierta .card-texto p {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .card-servicio.card-mobile-abierta .flecha-card {
    bottom: 82px !important;
    transform: rotate(180deg) !important;
    background: rgba(130, 136, 84, 0.32);
  }

  .card-servicio.card-mobile-abierta::after {
    opacity: 1;
  }

  .card-servicio.card-mobile-abierta .card-texto,
  .card-servicio.card-mobile-abierta .flecha-card {
    z-index: 5;
  }

  .card-servicio:hover {
    transform: none !important;
  }

  .card-servicio:hover img,
  .card-servicio:hover .formas-card,
  .card-servicio:hover .card-texto {
    transform: none;
  }
}

@media (max-width: 1250px) and (min-width: 1025px) {
  .container {
    width: 94%;
    gap: 45px;
  }

  .nav ul {
    gap: 35px;
    margin-left: 0;
  }

  .btn-header {
    margin-left: 200px;
    min-width: 175px;
    padding: 10px 16px;
    font-size: 14px;
    text-align: center;
    line-height: 1.2;
  }

  .logo-text {
    font-size: 14px;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-servicio:nth-child(5),
  .card-servicio.card-5 {
    grid-column: 1 / -1;
    justify-self: center;
  }
}