* {
  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;
  z-index: 1;
}
.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: 150px;
  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: 20px;
  font-weight: 600;
  letter-spacing: 3px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
.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;
  bottom: -35%;
  left: -25%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.025) 0%, transparent 70%);
  border-radius: 50%;
  animation: wave-motion 18s 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(330px, 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(-5deg);
}
.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;
}
.commitment-section {
  background: rgb(0 0 0 / 98%);
  padding: 55px;
  border-radius: 22px;
  margin-bottom: 55px;
  border: 1px solid black;
  backdrop-filter: blur(8px);
}
.commitment-title {
  font-size: 2.4rem;
  color: #ffffff;
  text-align: center;
  margin-bottom: 45px;
  font-weight: 500;
  position: relative;
}
.commitment-title::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: #ffffff;
}
.commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}
.commitment-item {
  display: flex;
  align-items: center;
  padding: 25px;
  background: rgba(255, 255, 255, 1);
  border-radius: 15px;
  transition: all 0.3s ease;
  border-left: 5px solid #000000;
}
.commitment-item:hover {
  background: rgba(255, 255, 255, 0.98);
  transform: translateX(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
.commitment-item::before {
  content: "✓";
  color: #000000;
  font-size: 1.2rem;
  font-weight: bold;
  margin-right: 20px;
  transition: transform 0.3s ease;
}
.commitment-item:hover::before {
  transform: scale(1.2);
}
.commitment-item span {
  color: #000000;
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 500;
}
.guarantee-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;
}
.guarantee-title {
  font-size: 2.2rem;
  color: #000000;
  margin-bottom: 25px;
  font-weight: 500;
}
.guarantee-text {
  font-size: 1.2rem;
  color: #333333;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 35px;
}
.guarantee-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);
}
.guarantee-button:hover {
  background: #333333;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}
.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;
}
.decorative-diamond {
  position: absolute;
  top: 80px;
  right: 90px;
  width: 100px;
  height: 100px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  transform: rotate(45deg);
  animation: diamond-float 25s ease-in-out infinite;
}
.decorative-diamond::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 25px;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  transform: rotate(45deg);
}
#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;
}
@keyframes wave-motion {
  0%,
  100% {
    transform: translateX(0px) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: translateX(30px) scale(1.1);
    opacity: 0.2;
  }
}
@keyframes pulse-pattern {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-25px) rotate(180deg);
    opacity: 0.2;
  }
}
@keyframes diamond-float {
  0%,
  100% {
    transform: rotate(45deg) translateY(0px);
  }
  50% {
    transform: rotate(225deg) translateY(-20px);
  }
}
@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;
  }
  .commitment-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .hero-section {
    padding: 40px;
  }
  .service-card {
    padding: 40px;
  }
  .commitment-section {
    padding: 40px;
  }
  .guarantee-section {
    padding: 40px;
  }
  .decorative-diamond {
    display: none;
  }
  .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: 1px;
  }
  .subtitle {
    font-size: 1.3rem;
  }
  .hero-text {
    font-size: 1.3rem;
    color: #1a1a1a;
    line-height: 1.2;
    max-width: 850px;
    margin: 0 auto 40px;
  }
  .services-section p {
    text-align: left;
  }
}
