/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

   .separator {
    width: 2px;
    height: 20px;
    border-radius: 2px;
    background-color: var(--neutral);
   }

   .gform-theme--foundation .gform_fields {
  grid-row-gap: 20px !important;
}

/* Cambia el borde de los campos de texto, email, select, textarea y el botón de enviar */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper select,
.gform_wrapper textarea,
.gform_wrapper .gform_button {
    border: 1px solid var(--neutral) !important; /* Grosor, estilo (solid/dashed) y color */
    border-radius: 12px !important;       /* Bordes redondeados */
}

.gform_wrapper .gform_button {
  background-color: var(--neutral-3) !important; /* Por si quieres un botón estilo 'outline' */
    color: #ffffff !important;
}

.gform_wrapper .gform_button:is(:hover,:focus){
  background-color: var(--neutral-hover);
    color: var(--base-3);
    transition: transform 0.5s ease 0s;
}
/* =============================================
   HERO VIDEO BANNER — GeneratePress + GB
   ============================================= */
/* Sección principal */
.hero-video-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
}

/* Video de fondo */
.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  z-index: 0;
}

/* Overlay oscuro semitransparente */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgb(165 163 191 / 55%);
  z-index: 1;
}

/* Contenido — encima del overlay */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* max-width: 800px; */
  padding: 80px 24px;
  margin: 0 auto;
}

/* Badge/Pill */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
}

/* Headline */
.hero-headline {
  color: #ffffff !important;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

/* Subheading */
.hero-subheading {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
  max-width: 580px;
  margin-bottom: 36px;
}

/* Fila de botones */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Botón primario */
.hero-btn-primary {
  background: #ffffff !important;
  color: #0a0a0a !important;
  border: none !important;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: opacity 0.2s ease;
}
.hero-btn-primary:hover {
  opacity: 0.88;
}

/* Botón secundario (outline) */
.hero-btn-secondary {
  background: transparent !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease;
}
.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Responsive móvil */
@media (max-width: 768px) {
  .hero-content {
    padding: 60px 20px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

/* Clase para el contenedor de GeneratePress */
.soft-yellow-glow {
    position: relative;
    background-color: #ffffff;
    z-index: 1;
    overflow: hidden; /* Crucial para que el destello no pinte fuera del bloque */
}

/* El pseudoelemento que replica el patrón de React */
.soft-yellow-glow::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%; /* Ocupa el alto del contenedor para proyectar la luz */
    z-index: -1;
    /* El origen se fija abajo al centro (bottom center) y se reduce el alcance al 35% */
    background-image: radial-gradient(circle at bottom center, rgba(59, 130, 246, 0.12) 0%, transparent 35%);
    pointer-events: none;
}


/* Contenedor principal para la cuadrícula */
.dashed-fade-grid {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* El pseudoelemento que genera la grilla discontinua con desvanecimiento */
.dashed-fade-grid::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: none;

    /* 1. Dibujo de la grilla base (líneas finas color #e7e5e4 cada 20px) */
    background-image: 
        linear-gradient(to right, #e7e5e4 1px, transparent 1px),
        linear-gradient(to bottom, #e7e5e4 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0;

    /* 2. Máscara para navegadores basados en Webkit (Safari, Chrome, Edge) */
    -webkit-mask-image: 
        repeating-linear-gradient(to right, #000 0px, #000 3px, transparent 3px, transparent 8px),
        repeating-linear-gradient(to bottom, #000 0px, #000 3px, transparent 3px, transparent 8px),
        radial-gradient(ellipse 70% 60% at 50% 0%, #000 60%, transparent 100%);
    -webkit-mask-composite: source-in;

    /* 3. Máscara bajo el estándar moderno de CSS */
    mask-image: 
        repeating-linear-gradient(to right, #000 0px, #000 3px, transparent 3px, transparent 8px),
        repeating-linear-gradient(to bottom, #000 0px, #000 3px, transparent 3px, transparent 8px),
        radial-gradient(ellipse 70% 60% at 50% 0%, #000 60%, transparent 100%);
    mask-composite: intersect;
}