/* NUEVO CSS 'ASESORAMIENTO'
----------------------------- */

* {
  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 */
}

.gjs-row {
  display: table;
  padding: 10px;
  width: 100%;
}
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: 160px;
  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: 2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
.subtitle {
  font-size: 1.6rem;
  color: #2a2a2a;
  font-weight: 300;
  max-width: 900px;
  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: -40%;
  right: -30%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
  border-radius: 50%;
  animation: orbit 20s linear 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.2;
  max-width: 850px;
  margin: 0 auto;
}
.services-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 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;
}
.expertise-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);
}
.expertise-title {
  font-size: 2.4rem;
  color: #000000;
  text-align: center;
  margin-bottom: 45px;
  font-weight: 500;
  position: relative;
}
.expertise-title::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: #000000;
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}
.expertise-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;
}
.expertise-item:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateX(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
.expertise-item::before {
  content: "●";
  color: #000000;
  font-size: 1.2rem;
  margin-right: 20px;
  transition: transform 0.3s ease;
}
.expertise-item:hover::before {
  transform: scale(1.3);
}
.expertise-item span {
  color: #000000;
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 500;
}
.consultation-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;
}
.consultation-title {
  font-size: 2.2rem;
  color: #000000;
  margin-bottom: 25px;
  font-weight: 500;
}
.consultation-text {
  font-size: 1.2rem;
  color: #333333;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 35px;
}
.consultation-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);
}
.consultation-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-circle {
  position: absolute;
  top: 70px;
  left: 80px;
  width: 110px;
  height: 110px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  animation: slow-spin 35s linear infinite;
}
.decorative-circle::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 25px;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
}
#modalGeneral-2 {
  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;
}
#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 orbit {
  0% {
    transform: rotate(0deg) translateX(50px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(50px) rotate(-360deg);
  }
}
@keyframes drift-pattern {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
    opacity: 0.1;
  }
}
@keyframes slow-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  .container {
    /* padding: 35px 15px; */
  }
  h1 {
    font-size: 2.6rem;
    letter-spacing: 1px;
  }
  .subtitle {
    font-size: 1.3rem;
  }
  .services-section {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .service-card p {
    text-align: left;
  }
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .hero-section {
    padding: 40px;
  }
  .service-card {
    padding: 40px;
  }
  .expertise-section {
    padding: 40px;
  }
  .consultation-section {
    padding: 40px;
  }
  .decorative-circle {
    display: none;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  #modalGeneral .wpforms-container {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 100px;
  }
}
