/* 
* AúditaPro - Main Stylesheet
* Colores:
* - Fondo principal: #1E1B39 (azul-violeta profundo)
* - Elementos de acento: #C3FF00 (neón amarillo-verde)
* - Texto principal: #E0E0E0 (gris claro)
* - Títulos: #00C2FF (azul brillante)
* - Botones: gradiente de #B5009E (púrpura) a #FF3E6B (coral)
*/

/* ====== RESET Y ESTILOS BASE ====== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #1E1B39;
  color: #E0E0E0;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ====== CONTENEDOR PRINCIPAL ====== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ====== TIPOGRAFÍA ====== */
h1, h2, h3, h4, h5, h6 {
  color: #00C2FF;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-top: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 80px;
  background: linear-gradient(to right, #B5009E, #FF3E6B);
  border-radius: 3px;
}

h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
}

p {
  margin-bottom: 1.2rem;
}

a {
  color: #C3FF00;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #00C2FF;
  text-decoration: underline;
}

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

/* ====== BOTONES ====== */
.cta-button, .submit-button, .return-button, .cookie-button {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(to right, #B5009E, #FF3E6B);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(181, 0, 158, 0.3);
  text-align: center;
  font-size: 1rem;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.cta-button:hover, .submit-button:hover, .return-button:hover, .cookie-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(181, 0, 158, 0.4);
  text-decoration: none;
  color: white;
}

.cta-button:active, .submit-button:active, .return-button:active, .cookie-button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(181, 0, 158, 0.3);
}

.cta-button::before, .submit-button::before, .return-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s ease;
}

.cta-button:hover::before, .submit-button:hover::before, .return-button:hover::before {
  left: 100%;
}

/* ====== HEADER Y NAVEGACIÓN ====== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(30, 27, 57, 0.95);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo-nav {
  display: flex;
  align-items: center;
}

.logo-small {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
}

.nav-links li {
  margin-left: 1.5rem;
}

.nav-links a {
  color: #E0E0E0;
  font-weight: 500;
  position: relative;
}

.nav-links a:hover {
  color: #C3FF00;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #C3FF00;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #E0E0E0;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ====== COOKIE POPUP ====== */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  background-color: #2A2751;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: space-between;
}

.cookie-content {
  width: 100%;
  text-align: center;
}

.cookie-content p {
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.cookie-button {
  margin: 0 auto;
  display: block;
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* ====== SECCIONES PRINCIPALES ====== */
main {
  padding-top: 70px; /* Para compensar el header fijo */
}

section {
  padding: 70px 0;
  position: relative;
}

section:nth-child(even) {
  background-color: #232042;
}

/* ====== HERO SECTION ====== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("./img/twpLoB.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 120px 0 80px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(30, 27, 57, 0.85), rgba(30, 27, 57, 0.95));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.logo-container {
  margin-bottom: 2rem;
}

.logo {
  height: 80px;
  width: auto;
  margin: 0 auto;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  font-size: 2.8rem;
  animation: fadeInUp 1s ease-out;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.2s forwards;
  opacity: 0;
}

.hero-content .cta-button {
  animation: fadeInUp 1s ease-out 0.4s forwards;
  opacity: 0;
}

/* ====== ABOUT SECTION ====== */
.about-section {
  text-align: center;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 2rem;
}

.mission, .advantages {
  flex: 1;
  min-width: 220px;
  background-color: #2A2751;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.mission:hover, .advantages:hover {
  transform: translateY(-5px);
}

.advantages ul {
  text-align: left;
  list-style: none;
  margin-left: 0;
}

.advantages li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}

.advantages .icon {
  color: #C3FF00;
  margin-right: 10px;
  font-weight: bold;
}

/* ====== SERVICES SECTION ====== */
.services-section {
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: #2A2751;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.service-icon {
  margin-bottom: 1.5rem;
}

.service-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #C3FF00;
}

/* ====== PROCESS SECTION ====== */
.process-section {
  text-align: center;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 3rem;
  gap: 2rem;
}

.step {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  position: relative;
  padding: 2rem;
  background-color: #2A2751;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(to right, #B5009E, #FF3E6B);
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(181, 0, 158, 0.3);
}

/* ====== TESTIMONIALS SECTION ====== */
.testimonials-section {
  text-align: center;
  background-image: linear-gradient(to right, rgba(30, 27, 57, 0.9), rgba(30, 27, 57, 0.9)), url("./img/uIfqup.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial {
  flex: 1;
  min-width: 220px;
  max-width: 350px;
  background-color: #2A2751;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  font-size: 4rem;
  color: #C3FF00;
  opacity: 0.4;
}

.quote {
  margin-bottom: 1.5rem;
  font-style: italic;
}

.client {
  margin-top: 1rem;
}

.client strong {
  color: #00C2FF;
  display: block;
  margin-bottom: 0.3rem;
}

.client span {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ====== CERTIFICATES SECTION ====== */
.certificates-section {
  text-align: center;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.certificate {
  background-color: #2A2751;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.certificate:hover {
  transform: translateY(-5px);
}

.certificate-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

/* ====== CONTACT SECTION ====== */
.contact-section {
  position: relative;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info {
  flex: 1;
  min-width: 220px;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.info-item .icon {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: #C3FF00;
}

.map-container {
  flex: 1;
  min-width: 220px;
}

.google-map {
  width: 100%;
  height: 300px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.google-map iframe {
  border-radius: 10px;
  filter: saturate(0.8) hue-rotate(180deg);
  transition: all 0.3s ease;
}

.google-map iframe:hover {
  filter: saturate(1) hue-rotate(0deg);
}

.map-address {
  width: 100%;
  background-color: #2A2751;
  padding: 10px;
  margin: 0;
  margin-top: 10px;
  text-align: center;
  font-size: 0.9rem;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* ====== FORM SECTION ====== */
.form-section {
  background-color: #232042;
}

.contact-form {
  background-color: #2A2751;
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  max-width: 700px;
  margin: 3rem auto 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border-radius: 5px;
  border: 2px solid #3A3770;
  background-color: #232042;
  color: #E0E0E0;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #C3FF00;
  box-shadow: 0 0 0 3px rgba(195, 255, 0, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.submit-button {
  margin-top: 1rem;
  width: 100%;
}

/* ====== FOOTER ====== */
.main-footer {
  background-color: #171531;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo, .footer-contact, .footer-links {
  flex: 1;
  min-width: 250px;
}

.logo-footer {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-description {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.5;
}

.footer-contact h3, .footer-links h3 {
  color: #C3FF00;
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
}

.contact-icon {
  margin-right: 10px;
}

.footer-links ul {
  list-style: none;
  margin-left: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #E0E0E0;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #C3FF00;
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #3A3770;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ====== POLICY PAGES ====== */
.policy-section {
  padding: 120px 0 70px;
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
}

.policy-date {
  margin-bottom: 2rem;
  font-style: italic;
  opacity: 0.7;
}

.policy-text h2 {
  margin-top: 2.5rem;
}

.policy-text h3 {
  margin-top: 1.8rem;
}

.policy-text ul, .policy-text ol {
  margin-bottom: 1.5rem;
}

.policy-text li {
  margin-bottom: 0.5rem;
}

.cookies-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.cookies-table th, .cookies-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #3A3770;
}

.cookies-table th {
  background-color: #232042;
  font-weight: 600;
}

/* ====== THANKS PAGE ====== */
.thanks-section {
  display: flex;
  align-items: center;
  padding: 120px 0;
}

.thanks-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem;
  background-color: #2A2751;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.success-icon {
  font-size: 5rem;
  color: #C3FF00;
  margin: 1rem 0 2rem;
  display: inline-block;
  width: 100px;
  height: 100px;
  line-height: 100px;
  border-radius: 50%;
  background-color: #232042;
}

.contact-info {
  margin: 2rem 0;
  padding: 1rem;
  background-color: #232042;
  border-radius: 5px;
}

.return-button {
  margin-top: 2rem;
}

/* ====== ANIMACIONES ====== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====== MEDIA QUERIES ====== */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-content h1 {
    font-size: 2.4rem;
  }
  
  .about-content, .process-steps {
    flex-direction: column;
    align-items: center;
  }
  
  .mission, .advantages, .step {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #1E1B39;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: -1;
  }
  
  .nav-links.active {
    transform: translateY(0);
  }
  
  .nav-links li {
    margin: 1rem 0;
  }
  
  .mobile-menu-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  section {
    padding: 50px 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-slider, .certificates-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .testimonial, .certificate {
    max-width: 100%;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .google-map {
    height: 250px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero-content h1 {
    font-size: 1.7rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .cta-button, .submit-button, .return-button {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .info-item .icon {
    font-size: 1.2rem;
  }
  
  .google-map {
    height: 200px;
  }
}

/* Imprimir */
@media print {
  body {
    background-color: white;
    color: black;
  }
  
  .main-header, .main-footer, .cookie-popup {
    display: none;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: black;
  }
  
  a {
    color: blue;
    text-decoration: underline;
  }
  
  .container {
    width: 100%;
    max-width: none;
  }
} 