/* 
   Auditoría Financiera - Estilos principales
   Paleta de colores "Neo Coral":
   - Coral: #FF6F61
   - Menta: #A0D6B4
   - Lazuli: #007B82
   - Marfil: #FDF6EC
   - Antracita: #2C2C2C
*/

/* Reset y estilos base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #2C2C2C;
  background-color: #FDF6EC;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #007B82;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #FF6F61;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

/* Layout y contenedores */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  color: #007B82;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: #FF6F61;
  margin: 1rem auto 0;
}

/* Botones */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  border: none;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-primary {
  background-color: #FF6F61;
  color: #FDF6EC;
}

.btn-primary:hover {
  background-color: #e56356;
  color: #FDF6EC;
}

.btn-outline {
  background-color: transparent;
  color: #007B82;
  border: 2px solid #007B82;
}

.btn-outline:hover {
  background-color: #007B82;
  color: #FDF6EC;
}

/* Encabezado */
.site-header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: #FDF6EC;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: block;
}

/* Navegación de escritorio */
.desktop-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav li {
  margin-left: 1.5rem;
}

.desktop-nav a {
  color: #2C2C2C;
  font-weight: bold;
  padding: 0.5rem 0;
  position: relative;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #FF6F61;
  transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
  width: 100%;
}

/* Menú móvil utilizando CSS puro y PHP */
.mobile-menu {
  display: none;
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: block;
  width: 30px;
  height: 21px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

.menu-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #2C2C2C;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.menu-icon span:nth-child(1) {
  top: 0px;
}

.menu-icon span:nth-child(2) {
  top: 9px;
}

.menu-icon span:nth-child(3) {
  top: 18px;
}

.menu-toggle:checked ~ .menu-icon span:nth-child(1) {
  top: 9px;
  transform: rotate(135deg);
}

.menu-toggle:checked ~ .menu-icon span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.menu-toggle:checked ~ .menu-icon span:nth-child(3) {
  top: 9px;
  transform: rotate(-135deg);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: #FDF6EC;
  padding: 6rem 2rem 2rem;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease-in-out;
  z-index: 1000;
}

.menu-toggle:checked ~ .mobile-nav {
  right: 0;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav li {
  margin-bottom: 1.5rem;
}

.mobile-nav a {
  color: #2C2C2C;
  font-size: 1.2rem;
  font-weight: bold;
  display: block;
  padding: 0.5rem 0;
}

/* Banner de cookies */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #2C2C2C;
  color: #FDF6EC;
  padding: 1rem;
  z-index: 2000;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.2);
  opacity: 1;
  transition: opacity 0.3s ease, bottom 0.3s ease;
}

.cookie-banner.hidden {
  bottom: -100%;
  opacity: 0;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-content p {
  margin: 0;
  flex: 1;
}

.cookie-content a {
  color: #A0D6B4;
  text-decoration: underline;
}

/* Hero section */
.hero {
  padding: 8rem 0 6rem;
  background-image: url('./img/hJUyq2.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  color: #FDF6EC;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 123, 130, 0.8) 0%, rgba(255, 111, 97, 0.7) 100%);
}

.hero-content {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Services section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-item {
  background-color: #FDF6EC;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
  margin-bottom: 1.5rem;
}

/* Advantages section */
.advantages {
  background-color: #007B82;
  color: #FDF6EC;
}

.advantages .section-title {
  color: #FDF6EC;
}

.advantages .section-title::after {
  background-color: #A0D6B4;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.advantage-item {
  padding: 1.5rem;
  background: rgba(160, 214, 180, 0.1);
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.advantage-item:hover {
  transform: translateY(-5px);
}

/* Process section */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.process-step {
  text-align: center;
  padding: 2rem;
  background-color: #FDF6EC;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #FF6F61;
  color: #FDF6EC;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
}

/* Testimonials section */
.testimonials {
  background-color: #FDF6EC;
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('./img/gJTX2R.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
}

.testimonial-item {
  background-color: #FDF6EC;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #FF6F61;
}

.testimonial-content {
  position: relative;
  padding-left: 2rem;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -0.5rem;
  font-size: 4rem;
  line-height: 1;
  color: #FF6F61;
  opacity: 0.3;
}

.testimonial-author {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
  flex-shrink: 0;
  border: 2px solid #A0D6B4;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info strong {
  display: block;
  color: #007B82;
}

.author-info span {
  font-size: 0.875rem;
  color: #555;
}

/* FAQ section */
.faq {
  background-color: #FDF6EC;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-toggle {
  display: none;
}

.faq-question {
  display: block;
  padding: 1.5rem;
  background-color: #FDF6EC;
  color: #007B82;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-toggle:checked + .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: #fff;
  transition: max-height 0.3s ease;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 1.5rem;
}

/* Pricing section */
.pricing {
  background-color: #007B82;
  color: #FDF6EC;
}

.pricing .section-title {
  color: #FDF6EC;
}

.pricing .section-title::after {
  background-color: #A0D6B4;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing-item {
  background-color: #FDF6EC;
  color: #2C2C2C;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-item.featured {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 2px solid #FF6F61;
}

.pricing-item.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-header {
  padding: 2rem;
  background-color: #f5f5f5;
  text-align: center;
}

.pricing-header h3 {
  color: #007B82;
  margin-bottom: 1rem;
}

.pricing-price {
  margin-bottom: 0.5rem;
}

.price {
  font-size: 1.75rem;
  font-weight: bold;
  color: #FF6F61;
}

.period {
  display: block;
  font-size: 0.875rem;
  color: #888;
}

.pricing-features {
  padding: 2rem;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
}

.pricing-features li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #A0D6B4;
  font-weight: bold;
}

.pricing-footer {
  padding: 0 2rem 2rem;
  text-align: center;
}

/* Contact section */
.contact {
  background-color: #FDF6EC;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.contact-info {
  padding-right: 2rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-detail-item svg {
  margin-right: 1rem;
  flex-shrink: 0;
  fill: none;
  stroke: #FF6F61;
}

.contact-form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #007B82;
  box-shadow: 0 0 0 2px rgba(0, 123, 130, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input {
  width: auto;
  margin-right: 0.5rem;
}

/* Footer */
.site-footer {
  background-color: #2C2C2C;
  color: #FDF6EC;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-description {
  margin-top: 1rem;
  opacity: 0.8;
}

.footer-column h3 {
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: #FF6F61;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.75rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
}

.footer-contact li svg {
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.footer-links a {
  color: #FDF6EC;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: #FF6F61;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  opacity: 0.7;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .pricing-item.featured {
    transform: none;
  }
  
  .pricing-item.featured:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .hero {
    padding: 6rem 0 4rem;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
} 