

/* NUEVO CSS 'REFORMAS E INTERIORISMO'
-------------------------------------- */

* {
  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: 200px;
  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: 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: -30%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.025) 0%, transparent 70%);
  border-radius: 50%;
  animation: spiral 24s 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.8;
  max-width: 850px;
  margin: 0 auto;
}
.comparison-section {
  background: rgba(255, 255, 255, 0.9);
  padding: 55px;
  border-radius: 22px;
  margin-bottom: 55px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.comparison-title {
  font-size: 2.4rem;
  color: #000000;
  text-align: center;
  margin-bottom: 45px;
  font-weight: 500;
}
.before-after-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}
.image-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}
.before-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}
.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #000000;
  cursor: ew-resize;
  z-index: 3;
  transform: translateX(-50%);
}
.slider-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  background: #000000;
  border: 3px solid #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.slider-handle::after {
  content: "⟷";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  pointer-events: none;
}
.before-label {
  position: absolute;
  top: 20px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  z-index: 4;
  left: 20px;
}
.after-label {
  position: absolute;
  top: 20px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  z-index: 4;
  right: 20px;
}
.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(10deg);
}
.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;
}
.benefits-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);
}
.benefits-title {
  font-size: 2.4rem;
  color: #000000;
  text-align: center;
  margin-bottom: 45px;
  font-weight: 500;
  position: relative;
}
.benefits-title::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: #000000;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}
.benefit-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;
}
.benefit-item:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateX(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
.benefit-item::before {
  content: "◆";
  color: #000000;
  font-size: 1rem;
  margin-right: 20px;
  transition: transform 0.3s ease;
}
.benefit-item:hover::before {
  transform: rotate(45deg) scale(1.2);
}
.benefit-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: #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-square {
  position: absolute;
  top: 60px;
  left: 60px;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  animation: square-dance 30s ease-in-out infinite;
}
.decorative-square::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(0, 0, 0, 0.12);
}
#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 spiral {
  0% {
    transform: rotate(0deg) scale(1);
  }
  100% {
    transform: rotate(360deg) scale(1.2);
  }
}
@keyframes twinkle {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.2;
  }
}
@keyframes square-dance {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(90deg) scale(1.1);
  }
  50% {
    transform: rotate(180deg) scale(1);
  }
  75% {
    transform: rotate(270deg) scale(1.1);
  }
}
@media (max-width: 768px) {
  .container {
    /* padding: 35px 15px; */
  }
  h1 {
    font-size: 2.8rem;
    letter-spacing: 2px;
  }
  .subtitle {
    font-size: 1.3rem;
  }
  .services-section {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .hero-section {
    padding: 40px;
  }
  .service-card {
    padding: 40px;
  }
  .benefits-section {
    padding: 40px;
  }
  .contact-section {
    padding: 40px;
  }
  .decorative-square {
    display: none;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .image-container {
    height: 300px;
  }
  #modalGeneral .wpforms-container {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 100px;
  }
  .hero-section, .comparison-section {
    padding: 40px;
    margin:1rem;
  }
}