/* NUEVO CSS 'GUIA DE AYUDA'
----------------------------------*/

* {
  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;
  /* padding: 50px 20px; */
  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: 170px;
  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.94);
  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: -30%;
  left: -25%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
  border-radius: 50%;
  animation: slow-drift 16s ease-in-out infinite;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-title {
  font-size: 2.6rem;
  color: #000000;
  margin-bottom: 25px;
  font-weight: 500;
  line-height: 1.3;
}
.hero-text {
  font-size: 1.3rem;
  color: #1a1a1a;
  line-height: 1.2;
  max-width: 850px;
  margin: 0 auto 40px;
}
.guides-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 55px;
}
.guide-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 50px 40px;
  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;
}
.guide-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;
}
.guide-card:hover::before {
  left: 100%;
}
.guide-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}
.guide-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 25px;
  stroke: #000000;
  fill: none;
  stroke-width: 1.5;
  transition: transform 0.3s ease;
}
.guide-card:hover .guide-icon {
  transform: scale(1.15) rotate(5deg);
}
.guide-card h3 {
  font-size: 1.7rem;
  color: #000000;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.4;
}
.guide-card p {
  color: #333333;
  line-height: 1.7;
  font-size: 1.1rem;
  margin-bottom: 0;
}
.guide-button {
  background: #000000;
  color: white;
  padding: 20px 50px;
  border: none;
  border-radius: 12px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  /*text-transform: uppercase;*/
  letter-spacing: 2px;
  margin: 40px auto 0;
  display: block;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.guide-button:hover {
  background: #fdfdfd;
  border:1px solid black;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}
.cta-section {
  text-align: center;
  margin-bottom: 55px;
}
.feature-item:hover::before {
  transform: translateX(5px);
}
.feature-item span {
  color: #000000;
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 500;
}
.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-star {
  position: absolute;
  top: 90px;
  right: 90px;
  width: 90px;
  height: 90px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
  animation: rotate-star 28s linear infinite;
}
.decorative-star::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}
#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;
}
#modalGeneral {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
@keyframes slow-drift {
  0%,
  100% {
    transform: translateY(0px) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-22px) scale(1.1);
    opacity: 0.2;
  }
}
@keyframes float-dots-final {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-25px) rotate(180deg);
    opacity: 0.2;
  }
}
@keyframes rotate-star {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.8rem;
    letter-spacing: 1px;
  }
  .subtitle {
    font-size: 1.3rem;
  }
  .guides-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-section {
    padding: 40px;
  }
  .guide-card {
    padding: 40px;
  }
  .decorative-star {
    display: none;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  #modalGeneral .wpforms-container {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 100px;
  }
  .services-section p {
    text-align: left;
  }
}
