* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
   margin: 0;
  line-height: 1.6;
  color: #000000;
  min-height: 100vh;
  position: relative;
  padding-top: 19vh; /* 10% de la altura de la pantalla */
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="mesh" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M0 30h60M30 0v60" stroke="%23000000" stroke-width="0.5" opacity="0.02"/></pattern></defs><rect width="60" height="60" fill="url(%23mesh)"/></svg>')
    repeat;
  pointer-events: none;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.header {
  text-align: center;
  margin-bottom: 65px;
  position: relative;
}
.header::after {
  content: "";
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 3px;
  background: linear-gradient(90deg, #404040, #000000, #404040);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
h1 {
   font-size: 4rem;
  color: #000000;
  margin-bottom: 15px;
  font-weight: 600;
  letter-spacing: 3px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.subtitle {
  font-size: 1.6rem;
  color: #2a2a2a;
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}
.hero-section {
  background: rgba(255, 255, 255, 0.95);
  padding: 60px;
  border-radius: 24px;
  margin-bottom: 55px;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: -35%;
  left: -30%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-slow 26s ease-in-out infinite;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-title {
  font-size: 2.7rem;
  color: #000000;
  margin-bottom: 25px;
  font-weight: 500;
  line-height: 1.3;
}
.hero-text {
  font-size: 1.3rem;
  color: #1a1a1a;
  line-height: 1.8;
  max-width: 850px;
  margin: 0 auto;
}
.services-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 35px;
  margin-bottom: 55px;
}
.service-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 45px 35px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, #000000, transparent);
  transition: left 0.6s ease;
}
.service-card:hover::before {
  left: 100%;
}
.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}
.service-icon {
  width: 65px;
  height: 65px;
  margin: 0 auto 25px;
  stroke: #000000;
  fill: none;
  stroke-width: 1.5;
  transition: transform 0.3s ease;
}
.service-card:hover .service-icon {
  transform: scale(1.15) rotate(-8deg);
}
.service-card h3 {
  font-size: 1.6rem;
  color: #000000;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.4;
}
.service-card p {
  color: #333333;
  line-height: 1.7;
  font-size: 1.1rem;
}
.advantages-section {
  background: rgba(248, 250, 252, 0.9);
  padding: 55px;
  border-radius: 22px;
  margin-bottom: 55px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(8px);
}
.advantages-title {
  font-size: 2.4rem;
  color: #000000;
  text-align: center;
  margin-bottom: 45px;
  font-weight: 500;
  position: relative;
}
.advantages-title::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: #000000;
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}
.advantage-item {
  display: flex;
  align-items: center;
  padding: 25px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  transition: all 0.3s ease;
  border-left: 5px solid #000000;
}
.advantage-item:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateX(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
.advantage-item::before {
  content: "▸";
  color: #000000;
  font-size: 1.2rem;
  margin-right: 20px;
  transition: transform 0.3s ease;
}
.advantage-item:hover::before {
  transform: translateX(5px);
}
.advantage-item span {
  color: #000000;
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 500;
}
.contact-section {
  background: rgba(255, 255, 255, 0.9);
  padding: 50px;
  border-radius: 20px;
  margin-bottom: 50px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}
.contact-title {
  font-size: 2.2rem;
  color: #000000;
  margin-bottom: 25px;
  font-weight: 500;
}
.contact-text {
  font-size: 1.2rem;
  color: #333333;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 35px;
}
.contact-button {
  background: #000000;
  color: white;
  padding: 18px 40px;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  /*text-transform: uppercase;*/
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.contact-button:hover {
  background: #ffffff;
  color: #000000;
  border:1px solid #000000;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}
.final-section {
  background: linear-gradient(
    150deg,
    #000000 0%,
    #1a1a1a 25%,
    #2d2d2d 55%,
    #404040 80%,
    #525252 100%
  );
  color: white;
  padding: 65px;
  border-radius: 0px 0px 0 0px;
  text-align: center;
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}
.final-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px
  );
  background-size: 32px 32px;
  animation: gentle-drift 19s ease-in-out infinite;
}
.final-content {
  position: relative;
  z-index: 2;
}
.final-section h2 {
  font-size: 2.8rem;
  margin-bottom: 25px;
  font-weight: 400;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}
.final-section p {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}
#modalGeneral {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#modalGeneral.show {
  display: block;
  opacity: 1;
  visibility: visible;
}
#modalGeneral .wpforms-container {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  width: 100%;
  height: auto;
  min-height: 75%;
  max-width: 75%;
  border-radius: 8px;
}
#modalGeneral .closeModal {
  float: right;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
}
#i9qf {
  display: none;
}
#i6qx9 {
  color: white;
}
#ixilc {
  color: white;
}
@keyframes pulse-slow {
  0%,
  100% {
    transform: translateY(0px) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-25px) scale(1.15);
    opacity: 0.2;
  }
}
@keyframes gentle-drift {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-22px) rotate(180deg);
    opacity: 0.2;
  }
}
@keyframes pentagon-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  .container {
    /* padding: 35px 15px; */
  }
  h1 {
    font-size: 2.8rem;
    letter-spacing: 1px;
  }
  .subtitle {
    font-size: 1.3rem;
  }
  .services-section {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .hero-section {
    padding: 40px;
  }
  .service-card {
    padding: 40px;
  }
  .advantages-section {
    padding: 40px;
  }
  .contact-section {
    padding: 40px;
  }
  .final-section {
    padding: 40px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  #modalGeneral .wpforms-container {
    max-width: 90%;
  }
}


@media (max-width: 768px) {
  body {
    padding-top: 100px;
  }
 h1 {
    font-size: 2.8rem;
    letter-spacing: 2px;
  }
  .subtitle {
    font-size: 1.3rem;
  }
 .hero-text {
    font-size: 1.1rem;
    color: #1a1a1a;
    line-height: 1.5;
    max-width: 850px;
    margin: 0 auto 40px;
  }
}