* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "HostGrotesk";
  /* background-color: #fff; */
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  background-color: rgb(255, 255, 255);
  overflow-x: hidden;
  overflow: hidden;
  background: #fff;
}

#main {
  background: #fff;
  transform: translateZ(0);
}

.intro {
  position: fixed;
  z-index: 999999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: #103fee;
  transition: 1s;
}

.intro.intro--hidden {
  display: none;
}

.logo-header {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
}

.logo {
  position: relative;
  display: inline-block;
  bottom: -20px;
  opacity: 0;
  font-size: 80px;
}

.logo.active {
  bottom: 0;
  opacity: 1;
  transition: ease-in-out 0.5s;
}

.logo.fade {
  bottom: 150px;
  opacity: 0;
  transition: ease-in-out 0.5s;
}

nav {
  position: fixed;
  display: flex;
  align-items: flex-start;
  height: 60px;
  width: 100%;
  z-index: 9999;
  padding: 10px 600px;
  justify-content: center;
  background-color: white;
  overflow: hidden; /* clave para que el dropdown sea "parte" del nav */
  border-bottom: 1px solid black;
}

.nav2 {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 10px;
  position: relative;
  z-index: 10;
  z-index: 10000;
}

.nav2,
.nav2 * {
  pointer-events: auto;
}

.nav2 h4 {
  font-size: 17px;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 50px;
  pointer-events: none;
  display: flex;
  flex-direction: row;
}

.nav2 h5 {
  margin-bottom: 10px;
  max-width: 70px;
  word-wrap: break-word;
  cursor: pointer;
  display: none;
}

.nav2 h5 span {
  display: inline-block;
  font-size: 14px;
  font-weight: 570;
  overflow: hidden;
  transform: translateY(25px);
  opacity: 0;
}

#nav-bottom {
  width: 100%;
  height: 0%;
  position: absolute;
  background-color: white;
  top: 60px;
  left: 0;
  z-index: 1;
  border-bottom: 1px solid black;
  pointer-events: none;
}

#four a,
#four a:visited {
  color: #000;
  text-decoration: none;
}

#four a:hover {
  color: #000; /* o cambiá si querés hover */
  text-decoration: none;
}

#page1 {
  height: 75vh;
  width: 100%;
  background: transparent;
}

:root {
  --accent: #103fee; /* azul dnet */
  --bg: #f5f7fb; /* fondo claro para secciones */
  --text: #0b1220;
}

/* HERO */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: clamp(96px, 10vh, 140px) 24px 170px;

  background-image: url("./fotopj.webp");
  background-size: cover;
  background-repeat: no-repeat;

  /* BAJAR un toque la imagen */
  background-position: center 30%;

  overflow: hidden;

  background-color: transparent;
}

/* Overlay para legibilidad (más fino que el anterior) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      1200px 600px at 15% 35%,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.25) 45%,
      rgba(0, 0, 0, 0.05) 100%
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.58) 0%,
      rgba(0, 0, 0, 0.22) 55%,
      rgba(0, 0, 0, 0.1) 100%
    );
}

/* Fade hacia el fondo claro para que testimonios no "choquen" */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 520px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.04) 15%,
    rgba(255, 255, 255, 0.1) 28%,
    rgba(255, 255, 255, 0.2) 40%,
    rgba(255, 255, 255, 0.35) 52%,
    rgba(255, 255, 255, 0.52) 63%,
    rgba(255, 255, 255, 0.68) 74%,
    rgba(255, 255, 255, 0.82) 84%,
    rgba(255, 255, 255, 0.93) 92%,
    #fff 100%
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  max-width: 640px;
  margin-left: clamp(0px, 4vw, 70px);
  color: #fff;
}

/* BADGE */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);

  margin-bottom: 14px;
  font-size: 0.92rem;
}

.hero__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.22);
}

.hero__badgeStrong {
  font-weight: 750;
}

.hero__sep {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.25);
}

.hero__badgeText {
  opacity: 0.95;
}

/* TITULO + SUB */
.hero__title {
  margin: 0 0 12px;
  font-size: clamp(2.1rem, 4.2vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  margin: 0 0 22px;
  max-width: 56ch;
  font-size: clamp(1.02rem, 1.35vw, 1.15rem);
  line-height: 1.55;
  opacity: 0.92;
}

/* BOTONES (mejor hover, sin “shine raro”) */
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  cursor: pointer;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.2px;

  transform: translateY(0);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease;
  will-change: transform;
}

.btn:focus-visible {
  outline: 3px solid rgba(47, 107, 255, 0.55);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  background: #255ff2; /* un toque más oscuro */
}

.btn--primary:active {
  transform: translateY(0px) scale(0.98);
}

.btn--secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}

.btn--secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.btn--secondary:active {
  transform: translateY(0px) scale(0.98);
}

/* Reducir animaciones si el usuario lo pide */
@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}

#page2 {
  width: 100vw;
  justify-content: center;
  justify-items: center;
  align-items: center;
  height: 35vh; /* en vez de 0 */
  position: relative;
  background: transparent;
}

.testimonial-section {
  float: none;
  position: relative;
  padding: 30px 0;
  z-index: 1;
  width: 100%;
  z-index: 1000;
  top: -180px;
  height: 30vh;
}

.swiper-container {
  width: 100%;
  height: 100%;
}

.listing-carousel-button {
  position: absolute;
  top: 51%;
  width: 80px;
  height: 50px;
  line-height: 50px;
  margin-top: -25px;
  z-index: 100;
  cursor: pointer;
  background: #103fee;
  box-shadow: 0 9px 26px rgba(58, 87, 135, 0.45);
  transition: all 200ms linear;
  outline: none;
  align-items: center;
  justify-content: center;
  display: flex;
}
.listing-carousel-button.listing-carousel-button-next {
  right: -30px;
  padding-right: 20px;
  border-radius: 60px 0 0 60px;
}
.listing-carousel-button.listing-carousel-button-prev {
  left: -30px;
  padding-left: 20px;
  border-radius: 0 60px 60px 0;
}
.listing-carousel-button.listing-carousel-button-next:hover {
  right: -15px;
  background: rgba(6, 27, 65, 0.4);
}
.listing-carousel-button.listing-carousel-button-prev:hover {
  left: -15px;
  background: rgba(6, 27, 65, 0.4);
}
.testi-item {
  transition: all 0.3s ease-in-out;
  transform: scale(0.9);
  opacity: 1;
  border: 1px solid black;
  border-radius: 10px;
}
.testimonials-text {
  padding: 75px 50px 75px;
  overflow: hidden;
  background: #f5f6fa;
  border: 1px solid #f1f1f1;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}
.testimonials-text-after {
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  position: absolute;
  color: #ccc;
  opacity: 0.3;
  font-size: 35px;
  transition: all 400ms linear;
  bottom: 25px;
  right: 30px;
}
.testimonials-text-before {
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  position: absolute;
  /* color: #ccc; */
  color: #ccc;
  opacity: 0.3;
  font-size: 35px;
  transition: all 400ms linear;
  top: 25px;
  left: 30px;
}
.testimonials-text .listing-rating {
  float: none;
  display: inline-block;
  margin-bottom: 12px;
}
.listing-rating i {
  color: #103fee;
}
.testimonials-avatar h3 {
  font-weight: 600;
  color: #7d93b2;
  font-size: 18px;
}
.testimonials-avatar h4 {
  font-weight: 400;
  font-size: 12px;
  padding-top: 6px;
  color: #103fee;
}
.testimonials-carousel .swiper-slide {
  padding: 30px 0;
}
/*
.testi-avatar{
	position: absolute;
	left: 50%;
	top: -30px;
	width: 90px;
	height: 90px;
	margin-left: -45px;
	z-index: 20;
}
.testi-avatar img{
	width: 90px;
	height: 90px;
	float: left;
	border-radius: 100%;
	border:6px solid #fff;
	box-shadow: 0 9px 26px rgba(58, 87,135,0.1);
}
*/
.swiper-slide-active .testimonials-text {
  background: #fff;
  box-shadow: 0 9px 26px rgba(58, 87, 135, 0.1);
}
.testimonials-text p {
  color: #878c9f;
  font-size: 14px;
  font-family: "Hostgrotesk2";
  font-style: italic;
  line-height: 24px;
  padding-bottom: 10px;
  font-weight: 500;
}
/*
.text-link{
	position: absolute;
	bottom:0;
	padding: 15px 0;
	border-radius: 10px 10px 0 0;
	background: #f9f9f9;
	border:1px solid #eee;
	box-shadow: 0 10px 15px rgba(0,0,0,0.03);
	left: 50%;
	width: 200px;
	margin-left: -100px;
}
*/
.swiper-slide-active .testi-item {
  opacity: 1;
  transform: scale(1);
}
.tc-pagination {
  display: flex; /* Use flexbox for alignment */
  justify-content: center; /* Center the pagination horizontally */
  float: left;
  margin-top: 1px;
  width: 100% !important;
}
.tc-pagination_wrap {
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
}

.tc-pagination2 {
  float: none;
  display: inline-block;
  padding: 14px 0;
  background: #fff;
  border-radius: 30px;
  min-width: 250px;
  border-bottom: 0;
}
.tc-pagination .swiper-pagination-bullet,
.tc-pagination2.swiper-pagination-bullet {
  opacity: 1;
  background: #384f95;
  margin: 0 2px;
  width: 10px;
  height: 10px;
  transition: all 300ms ease-in-out;
}

#page3 {
  height: 100vh;
  background-color: rgb(255, 255, 255);
  width: 100%;
  display: flex;
  align-items: flex-start;
  padding-top: 10px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text h1 {
  font-size: 2.5rem;
  font-weight: 100;
  font-family: "HostGrotesk3";
  font-style: normal;
  width: 100%;
}

.infrastructure-image {
  border-radius: 15px;
  border: 2px solid black;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  max-width: 100%;
}

@media (max-width: 1024px) {
  .hero-grid,
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-visual,
  .about-image {
    margin-top: 2rem;
  }
}

#page4 {
  padding: 0;
  margin: 0;
  height: 100vh;
  justify-self: center;
  align-items: center;
  width: 100%;
  justify-content: center;
  display: flex;
  background-color: rgb(255, 255, 255);
}

#page4 .section {
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  overflow-x: hidden;
  justify-content: center;
  align-items: center;
  background-color: rgb(255, 255, 255);
}

#page5 {
  height: 100vh;
  width: 100%;
}

#page5 h1 {
  position: relative;
  top: 5rem;
  left: 2rem;
  text-decoration: wavy;
}

#aligning {
  width: 100%;
  display: grid;
  gap: 34px;
  padding: 40px 0 0;
}

/* ===== LOGOS INFINITOS (4 por fila) ===== */
.brands {
  width: 100%;
  margin-top: 40px;
  display: grid;
  gap: 56px;
  /* este “truco” hace que quede al medio sin tocar el título */
  min-height: calc(
    110vh - 110px - 80px - 70px
  ); /* nav + bottom + margen estimado del h1 */
  align-content: center; /* centra verticalmente el grid */
}

.brand-group img {
  height: clamp(72px, 8vw, 115px); /* antes 56..90 */
}

.brand-marquee {
  width: min(1200px, 92vw);
  margin: 0 auto;
  overflow: hidden;
}

/* Track que movemos con JS */
.brand-track {
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.brand-group {
  flex: 0 0 var(--mw, 1000px);
  width: var(--mw, 1000px);
  display: flex;
  align-items: center;
  justify-content: space-between;

  /* 👇 ESTO crea espacio entre el último del grupo y el primero del siguiente */
  padding-right: 130px; /* probá 60px / 80px / 100px */
  box-sizing: border-box;
}

/* Logos en color real, sueltos */
.brand-group img {
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: none;
  opacity: 1;
}

/* ===== Fade lateral suave ===== */
.brand-marquee {
  position: relative;
  width: min(1200px, 92vw);
  margin: 0 auto;
  overflow: hidden;
}

/* gradiente a blanco (ajustá el ancho si querés) */
.brand-marquee::before,
.brand-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px; /* 80–160 según gusto */
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.brand-marquee::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.brand-marquee::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

#page6 {
  height: 100vh;
  width: 100%;
}

.container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 2rem;
  background-color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form {
  width: 1420px;
  height: 80vh;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.contact-form {
  background-color: #103fee;
  position: relative;
}

.circle {
  border-radius: 50%;
  background: linear-gradient(135deg, transparent 20%, rgb(255, 255, 255));
  position: absolute;
}

.circle.one {
  width: 230px;
  height: 230px;
  top: 130px;
  right: -30px;
}

.circle.two {
  width: 120px;
  height: 120px;
  top: 10px;
  right: 70px;
}

.contact-form:before {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  background-color: #103fee;
  transform: rotate(45deg);
  top: 50px;
  left: -13px;
}

form {
  padding: 2.3rem 2.2rem;
  z-index: 10;
  overflow: hidden;
  position: relative;
}

.title {
  color: #fff;
  font-weight: 500;
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 2rem;
}

.input-container {
  position: relative;
  margin: 2rem 0;
}

.input {
  width: 100%;
  outline: none;
  border: 2px solid #fafafa;
  background: none;
  padding: 0.6rem 1.2rem;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border-radius: 25px;
  transition: 0.3s;
}

textarea.input {
  padding: 0.8rem 1.2rem;
  min-height: 250px;
  border-radius: 22px;
  resize: none;
  overflow-y: auto;
}

.input-container label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  padding: 0 0.4rem;
  color: #fafafa;
  font-size: 1rem;
  font-weight: 400;
  pointer-events: none;
  z-index: 1000;
  transition: 0.5s;
}

.input-container.textarea label {
  top: 1rem;
  transform: translateY(0);
}

#page6 .btn {
  padding: 0.6rem 1.3rem;
  background-color: #fff;
  border: 2px solid #fafafa;
  font-size: 0.95rem;
  color: #103fee;
  line-height: 1;
  border-radius: 25px;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
  margin: 0;
}

#page6 .btn:hover {
  background-color: transparent;
  color: #fff;
}

.input-container span {
  position: absolute;
  top: 0;
  left: 25px;
  transform: translateY(-50%);
  font-size: 0.8rem;
  padding: 0 0.4rem;
  color: transparent;
  pointer-events: none;
  z-index: 500;
}

.input-container span:before,
.input-container span:after {
  content: "";
  position: absolute;
  width: 10%;
  opacity: 0;
  transition: 0.3s;
  height: 5px;
  background-color: #103fee;
  top: 50%;
  transform: translateY(-50%);
}

.input-container span:before {
  left: 50%;
}

.input-container span:after {
  right: 50%;
}

.input-container.focus label {
  top: 0;
  transform: translateY(-50%);
  left: 25px;
  font-size: 0.8rem;
  background-color: #103fee;
  color: white;
  z-index: 1000;
  border-radius: 100px;
}

.input-container.focus span:before,
.input-container.focus span:after {
  width: 50%;
  opacity: 1;
}

.contact-info {
  padding: 2.3rem 2.2rem;
  position: relative;
}

.contact-info .title {
  color: #103fee;
}

.text {
  color: black;
  margin: 1.5rem 0 2rem 0;
  font-size: 1rem;
}

.information,
.information a {
  display: flex;
  color: black;
  margin: 0.7rem 0;
  align-items: center;
  font-size: 1rem;
  text-decoration: none;
}

.information i {
  width: 28px; /* Maintain a consistent width for icons */
  height: 28px; /* Ensures square dimensions */
  display: flex;
  justify-content: center; /* Center icon horizontally */
  align-items: center; /* Center icon vertically */
  margin-right: 0.7rem;
  color: #103fee; /* Icon color */
}

.social-media {
  padding: 2rem 0 0 0;
  font-size: 1rem;
}

.social-media p {
  color: black;
}

.social-icons {
  display: flex;
  margin-top: 0.8rem;
}

.social-icons a {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  border: 1px solid #103fee;
  color: #103fee;
  text-align: center;
  line-height: 35px;
  margin-right: 0.5rem;
  transition: 0.3s;
}

.social-icons a:hover {
  transform: scale(1.05);
}

.contact-info:before {
  content: "";
  position: absolute;
  width: 110px;
  height: 100px;
  border: 22px solid #103fee;
  border-radius: 50%;
  bottom: -77px;
  right: 50px;
  opacity: 0.8;
}

.big-circle {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: linear-gradient(to bottom, #4482fd, #103fee);
  bottom: 20%;
  right: 70%;
  transform: translate(-40%, 38%);
}

.big-circle:after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  background-color: #ffffff;
  border-radius: 50%;
  top: calc(50% - 180px);
  left: calc(50% - 180px);
}

.square {
  position: absolute;
  height: 400px;
  top: 50%;
  left: 65%;
  transform: translate(181%, 11%);
  opacity: 0.2;
}

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

  .contact-info:before {
    bottom: initial;
    top: -75px;
    right: 65px;
    transform: scale(0.95);
  }

  .contact-form:before {
    top: -13px;
    left: initial;
    right: 70px;
  }

  .square {
    transform: translate(140%, 43%);
    height: 350px;
  }

  .big-circle {
    bottom: 75%;
    transform: scale(0.9) translate(-40%, 30%);
    right: 50%;
  }

  .text {
    margin: 1rem 0 1.5rem 0;
  }

  .social-media {
    padding: 1.5rem 0 0 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1.5rem;
  }

  .contact-info:before {
    display: none;
  }

  .square,
  .big-circle {
    display: none;
  }

  form,
  .contact-info {
    padding: 1.7rem 1.6rem;
  }

  .text,
  .information,
  .social-media p {
    font-size: 0.8rem;
  }

  .title {
    font-size: 1.15rem;
  }

  .social-icons a {
    width: 30px;
    height: 30px;
    line-height: 30px;
  }

  .icon {
    width: 23px;
  }

  .input {
    padding: 0.45rem 1.2rem;
  }

  .btn {
    padding: 0.45rem 1.2rem;
  }
}

#successMessage {
  color: white;
  margin-left: 40px;
  font-weight: 500;
  font-size: 1rem;
}

#footer {
  position: relative;
  height: 40vh;
  width: 100%;
  display: flex;
  gap: 40px;
  justify-content: center;
}

.volver {
  position: fixed;
  text-transform: uppercase;
  bottom: 40px;
  font-weight: 100;
  font-size: 20px;
  cursor: pointer;
}

@font-face {
  font-family: "HostGrotesk";
  src: url("/fonts/HostGrotesk-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HostGrotesk2";
  src: url("/fonts/HostGrotesk-LightItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HostGrotesk3";
  src: url("/fonts/HostGrotesk-Regular.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Fondo sólido en secciones blancas */
#page2,
#page3,
#page4,
#page5,
#page6 {
  background: #fff;
  position: relative; /* importante para el parche de abajo */
}

/* Parche anti líneas por subpixeles (Locomotive) */
#page2::before,
#page3::before,
#page4::before,
#page5::before,
#page6::before,
#page2::after,
#page3::after,
#page4::after,
#page5::after,
#page6::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 4px; /* 2–6px */
  background: #fff;
  pointer-events: none;
  z-index: 9999;
}

#page2::before,
#page3::before,
#page4::before,
#page5::before,
#page6::before {
  top: -2px;
}
#page2::after,
#page3::after,
#page4::after,
#page5::after,
#page6::after {
  bottom: -2px;
}

/* ===============================
   FIX: recuperar fade + sacar línea blanca en testimonials
   =============================== */

/* 1) Si habías agregado el "parche anti-seam" con ::before/::after,
      lo desactivamos SOLO para page2 (porque se ve como línea blanca) */
#page2::before,
#page2::after {
  display: none !important;
}

/* 2) No pintes un bloque blanco en la capa que se sube sobre el hero */
.testimonial-section {
  background: transparent !important;
  position: relative; /* ya lo tenés, pero lo reafirmo */
}

/* 3) Fade real: de transparente (arriba, se ve la foto del hero)
      a blanco (abajo), detrás de las cards */
.testimonial-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 240px; /* ajustá 200–300 según tu top:-225 */
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.65) 55%,
    #fff 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* 4) Las cards arriba del fade */
.testimonials-carousel-wrap {
  position: relative;
  z-index: 1;
}

/* (Opcional) si ves un mini seam igual, solapá 2px sin afectar resize */
.testimonial-section {
  margin-top: -2px;
}
