/* 
 * undressaipornES.pw - Estilos CSS
 * Diseñado para el mercado español
 * Totalmente responsive para móvil y escritorio
 */

:root {
  --primary-color: #c60b1e;    /* Rojo de la bandera española */
  --secondary-color: #ffc400;  /* Amarillo de la bandera española */
  --tertiary-color: #8a1538;   /* Rojo burdeos, complementario */
  --light-color: #ffffff;      /* Blanco */
  --dark-color: #1e1e1e;       /* Negro suave para texto */
  --bg-color: #f8f8f8;         /* Fondo gris claro */
  --accent-color: #5b9bd5;     /* Azul acento para elementos interactivos */
  --gradient-bg: linear-gradient(145deg, var(--primary-color), var(--tertiary-color));
  --box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', 'Arial', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--bg-color);
  font-size: 16px;
  overflow-x: hidden;
  font-weight: 400;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

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

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

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.7;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--tertiary-color);
  text-decoration: none;
}

/* Botones */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  text-align: center;
  z-index: 1;
  border: none;
  cursor: pointer;
  box-shadow: var(--box-shadow);
}

.btn-primary {
  background: var(--primary-color);
  color: var(--light-color);
}

.btn-primary:hover {
  background: var(--tertiary-color);
  transform: translateY(-3px);
  color: var(--light-color);
}

.btn-secondary {
  background: var(--secondary-color);
  color: var(--dark-color);
}

.btn-secondary:hover {
  background: #e6b000;
  transform: translateY(-3px);
}

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

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

.btn-large {
  padding: 16px 34px;
  font-size: 1rem;
}

/* Encabezado */
.header {
  background-color: var(--light-color);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-scrolled {
  padding: 10px 0;
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark-color);
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
}

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

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

.mobile-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--dark-color);
}

/* Héroe */
.hero {
  background: var(--gradient-bg);
  color: var(--light-color);
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%23ffffff' fill-opacity='0.05' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z'%3E%3C/path%3E%3C/svg%3E");
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 670px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  gap: 20px;
}

/* Características */
.features {
  padding: 120px 0;
  background-color: var(--light-color);
}

.section-title {
  text-align: center;
  margin-bottom: 70px;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-color);
}

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

.feature-card {
  background: var(--light-color);
  border-radius: 10px;
  padding: 40px 30px;
  transition: all 0.3s ease;
  position: relative;
  border-bottom: 3px solid transparent;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-bottom: 3px solid var(--primary-color);
}

.feature-icon {
  margin-bottom: 20px;
  color: var(--primary-color);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.feature-desc {
  color: #666;
}

/* Cómo funciona */
.how-it-works {
  padding: 120px 0;
  background-color: var(--bg-color);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.step-box {
  background: var(--light-color);
  border-radius: 10px;
  padding: 30px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--light-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.step-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* Acerca de */
.about {
  padding: 120px 0;
  background-color: var(--light-color);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* CTA */
.cta {
  padding: 80px 0;
  background: var(--primary-color);
  color: var(--light-color);
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  color: var(--light-color);
  margin-bottom: 25px;
}

.cta-text {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.cta-btn {
  background: var(--light-color);
  color: var(--primary-color);
}

.cta-btn:hover {
  background: var(--secondary-color);
  color: var(--dark-color);
}

/* Footer */
.footer {
  background: #222;
  color: #aaa;
  padding: 80px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-column h3 {
  color: var(--light-color);
  margin-bottom: 25px;
  font-size: 1.5rem;
  position: relative;
  padding-bottom: 15px;
}

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

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

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

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #aaa;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Valoraciones */
.ratings {
  display: flex;
  justify-content: center;
  margin: 15px 0;
}

.star {
  color: var(--secondary-color);
  font-size: 20px;
  margin: 0 2px;
}

/* Diseño responsivo */
@media (max-width: 992px) {
  h1, .hero-title {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-image {
    order: -1;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  
  h1, .hero-title {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 40px 0;
    background: var(--light-color);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 15px 0;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero {
    padding: 150px 0 80px;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .features-container,
  .steps-container {
    grid-template-columns: 1fr;
  }
  
  .feature-card,
  .step-box {
    padding: 30px 20px;
  }
}

@media (max-width: 576px) {
  .container {
    width: 95%;
    padding: 0 10px;
  }
  
  h1, .hero-title {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 12px 25px;
    font-size: 0.85rem;
  }
  
  .hero-btns {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    margin-bottom: 40px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}
