/* 
* AUDIFINEX - Auditoría Financiera
* Colores:
* - Principal: #FF6B35 (mandarina)
* - Secundario: #3A0CA3 (indigo)
* - Acento: #90E0EF (azul celeste)
* - Fondo: #FFF8F0 (blanco hueso)
*/

/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Añadir padding para la navegación fija */
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #FFF8F0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 70px 0;
}

h1, h2, h3, h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: #3A0CA3;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #FF6B35;
  margin: 10px auto;
}

p {
  margin-bottom: 1.2rem;
}

a {
  color: #3A0CA3;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #FF6B35;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Botones */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #FF6B35;
  color: white;
}

.btn-primary:hover {
  background: #e55a25;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
  background: #3A0CA3;
  color: white;
}

.btn-secondary:hover {
  background: #2c0980;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(58, 12, 163, 0.3);
}

/* Header y navegación */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 248, 240, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: block;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
}

.nav-toggle-label span {
  display: block;
  width: 25px;
  height: 3px;
  background: #3A0CA3;
  margin-bottom: 5px;
  transition: all 0.3s ease;
}

.main-nav ul {
  display: flex;
  gap: 20px;
}

.main-nav a {
  font-weight: 600;
  padding: 10px;
  display: block;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #FF6B35;
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 80%;
}

/* Hero Section */
.hero-section {
  padding-top: 120px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, rgba(154, 140, 255, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
}

.hero-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.hero-content {
  flex: 1;
}

.hero-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

.hero-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #555;
}

/* About Section */
.about-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-features {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.feature {
  flex-basis: calc(50% - 10px);
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2rem;
  color: #FF6B35;
  margin-bottom: 10px;
}

/* Approach Section */
.approach-section {
  background-color: #f8f9fa;
}

.approach-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.approach-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.approach-text {
  flex: 1;
}

.approach-text ul {
  margin-left: 20px;
  margin-bottom: 20px;
  list-style-type: disc;
}

.approach-text ul li {
  margin-bottom: 8px;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  color: #3A0CA3;
}

.service-card.featured {
  background: linear-gradient(145deg, #3A0CA3 0%, #5a2cd5 100%);
  color: white;
  transform: scale(1.05);
}

.service-card.featured h3,
.service-card.featured .service-price {
  color: white;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FF6B35;
  margin: 20px 0;
}

/* Testimonials Section */
.testimonials-section {
  background: linear-gradient(135deg, rgba(58, 12, 163, 0.05) 0%, rgba(144, 224, 239, 0.1) 100%);
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-container {
  position: relative;
  overflow: hidden;
}

.testimonials {
  display: flex;
  transition: all 0.5s ease;
}

.testimonial {
  flex: 1 0 100%;
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial p::before,
.testimonial p::after {
  content: '"';
  font-size: 2rem;
  color: #FF6B35;
  opacity: 0.3;
}

.client-info {
  display: block;
  margin-top: 15px;
}

.client-info strong {
  display: block;
  color: #3A0CA3;
}

.client-info span {
  font-size: 0.9rem;
  color: #777;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

.testimonial-controls label {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-controls label:hover {
  background: #ccc;
}

/* Radio buttons control for testimonial slider */
input[name="testimonial"] {
  display: none;
}

#testimonial1:checked ~ .testimonials {
  transform: translateX(0);
}

#testimonial2:checked ~ .testimonials {
  transform: translateX(-100%);
}

#testimonial3:checked ~ .testimonials {
  transform: translateX(-200%);
}

#testimonial1:checked ~ .testimonial-controls label:nth-child(1),
#testimonial2:checked ~ .testimonial-controls label:nth-child(2),
#testimonial3:checked ~ .testimonial-controls label:nth-child(3) {
  background: #FF6B35;
  transform: scale(1.2);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item input[type="checkbox"] {
  display: none;
}

.faq-question {
  display: block;
  padding: 20px;
  background: white;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  color: #3A0CA3;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.faq-item input[type="checkbox"]:checked ~ .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.faq-item input[type="checkbox"]:checked ~ .faq-answer {
  max-height: 1000px;
}

.faq-answer p {
  padding: 20px;
  margin: 0;
}

/* Contact Form Section */
.contact-section {
  background: linear-gradient(135deg, #3A0CA3 0%, #5a2cd5 100%);
  color: white;
}

.contact-section h2 {
  color: white;
}

.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  background: linear-gradient(145deg, #ffffff, #f8f8f8);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #eee;
  border-radius: 5px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #90E0EF;
  outline: none;
  box-shadow: 0 0 0 3px rgba(144, 224, 239, 0.3);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
}

.checkbox-group label {
  margin: 0;
  font-weight: normal;
}

/* Contact Info Section */
.contact-info-section {
  background: linear-gradient(to right, #f9f9f9, #f0f0f0);
  position: relative;
  overflow: hidden;
}

.contact-info-section::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  z-index: 0;
  background: url('../img/c4H0yy.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  transform: rotate(30deg);
  pointer-events: none;
}

.contact-info-content {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.contact-details {
  flex: 1;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
}

.contact-icon {
  font-size: 1.8rem;
  color: #FF6B35;
  margin-right: 20px;
  background: rgba(255, 107, 53, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
  background: #FF6B35;
  color: white;
}

.contact-text h3 {
  margin-bottom: 5px;
  color: #3A0CA3;
}

.contact-text p a {
  color: #555;
  transition: all 0.3s ease;
}

.contact-text p a:hover {
  color: #FF6B35;
}

.map-container {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  position: relative;
}

.map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.map-container:hover .map-image {
  transform: scale(1.05);
}

.map-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(58, 12, 163, 0.9), rgba(58, 12, 163, 0.7), transparent);
  padding: 30px;
  color: white;
  transform: translateY(100%);
  transition: all 0.5s ease;
  opacity: 0;
}

.map-container:hover .map-overlay {
  transform: translateY(0);
  opacity: 1;
}

.overlay-content h3 {
  color: white;
  margin-bottom: 10px;
}

/* Horario de atención */
.contact-hours {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px dashed #ddd;
}

.contact-hours h3 {
  margin-bottom: 15px;
  color: #3A0CA3;
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.day {
  font-weight: 600;
  color: #555;
}

.time {
  color: #777;
  text-align: right;
}

/* Footer */
.main-footer {
  background: #333;
  color: #f8f9fa;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-logo p {
  margin-top: 10px;
  opacity: 0.7;
}

.footer-links h3,
.footer-contact h3 {
  color: #FF6B35;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links ul li,
.footer-contact ul li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-contact a {
  color: #f8f9fa;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  opacity: 1;
  color: #90E0EF;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  opacity: 0.5;
}

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(51, 51, 51, 0.9);
  color: white;
  padding: 15px 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
}

.cookie-content p {
  margin: 0 20px 0 0;
}

.cookie-content a {
  color: #90E0EF;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-card.featured {
    grid-column: span 2;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero-section .container,
  .about-content,
  .approach-content,
  .contact-info-content {
    flex-direction: column;
  }
  
  .nav-toggle-label {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background: white;
    transition: height 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .nav-toggle:checked ~ .main-nav {
    height: auto;
  }
  
  .main-nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 0;
  }
  
  .main-nav ul li {
    width: 100%;
  }
  
  .main-nav ul li a {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin-bottom: 15px;
    margin-right: 0;
  }

  .map-container {
    height: 300px;
    margin-top: 20px;
  }

  .map-overlay {
    opacity: 1;
    transform: translateY(0);
    background: linear-gradient(to top, rgba(58, 12, 163, 0.9), rgba(58, 12, 163, 0.7) 50%, transparent);
    padding: 20px;
  }
}

@media (max-width: 576px) {
  section {
    padding: 50px 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card.featured {
    grid-column: auto;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .contact-form-container {
    padding: 30px 20px;
  }
  
  .feature {
    flex-basis: 100%;
  }
} 