/*
Theme Name: VeriFactu 2025
Theme URI: https://grupogg.es
Author: Grupo G&G Professional Services
Author URI: https://grupogg.es
Description: Landing page profesional para servicios de asesoramiento VeriFactu 2025. Diseño moderno y responsivo con formulario de contacto integrado.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: verifactu-2025
Tags: landing-page, business, one-page, responsive, custom-colors
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-section {
  background: linear-gradient(135deg, #ec4899 0%, #f472b6 50%, #fbbf24 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
}

.hero-content {
  position: relative;
  padding: 4rem 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    padding: 6rem 1rem;
  }
}

.hero-text {
  color: white;
  z-index: 10;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.logo {
  height: 4rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-title .highlight {
  color: #fcd34d;
}

.deadline-box {
  background: rgba(30, 58, 138, 0.9);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
  border: 4px solid #fbbf24;
}

.deadline-date {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
  .deadline-date {
    font-size: 1.875rem;
  }
}

.deadline-text {
  font-size: 1.25rem;
}

.deadline-emphasis {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fcd34d;
}

.benefits-list {
  list-style: none;
  margin-bottom: 2rem;
}

.benefit-item {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.benefit-icon {
  color: #fcd34d;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.video-container {
  position: relative;
}

.video-card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s;
}

.video-overlay:hover {
  background: rgba(0, 0, 0, 0.3);
}

.play-button {
  width: 6rem;
  height: 6rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s;
}

.video-overlay:hover .play-button {
  transform: scale(1.1);
}

.play-icon {
  width: 3rem;
  height: 3rem;
  color: #ec4899;
  margin-left: 0.25rem;
}

.video-info {
  background: #1e3a8a;
  padding: 1.5rem;
}

.video-title {
  color: white;
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
}

.video-description {
  color: #bfdbfe;
}

.alert-bar {
  background: linear-gradient(to right, #b91c1c, #dc2626, #b91c1c);
  color: white;
  padding: 1.5rem 0;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-top: 4px solid #fbbf24;
  border-bottom: 4px solid #fbbf24;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  overflow: hidden;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.9;
  }
}

.alert-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1.25rem;
  font-weight: 900;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .alert-content {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .alert-content {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .alert-content {
    font-size: 2.25rem;
  }
}

.alert-icon {
  width: 2.5rem;
  height: 2.5rem;
  animation: bounce 1s infinite;
  flex-shrink: 0;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

.alert-badge {
  background: white;
  color: #dc2626;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.alert-badge:hover {
  transform: scale(1.05);
}

.alert-date {
  color: #fcd34d;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

@media (min-width: 768px) {
  .alert-date {
    text-decoration-thickness: 4px;
  }
}

.form-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom, #f9fafb, white);
}

.form-header {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto 3rem;
}

.form-title {
  font-size: 2.25rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .form-title {
    font-size: 3rem;
  }
}

.form-title .highlight {
  color: #ec4899;
}

.form-subtitle {
  font-size: 1.25rem;
  color: #374151;
}

.contact-form {
  max-width: 56rem;
  margin: 0 auto;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 2rem;
  border: 4px solid #fbbf24;
}

@media (min-width: 1024px) {
  .contact-form {
    padding: 3rem;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  transition: border-color 0.3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #ec4899;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.privacy-section {
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 2px solid #e5e7eb;
  margin-bottom: 1.5rem;
}

.privacy-title {
  font-weight: bold;
  font-size: 1.125rem;
  color: #111827;
  margin-bottom: 1rem;
}

.checkbox-group {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.checkbox {
  margin-top: 0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  accent-color: #ec4899;
}

.checkbox-label {
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.6;
}

.required-text {
  font-weight: 600;
  color: #dc2626;
}

.privacy-link {
  color: #ec4899;
  text-decoration: underline;
  font-weight: 600;
}

.privacy-link:hover {
  color: #db2777;
}

.info-box {
  margin-top: 1rem;
  padding: 1rem;
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  border-radius: 0.25rem;
}

.info-text {
  font-size: 0.75rem;
  color: #4b5563;
  line-height: 1.6;
}

.submit-button {
  width: 100%;
  background: linear-gradient(to right, #ec4899, #f472b6);
  color: white;
  font-weight: bold;
  padding: 1.5rem 2rem;
  border-radius: 0.5rem;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.submit-button:hover {
  background: linear-gradient(to right, #db2777, #ec4899);
  transform: scale(1.05);
}

.submit-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.form-note {
  font-size: 0.875rem;
  color: #4b5563;
  margin-top: 1rem;
  text-align: center;
}

.contact-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #1e3a8a, #1e40af);
  color: white;
}

.contact-title {
  font-size: 2.25rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3rem;
  color: #fcd34d;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  transition: background 0.3s;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.2);
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  color: #fcd34d;
}

.contact-label {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: #fcd34d;
  font-weight: 600;
}

.contact-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
  transition: color 0.3s;
  display: block;
}

.contact-value:hover {
  color: #fcd34d;
}

.contact-footer {
  text-align: center;
  margin-top: 3rem;
}

.contact-footer-text {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.website-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: 1.125rem;
}

.website-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.website-link:hover {
  color: #fcd34d;
}

.link-separator {
  color: #fcd34d;
}

.info-section {
  padding: 5rem 0;
  background: white;
}

.info-title {
  font-size: 2.25rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3rem;
  color: #111827;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.info-card {
  background: linear-gradient(135deg, #fce7f3, #fef3c7);
  border-radius: 0.75rem;
  padding: 2rem;
  border: 2px solid #fbcfe8;
}

.info-card.blue {
  background: linear-gradient(135deg, #dbeafe, #fce7f3);
  border-color: #bfdbfe;
}

.info-card.yellow {
  background: linear-gradient(135deg, #fef3c7, #fce7f3);
  border-color: #fde68a;
}

.info-number {
  background: #ec4899;
  color: white;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.info-card.blue .info-number {
  background: #1e3a8a;
}

.info-card.yellow .info-number {
  background: #eab308;
}

.info-card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #111827;
}

.info-card-text {
  color: #374151;
  line-height: 1.6;
}

.cta-section {
  padding: 5rem 0;
  background: linear-gradient(to right, #ec4899, #fbbf24);
  text-align: center;
}

.cta-content {
  max-width: 56rem;
  margin: 0 auto;
}

.cta-title {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1.5rem;
}

.cta-text {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 3rem;
}

.cta-button {
  display: inline-block;
  background: white;
  color: #ec4899;
  font-weight: bold;
  padding: 1.5rem 3rem;
  border-radius: 9999px;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.cta-button:hover {
  background: #f3f4f6;
  transform: scale(1.05);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 1rem;
}

.modal-content {
  background: linear-gradient(135deg, white, #fce7f3);
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 42rem;
  width: 100%;
  padding: 2rem;
  position: relative;
  border: 4px solid #fbbf24;
}

@media (min-width: 1024px) {
  .modal-content {
    padding: 3rem;
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #9ca3af;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
}

.modal-close:hover {
  color: #4b5563;
}

.modal-icon {
  width: 6rem;
  height: 6rem;
  background: linear-gradient(135deg, #34d399, #10b981);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.footer {
  background: #111827;
  color: white;
  padding: 3rem 0;
}

.footer-main {
  text-align: center;
  margin-bottom: 2rem;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-subtitle {
  color: #9ca3af;
}

.footer-legal {
  border-top: 1px solid #374151;
  padding-top: 2rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .legal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.legal-section h4 {
  font-weight: bold;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: #fcd34d;
}

.legal-text {
  font-size: 0.875rem;
  color: #d1d5db;
  line-height: 1.6;
}

.legal-detail {
  background: #1f2937;
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.legal-detail h4 {
  font-weight: bold;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: #fcd34d;
}

.legal-list {
  font-size: 0.875rem;
  color: #d1d5db;
  list-style: none;
}

.legal-list li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111827;
  color: white;
  padding: 1.5rem;
  box-shadow: 0 -10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 50;
  border-top: 4px solid #fbbf24;
}

.cookie-content {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .cookie-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.cookie-text {
  flex: 1;
}

.cookie-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-description {
  font-size: 0.875rem;
  color: #d1d5db;
  line-height: 1.6;
}

.cookie-link {
  color: #fcd34d;
  text-decoration: underline;
  font-weight: 600;
}

.cookie-link:hover {
  color: #fde68a;
}

.cookie-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: fit-content;
}

@media (min-width: 640px) {
  .cookie-buttons {
    flex-direction: row;
  }
}

.cookie-button {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.cookie-button.reject {
  background: #374151;
  color: white;
}

.cookie-button.reject:hover {
  background: #4b5563;
}

.cookie-button.accept {
  background: linear-gradient(to right, #ec4899, #fbbf24);
  color: white;
  font-weight: bold;
}

.cookie-button.accept:hover {
  background: linear-gradient(to right, #db2777, #f59e0b);
}

.hidden {
  display: none;
}
