.card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(var(--blur));
  transition: transform .3s ease, box-shadow .3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
}

.hero {
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(120deg, #0f172a, #020617);
}

.hero h1 {
  animation: fadeUp 1s ease forwards;
}

.hero-home {
  min-height: 80vh;
  width: 100%;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #000000bb;
}

.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  /* oscurece imagen */
}

.hero-home>* {
  position: relative;
}

.hero-home form {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  max-width: 420px;
  width: 100%;
}

.hero-home .wp-block-columns {
  align-items: center;
  /* 👈 centra texto y formulario */
  gap: 3rem;
  /* espacio mínimo elegante */
}

.hero-home .wp-block-column .home-contact-form {
  display: flex;
  align-items: center;
  /* vertical dentro de la columna */
  justify-content: center;
  /* horizontal dentro de la columna */
  height: 100%;
}

.features-section {
  padding: 5rem 2rem;
  background: #f5f7fa;
}

.feature-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #e5e7eb;
}

.goals-section {
  padding: 5rem 2rem;
}

.goal-card {
  background: #ffffff;
  border-left: 4px solid #3aaed8;
  padding: 2rem;
  border-radius: 8px;
}

.contact-info {
  background: #ffffff;
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  max-width: 420px;
}

.contact-info h3 {
  margin-bottom: 0.25rem;
}

.contact-info p {
  margin: 0.25rem 0 0.75rem;
}

.contact-info a {
  color: #3aaed8;
  font-weight: 600;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-map {
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
}

.contact-map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

/* Botón hamburguesa */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #dededf;
}

/* Formularios */

.home-contact-form {
    padding: 1.25rem;
}

.home-contact-form form {
    background: white;
    padding: 1.25rem;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

.home-contact-form input,
.home-contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    font-size: 0.95rem;
    resize: none;
}

.home-contact-form input:focus,
.home-contact-form textarea:focus {
    outline: none;
    border-color: #3aaed8;
}

.home-contact-form input[type="submit"] {
    background: #3aaed8;
    color: white;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

.home-contact-form .wpcf7-mail-sent-ok,
.home-contact-form .wpcf7-response-output {
    margin-top: 1.2rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #ecfdf5;
    /* verde muy suave */
    color: #065f46;
    /* verde oscuro */
    border: 1px solid #a7f3d0;
}

.home-contact-form .wpcf7-validation-errors,
.home-contact-form .wpcf7-mail-sent-ng {
    background: #fef2f2;
    /* rojo muy suave */
    color: #7f1d1d;
    /* rojo oscuro */
    border: 1px solid #fecaca;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/************************/

.services-slider {
  padding: 4rem 1.5rem;
  text-align: center;
}

.services-swiper {
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  height: auto;
}

.service-card h3 {
  margin-top: 1rem;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
}

.service-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  background: #3aaed8;
  color: #fff;
  font-weight: 500;
}



@media (max-width: 768px) {
  .contact-info {
    padding: 1.5rem;
  }

  .contact-map iframe {
    height: 240px;
    /* móvil */
  }

  .menu-toggle {
    display: block;
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    z-index: 1001;
    color: #e8e8e8;
    /* 👈 CAMBIO CLAVE */
    background: none;
    border: none;
    font-size: 5rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

}