/*
 * undressaipornES.site
 * Estilos para el sitio web español
 */

:root {
  --primary: #E63946;
  --primary-light: #F48C95;
  --primary-dark: #C1121F;
  --secondary: #F1BF00;
  --secondary-light: #FFD60A;
  --secondary-dark: #E1AD01;
  --dark: #1D3557;
  --light: #F8F9FA;
  --gray: #6C757D;
  --gray-light: #DEE2E6;
  --white: #FFFFFF;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --radius: 8px;
  --container: 1140px;
}

/* Reset y base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
  font-size: 16px;
}

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5em;
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: 2.8rem;
  font-weight: 800;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.6rem;
}

h4 {
  font-size: 1.2rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

/* Botones */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(230, 57, 70, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(230, 57, 70, 0.3);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2.2rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1.2rem 2.8rem;
  font-size: 1.1rem;
}

/* Header */
.header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-list li a {
  color: var(--dark);
  font-weight: 600;
  position: relative;
}

.nav-list li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-list li a:hover::after {
  width: 100%;
}

.nav-button {
  margin-left: 10px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1100;
}

.menu-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--dark);
  margin: 5px 0;
  transition: var(--transition);
}

/* Sección Hero */
.hero {
  padding: 150px 0 100px;
  background: linear-gradient(135deg, var(--light), #f2f2f2);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(230, 57, 70, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(241, 191, 0, 0.05) 0%, transparent 50%);
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  gap: 30px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--primary);
  position: relative;
}

.hero h1 span::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: var(--secondary);
  z-index: -1;
  opacity: 0.5;
}

.hero-text {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-svg {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

/* Secciones comunes */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 15px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 15px auto 0;
  border-radius: 2px;
}

.section-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  color: var(--gray);
  font-size: 1.1rem;
}

/* Sección de Características */
.features-section {
  background-color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
  border-bottom: 4px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 4px solid var(--primary);
}

.feature-icon {
  margin: 0 auto 20px;
  width: 80px;
  height: 80px;
}

.feature-card h3 {
  margin-bottom: 15px;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray);
}

/* Sección Cómo Funciona */
.how-it-works {
  background-color: #f9f9f9;
  position: relative;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(241, 191, 0, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(230, 57, 70, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

.steps-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.step {
  display: flex;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

.step-number {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: 20px;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  margin-bottom: 10px;
}

.step-connector {
  width: 2px;
  height: 40px;
  background-color: var(--primary);
  margin: 0 auto;
  position: relative;
  z-index: 0;
}

.cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Sección Testimonios */
.testimonials {
  background-color: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(230, 57, 70, 0.1) 0%, transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(241, 191, 0, 0.1) 0%, transparent 30%);
  pointer-events: none;
}

.testimonials .section-title,
.testimonials .section-description {
  color: var(--white);
}

.testimonials .section-title::after {
  background: linear-gradient(90deg, var(--primary-light), var(--secondary));
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 25px;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
  margin-bottom: 20px;
  position: relative;
}

.quote-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 0;
  color: var(--light);
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 40px;
  height: 40px;
  margin-right: 15px;
  border-radius: 50%;
  overflow: hidden;
}

.author-avatar svg {
  width: 100%;
  height: 100%;
}

.author-info h4 {
  margin-bottom: 0;
  font-size: 1rem;
}

.author-info p {
  margin-bottom: 0;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Sección FAQ */
.faq-section {
  background-color: var(--white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  padding: 20px;
  background-color: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
}

.faq-toggle {
  position: relative;
  width: 20px;
  height: 20px;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background-color: var(--primary);
  transition: var(--transition);
}

.faq-toggle::before {
  width: 20px;
  height: 2px;
  top: 9px;
}

.faq-toggle::after {
  height: 20px;
  width: 2px;
  left: 9px;
  top: 0;
}

.faq-answer {
  background-color: var(--light);
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.faq-item.active .faq-question {
  background-color: #f8f8f8;
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 300px;
}

.faq-item.active .faq-toggle::after {
  transform: rotate(90deg);
  opacity: 0;
}

/* Sección CTA */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.1) 0%, transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(255, 255, 255, 0.1) 0%, transparent 30%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 70px 0 20px;
  margin-top: auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-branding {
  flex: 1;
  max-width: 300px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-branding h3 {
  margin-bottom: 10px;
}

.footer-branding p {
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-column h4 {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: var(--gray-light);
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--white);
    z-index: 1000;
    padding: 80px 20px 30px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .nav-button {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
  }
  
  .nav-button .btn {
    width: 100%;
  }
  
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-branding {
    max-width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .footer-links {
    width: 100%;
    justify-content: space-around;
    gap: 20px;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 0.7rem 1.5rem;
  }
  
  .btn-large, .btn-xl {
    padding: 0.8rem 2rem;
  }
  
  .step {
    flex-direction: column;
  }
  
  .step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
}
