@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  /* --primary-color: #FF7891; */
  --primary-color: rgb(226, 42, 75);
  --primary-color-dark: rgb(226, 42, 75);
  --text-dark: #262626;
  --text-light: #737373;
  --extra-light: #e5e5e5;
  --white: #ffffff;
  --max-width: 1200px;
}

.float_wpp{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	/* box-shadow: 2px 2px 3px #999; */
  z-index:100;
  padding-top: .4rem;
}

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

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem 0 1rem;
}

.section__header {
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  line-height: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  text-align: center;
}

.section__header span {
  color: var(--primary-color);
}

.section__description {
  max-width: 600px;
  margin-inline: auto;
  color: var(--text-dark);
  line-height: 1.75rem;
  text-align: center;
}

.btn {
  width: 150px;
  padding: 1rem 2rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 5px;
  transition: 0.3s;
  cursor: pointer;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

.banner {
  position: relative;
  background-color: var(--primary-color);
  width: 100%;
  padding: 22px 0;
  text-align: center;
  width: 100%;
  z-index: 9999 !important;
}

.banner span.new {
  font-size: 13px;
  font-weight: 700;
  color: #000;
  background: #fff;
  padding: 3px 7px;
  border-radius: 50px;
  line-height: 18px;
}

.banner span.main-text {
  font-size: 14px;
}

nav {
  position: absolute; /* Empieza debajo del banner */
  left: 0;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  z-index: 9;
  transition: top 0.3s ease-in-out;
}

nav.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--extra-light); 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

/* nav {
  position: fixed;
  isolation: isolate;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  z-index: 9;
} */

.nav__header {
  padding: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--extra-light);
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

.nav__links {
  position: absolute;
  top: 65px;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  background-color: var(--extra-light);
  transition: 0.5s;
  z-index: -1;
  transform: translateY(-100%);
}

.nav__links.open {
  transform: translateY(0);
}

.nav__links a {
  font-weight: 500;
  color: var(--text-dark);
}

.nav__links a:hover {
  color: var(--primary-color);
}

.header__container {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 6rem !important;
}

.pre__header {
  max-width: fit-content;
  margin-inline: auto;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #DF3603;
  background-color: #fff8f5;
  border-radius: 5rem;
}

.pre__header img {
  max-width: 25px;
}

.header__container h1 {
  margin-bottom: 1rem;
  /* font-size: 4rem; */
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  text-align: center;
  /* line-height: 5.5rem; */
  line-height: 4rem;
}

.header__container h1 span {
  color: var(--primary-color);
}

.header__container p {
  margin-bottom: 2rem;
  max-width: 700px;
  margin-inline: auto;
  color: var(--text-dark);
  line-height: 2rem;
  text-align: center;
}

.header__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.header__btns a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
}

.header__btns a span {
  padding: 5px 11px;
  font-size: 1.5rem;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 100%;
  transition: 0.3s;
}

.header__btns a:hover span, .btn__shadow:hover {
  box-shadow: 2px 2px 10px rgba(106, 56, 194, 0.5);
}

.service__grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.service__card {
  padding: 1rem;
  border-radius: 5px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.service__card__title {
  text-transform: uppercase;
  text-align: center;
  font-size: 1rem;
}

.service__card__btn {
  width: 100%;
  background-color: var(--primary-color);
  border-radius: 50px;
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 10px;
  text-align: center;
}

.service__card__img {
  margin: 1rem 0;
}

.service__btn {
  text-align: center;
}

#clients {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.clients__grid {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}

.client__card {
  width: 300px;
  height: 380px;
  padding: 1rem;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.client__card img {
  max-width: 80px;
  margin-inline: auto;
  margin-bottom: 1rem;
  border-radius: 100%;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.client__card p {
  margin-bottom: 1rem;
  line-height: 1.75rem;
  color: var(--text-dark);
  text-align: center;
}

.client__ratings {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.client__ratings span {
  color: goldenrod;
}

.client__card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
}

.client__card h4 a {
  text-decoration: underline;
}

.client__card h5 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
  text-align: center;
}

footer {
  background-color: rgb(226, 42, 75);
}

.footer__logo {
  margin-bottom: 2rem;
}
.footer__container {
  display: flex;
  flex-direction: column;
  padding-top: 2rem !important;
  color: var(--white);
  margin-bottom: 0;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__links a {
  color: var(--white);
}

.footer__links a:hover {
  color: var(--text-dark);
}

.footer__links a span {
  font-size: 1.25rem;
}

.footer__bar {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--white);
  text-align: center;
}

@media (width > 540px) {
  .service__grid, .clients__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .clients__grid {
    gap: 3rem;
  }

  .footer__logo {
    margin-bottom: 0;
  }
  .footer__container {
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 2rem;
  }
  .footer__links {
    flex-direction: row;
    align-items:flex-start;
  }
  .banner span.main-text {
    font-size: 18px;
  }
}

@media (width > 768px) {
  .header__container {
    padding-top: 1rem !important;
  }
  nav {
    position: static;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .nav__header {
    padding: 0;
    background-color: transparent;
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    position: static;
    padding: 0;
    flex-direction: row;
    justify-content: flex-end;
    background-color: transparent;
    transform: none;
    z-index: 11;
  }

  .service__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .clients__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service__card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

@media (width > 1024px) {
  .header__container h1 {
    font-size: 4rem;
    line-height: 5.5rem;
  }
  .header__container p {
    font-size: 1.2rem !important;
  }
}
