/*
 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
*/
/* GeneratePress Site CSS */ /* adds a thin line under the header */
 
/* =========================================
   🔧 RESET Y ESCALA BASE
========================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Exo 2", system-ui, sans-serif;
  font-weight: 400;
  font-size: 2.4rem;
  line-height: 1.6;
  background-color: #0A0A0A;
  color: #C0C0C0;
}

/* ==============================
   🏷️ TIPOGRAFÍA BASE Y DECORACIONES
============================== */
.nota {
  color: var(--base-hover);
  display: inline-block;
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  margin-left: 4px;
  padding-left: 20px;
  padding-top: 10px;
  text-transform: uppercase;
  border-top: 4px solid var(--base-hover);
  border-left: 4px solid var(--base-hover);
}

.texto {
  color: var(--base);
  display: inline-block;
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  margin-left: 4px;
  padding-left: 20px;
  padding-top: 10px;
}



/* ======================================
   🎯 CARRUSEL (logos / partners)
====================================== */
.brand-two-carousel {
  background-color: #0A0A0A;
  padding: 2rem 0;
}

.brand-two-carousel .swiper-wrapper {
  align-items: center;
}

.brand-two-carousel .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-two-carousel img {
  height: 92px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.8;
  transition: filter 0.4s ease, opacity 0.4s ease, transform 0.3s ease;
}

.brand-two-carousel img:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: scale(1.05);
}

/* Responsive ajuste logo */
@media (max-width: 768px) {
  .brand-two-carousel img {
    height: 70px;
  }
}

/* ======================================
   ⚖️ FOOTER Y LEGALES
====================================== */
.footer-legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-legal-list li {
  margin-bottom: 8px;
}

.footer-legal-list a {
  color: var(--base-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 2.2rem;
  transition: color 0.3s ease;
}

.footer-legal-list a:hover {
  color: #FF6600;
}

/* 🚫 Eliminado !important: no necesario, mantenemos pointer-events */
.site-footer::before,
.site-footer::after,
.gb-container::before,
.gb-container::after {
  pointer-events: none;
}

/* ======================================
   📬 FORMULARIO OPTIMIZADORSEO
====================================== */

/* Fondo global coherente */
body,
.site-content,
.site-main {
  background-color: #0A0A0A;
}

/* Contenedor del formulario (GenerateBlocks Element) */
.gb-container.seo-form-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: #0A0A0A;
  padding-top: 4rem;
}

/* Formulario base */
.seo-form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  max-width: 600px;
  width: 100%;
  padding: 1.6rem 2rem;
  background: #0A0A0A;
  border-radius: 16px;
  color: #EEE;
  font-size: 1.5rem;
  line-height: 1.6;
  box-shadow: 0 0 30px rgba(23, 230, 230, 0.05);
}

/* Etiquetas */
.seo-form label {
  font-weight: 500;
  margin-bottom: 0.4rem;
  display: block;
}

/* Campos */
.seo-form input,
.seo-form select,
.seo-form textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid #17E6E6;
  border-radius: 10px;
  background-color: #141414;
  color: #fff;
  font-size: 1.4rem;
  transition: all 0.2s ease-in-out;
}

/* Placeholders accesibles */
.seo-form input::placeholder,
.seo-form textarea::placeholder {
  color: #B5B5B5;
}

/* Focus (unificado) */
.seo-form input:focus,
.seo-form select:focus,
.seo-form textarea:focus {
  color: #fff;
  background-color: #161616;
  border-color: #FF6600;
  box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.25);
  outline: none;
  -webkit-text-fill-color: #fff; /* Corrige bug Chrome */
}

/* Autofill (Chrome) */
input:-webkit-autofill,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #141414 inset;
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
}

/* Checkbox y privacidad */
.seo-form .privacy {
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 1.4;
}

.seo-form a {
  color: #17E6E6;
  text-decoration: underline;
}

.seo-form a:hover {
  color: #FF6600;
}
.btn-float-form {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    cursor: pointer;
}

.btn-float-form svg {
    width: 64px;
    height: 64px;
    transition: transform 0.3s ease;
}

.btn-float-form:hover svg {
    transform: scale(1.1);
}

/* Ajuste en móviles */
@media (max-width: 768px) {
    .btn-float-form {
        width: 50px;
        height: 50px;
    }

    .btn-float-form svg {
        width: 50px;
        height: 50px;
    }
}



/* Botón */
.seo-form .btn-primary {
  align-self: center;
  width: 100%;
  max-width: 250px;
  text-align: center;
  background-color: #FF6600;
  color: #fff;
  padding: 1rem 1.4rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.seo-form .btn-primary:hover,
.seo-form .btn-primary:focus {
  background-color: #17E6E6;
  color: #0A0A0A;
  outline: 2px solid #17E6E6;
  outline-offset: 3px;
}

/* Textarea */
.seo-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* === Responsive (mobile-first) === */

/* 1️⃣ Smartphones hasta 480px */
@media (max-width: 480px) {
  .seo-form {
    max-width: 100%;
    width: 90%;
    padding: 1.6rem;
    border-radius: 12px;
  }
  .seo-form label {
    font-size: 1.8rem;
  }
  .seo-form input,
  .seo-form select,
  .seo-form textarea {
    font-size: 1.8rem;
    padding: 0.9rem 1rem;
  }
  .seo-form .btn-primary {
    width: 100%;
    font-size: 1.8rem;
    padding: 1rem;
  }
  .seo-form .privacy {
    font-size: 1.8rem;
    align-items: flex-start;
  }
  .gb-container.seo-form-container {
    padding: 0;
    margin-top: 3.5rem;
  }
}

/* 2️⃣ Móviles grandes y tablets pequeñas */
@media (min-width: 481px) and (max-width: 768px) {
  .seo-form {
    width: 85%;
    margin: 0 auto;
  }
  .seo-form label {
    font-size: 1.8rem;
  }
  .seo-form input,
  .seo-form select,
  .seo-form textarea {
    font-size: 1.8rem;
    padding: 1rem 1.2rem;
  }
}

/* 3️⃣ Tablets horizontales y laptops */
@media (min-width: 769px) and (max-width: 1024px) {
  .seo-form {
    width: 75%;
  }
}

/* Aviso visual antispam */
.form-alert {
  background: rgba(23, 230, 230, 0.08);
  border: 1px solid #17E6E6;
  color: #17E6E6;
  border-radius: 8px;
  padding: 1rem 1.2rem;
  font-size: 1.3rem;
  text-align: center;
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}
.form-alert.show {
  opacity: 1;
  transform: translateY(0);
}

/* ======================================
   ⚙️ ELEMENTOS VARIOS
====================================== */
.svg-logo {
  margin-top: 40px;
}

.site-header {
  border-bottom: 5px solid rgba(23, 230, 230, 0.5);
}

/* Menú hamburguesa */
.menu-toggle svg path {
  fill: #12BABA;
}

