/* 
* aiclothesremoverCL.pw - Estilo Chileno
* Diseño inspirado en elementos culturales y paisajes de Chile
*/

:root {
  --primary-color: #0039A6; /* Azul de la bandera chilena */
  --secondary-color: #D52B1E; /* Rojo de la bandera chilena */
  --light-color: #FFFFFF; /* Blanco de la bandera chilena */
  --dark-color: #333333;
  --accent-color: #6D9886; /* Verde inspirado en los paisajes chilenos */
  --gradient-bg: linear-gradient(135deg, var(--primary-color), #002266);
  --mountains-color: #6D9886; /* Color para elementos de montaña */
  --wine-color: #722F37; /* Color inspirado en vinos chilenos */
  --desert-color: #E8B96E; /* Color inspirado en desierto de Atacama */
  --border-radius: 8px;
  --box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Estilos básicos */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: #FCFCFC;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

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

h1 {
  font-size: 2.8rem;
  color: var(--light-color);
}

h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 15px;
}

h2:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70px;
  height: 4px;
  background: var(--secondary-color);
}

.text-center h2:after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
}

p {
  margin-bottom: 1rem;
}

.text-center {
  text-align: center;
}

/* Botones */
.btn {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--secondary-color);
  color: var(--light-color);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 10px rgba(213, 43, 30, 0.2);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--primary-color);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover:before {
  width: 100%;
}

.btn:hover {
  box-shadow: 0 6px 15px rgba(213, 43, 30, 0.3);
}

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

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

.btn-alt:hover {
  color: var(--light-color);
}

/* Header - Inspirado en los colores de la bandera chilena */
header {
  background-color: var(--light-color);
  box-shadow: var(--box-shadow);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

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

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

.logo svg {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

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

/* Navegación */
.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-menu li a {
  color: var(--dark-color);
  font-weight: 600;
  position: relative;
  padding: 5px 0;
}

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

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

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: var(--primary-color);
}

/* Hero Section - Inspirado en la Cordillera de los Andes */
.hero {
  padding: 180px 0 120px;
  background: var(--gradient-bg);
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C150,200 350,0 500,100 C650,200 750,0 900,100 C1050,200 1150,0 1200,100 L1200,200 L0,200 Z' style='fill:%23ffffff;'/%3E%3C/svg%3E");
  background-size: cover;
}

.hero:after {
  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='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 20L32 26H39L33 30L35 36L30 32L25 36L27 30L21 26H28L30 20Z' fill='%23ffffff' opacity='0.05'/%3E%3C/svg%3E");
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
  color: var(--light-color);
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.hero-image {
  flex-basis: 45%;
  position: relative;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* Características - Inspirado en el desierto de Atacama */
.features {
  padding: 100px 0 70px;
  background-color: var(--light-color);
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title p {
  max-width: 700px;
  margin: 0 auto;
}

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

.feature-box {
  padding: 35px 25px;
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-align: center;
  border-top: 4px solid var(--primary-color);
  z-index: 1;
}

.feature-box:hover {
  transform: translateY(-10px);
}

.feature-box:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background-color: rgba(0, 57, 166, 0.03);
  transition: var(--transition);
  z-index: -1;
}

.feature-box:hover:before {
  height: 100%;
}

.feature-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 57, 166, 0.1);
  border-radius: 50%;
  margin: 0 auto 20px;
}

.feature-icon svg {
  width: 40px;
  height: 40px;
  color: var(--primary-color);
}

/* Cómo funciona - Inspirado en los viñedos chilenos */
.how-it-works {
  padding: 100px 0 70px;
  background-color: #F5F7FA;
  position: relative;
  overflow: hidden;
}

.how-it-works:before {
  content: '';
  position: absolute;
  top: -300px;
  right: -300px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114, 47, 55, 0.05) 0%, rgba(114, 47, 55, 0) 70%);
  z-index: 0;
}

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

.step-box {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: var(--box-shadow);
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.step-box:hover {
  transform: translateY(-5px);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background-color: var(--secondary-color);
  color: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.step-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 57, 166, 0.08);
  border-radius: 50%;
}

.step-icon svg {
  width: 35px;
  height: 35px;
  color: var(--primary-color);
}

/* Acerca de - Inspirado en la Patagonia chilena */
.about {
  padding: 100px 0;
  background-color: var(--light-color);
  position: relative;
  overflow: hidden;
}

.about: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='20' viewBox='0 0 100 20'%3E%3Cpath d='M0 10L10 5L20 15L30 7L40 12L50 5L60 10L70 2L80 8L90 0L100 10' stroke='%236D9886' stroke-width='1' fill='none' opacity='0.1'/%3E%3C/svg%3E");
  background-size: 200px 40px;
  opacity: 0.1;
}

.about-row {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-content {
  flex-basis: 50%;
}

.about-image {
  flex-basis: 50%;
  position: relative;
}

.about-content ul {
  margin: 20px 0;
}

.about-content ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
}

.about-content ul li:before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

/* CTA - Inspirado en el desierto de Atacama */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--secondary-color), #AB1A1A);
  color: var(--light-color);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta:before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 20L32 26H39L33 30L35 36L30 32L25 36L27 30L21 26H28L30 20Z' fill='%23ffffff' opacity='0.05'/%3E%3C/svg%3E");
  z-index: 0;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta h2 {
  color: var(--light-color);
}

.cta h2:after {
  background: var(--light-color);
}

.cta p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

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

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

.cta .btn:hover {
  color: var(--light-color);
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.2);
}

/* Footer - Inspirado en la bandera chilena */
footer {
  padding: 80px 0 20px;
  background-color: var(--primary-color);
  color: var(--light-color);
  position: relative;
}

.footer-wave {
  position: absolute;
  top: -3px;
  left: 0;
  width: 100%;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' fill='%23ffffff'/%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.5' fill='%23ffffff'/%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: cover;
}

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

.footer-column h3 {
  color: var(--light-color);
  margin-bottom: 25px;
  font-size: 1.3rem;
}

.footer-column p {
  opacity: 0.8;
  margin-bottom: 20px;
}

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

.footer-logo svg {
  width: 80px;
  height: 80px;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  padding-left: 15px;
  transition: var(--transition);
}

.footer-links a:before {
  content: '›';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary-color);
}

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

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

/* Responsive */
@media (max-width: 991px) {
  h1 {
    font-size: 2.4rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 150px 0 100px;
  }
  
  .hero-row, 
  .about-row {
    flex-direction: column;
  }
  
  .about-image {
    order: -1;
    margin-bottom: 30px;
  }
  
  .feature-box {
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    right: -100%;
    width: 100%;
    flex-direction: column;
    background-color: var(--light-color);
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    text-align: center;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    margin-bottom: 15px;
    width: 100%;
    text-align: center;
  }
  
  .features-grid,
  .steps-container {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  .step-box {
    padding: 30px 20px;
  }
  
  .footer-row {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-column h3:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-logo {
    margin: 0 auto 20px;
  }
  
  .footer-links a {
    display: inline-block;
  }
  
  .footer-links a:before {
    display: none;
  }
  
  .footer-links a:hover {
    padding-left: 15px;
  }
}
