body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #040a24;
  color: #fff;
  height: 100%;
}
.logo {
  background-image: url('../assets/img/logo.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  height: 90px;
  width: 90px;
  margin-left: 30px;
}
footer{
  text-align: center;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.header.scrolled {
  background-color: #040a24; /* o rgba(0,0,0,0.85) si quieres semi-transparente */
}
.nav{
  padding-right: 5rem;
}
.nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.hero {
  background:url('../assets/img/mansionfont.png') no-repeat center center/cover;
  height: 180vh;
}
.hero-content{
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.hero h1 {
  text-align: center;
  font-size: 3rem;
  max-width: 600px;
  margin-bottom: 1rem;
  font-weight: bold;
}
.btn {
  background-color: #06335b9d;
  color: white;
  padding: 0.8rem 4rem;
  text-decoration: none;
  border-radius: 20px;
  font-weight: bold;
  text-align: center;
}
.intro {
  margin-top: -80vh;
  top: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../assets/img/house_fondo_intro.png'); /* <- tu imagen */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 60vh;
  padding: 2rem;
}
.intro-content {
  position: relative;
  width: 100%;
  max-width: 1000px;
  padding: 2rem;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.6); /* Más visible sobre la imagen */
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  color: #fff;
}
.intro-icono {
  position: absolute;
  background-image: url('../assets/img/icono.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  height: 90px;
  width: 90px;
  right: -40px;
  bottom: -40px;
}

.intro-content h4 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.intro-content p {
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1.6;
}

.servicios {
  margin-top: 20vh;
}

.servicios-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.servicios-img {
  background-image: url('../assets/img/house1.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: 80vh;
  width: 50%;
  min-width: 300px;
}

.servicios-text {
  width: 50%;
  min-width: 300px;
}

.servicios-pregunta {
  background: rgba(17, 63, 137, 0.619);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 10vh;
  width: 95%;
}

.servicios-grid {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
}

.servicioItem {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.icono-item {
  background-image: url('../assets/img/icono.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  height: 30px;
  width: 30px;
}

.planes-img {
  width: 100%;
  overflow: hidden;
}

.planes-img img {
  width: 100%;
  height: auto;
  display: block;
}

.planes{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 5rem 1rem 5rem;
}
.planes-title{
  background: #162845;
  padding: 1rem 5rem 1rem 5rem;
}
.planes-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}
.plan {
  flex: 1 1 230px;
  max-width: 340px;
  background-color: #1b2d4a;
  padding: 2rem;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}
.plan h3 {
  font-size: 1.4rem;
  color: #cfd6e1;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.plan p {
  font-weight: bold;
  font-size: 1rem;
  color: #ffffff;
}
.plan strong {
  font-size: 1.8rem;
  color: #ffffff;
  display: block;
  margin-top: 1rem;
}
.vector{
  position: absolute;
  bottom: 0.5rem;
  right: 0.2rem;
  background-image: url('../assets/img/VECTOR.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  height: 80px;
  width: 80px;
}

.casos{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 10vh;
}
.casos-img{
  background-image: url('../assets/img/house2.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size:cover;
  height: 60vh;
  width: 65%;
  
}
.casos-content{
  display: flex;
  flex-direction: row;
  padding: 1rem 7rem 1rem 7rem;
  p{
    text-align: center;
    width: 35%;
    padding: 4rem 2rem 1rem 2rem;
    font-size: 30px;
    font-weight: bold;
  }
}
.testimonios{
  position: relative;
  margin-top: -30vh;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  margin-left: 20%;
}
.testimonio{
  background: black;
  height: 40vh;
  width: 40%;
  border-radius: 10px;
  border: 2px solid white;
  display: flex;
  flex-direction: row;
  padding: 4rem 3rem 3rem 3rem;
  p{
    font-size: 35px;
    text-align: start;
  }
}

.comillas{
  background-image: url('../assets/img/comillas.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: 50px;
  width: 220px;
  margin-top: -20px;
}
.contacto{
  height: 100vh;
  padding: 7rem 7rem 1rem 7rem;
}
.contacto-img{
  background-image: url('../assets/img/house3.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: 70%;
  width: 100%;
 
}
.contacto-form{
  position: relative;
  width: 62%;
  height: 65%;
  top: -50%;
  left: 35%;
  padding: 2rem;
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.178);
  border-radius: 10px;
  color: white;
  border: 1px solid gray;
}

.contacto-form h2 {
  text-align: left;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 3px solid white;
  padding: 0.7rem 0;
  color: white;
  font-size: 1rem;
  outline: none;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

button {
  align-self: center;
  margin-top: 2rem;
  background-color: #1c2a44;
  padding: 1rem 3rem;
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #2f4060;
}
.data{
  display:flex;
  flex-direction: row;
  gap: 30px;
}

@media (max-width: 768px) {
  .casos-content {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }

  .casos-content p {
    width: 100%;
    padding: 1rem;
    font-size: 24px;
    text-align: center;
  }

  .casos-img {
    width: 100%;
    height: 40vh;
  }
  .casos{
    margin: 2rem;
  }
  .testimonios {
    flex-direction: column;
    align-items: center;
    margin-left: 0;
    margin-top: 2rem;
    gap: 2rem;
  }

  .testimonio {
    width: 80%;
    height: auto;
  }

  .testimonio p {
    font-size: 20px;
    text-align: center;
  }

  .comillas {
    width: 50px;
    height: 27px;
    margin-top: 0;
    margin-right: 10px;
  }

  .contacto {
    padding: 3rem;
    height: auto;
  }

  .contacto-img {
    height: 30vh;
  }

  .contacto-form {
    width: 90%;
    transform: none;
    margin-top: 2rem;
    padding: 1.5rem;
    left: 0;
    top: 0;
  }

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

  .data input {
    width: 100%;
  }

  input {
    font-size: 1rem;
  }

  button {
    width: 100%;
  }
  .intro {
    margin-top: -60vh;
    padding: 1rem;
    background-position: center top;
    min-height: 50vh;
  }

  .intro-content {
    padding: 1rem;
  }

  .intro-content h4,
  .intro-content p {
    text-align: center;
    font-size: 1rem;
  }

    .intro-icono {
    position: static;
    margin: 1rem auto 0 auto;
    display: block;
    height: 60px;
    width: 60px;
    transform: none; /* anula el translate anterior */
  }

  .servicios-content {
    flex-direction: column;
    padding: 1rem;
  }

  .servicios-img {
    width: 90%;
    height: 35vh;
    margin-bottom: 1rem;
  }

  .servicios-text {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .servicios-pregunta {
    width: 80%;
    height: auto;
    padding: 1rem;
    text-align: center;
  }

  .servicios-pregunta h1 {
    font-size: 1.2rem;
  }

  .servicios-grid {
    align-items: center;
    width: 100%;
  }

  .servicioItem {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    padding: 0 1rem;
    width: 100%;
  }

  .servicioItem h3 {
    font-size: 1rem;
    text-align: left;
  }

  .icono-item {
    height: 24px;
    width: 24px;
  }
   .planes {
    padding: 1rem;
  }
}
