/* 
 * undressaipornCL.pw - Estilos CSS
 * Diseñado para el mercado chileno con colores inspirados en la bandera chilena
 * Diseño totalmente responsivo para todos los dispositivos
 */

:root {
  --primary-color: #0039a6;    /* Azul de la bandera chilena */
  --secondary-color: #d52b1e;  /* Rojo de la bandera chilena */
  --light-color: #ffffff;      /* Blanco */
  --dark-color: #222222;       /* Negro/gris oscuro para texto */
  --accent-color: #ffcc00;     /* Amarillo acento */
  --background-color: #f0f0f0; /* Fondo gris claro */
  --gradient-bg: linear-gradient(135deg, var(--primary-color), #002063);
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  --border-radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

h1 {
  font-size: 2.7rem;
}

h2 {
  font-size: 2.2rem;
  position: relative;
}

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

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

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

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

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

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

/* Botones */
.btn {
  display: inline-block;
  padding: 14px 30px;
  background: var(--secondary-color);
  color: var(--light-color);
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: var(--box-shadow);
}

.btn:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

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

/* Header */
header {
  background-color: var(--light-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

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

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

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

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

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  padding-bottom: 5px;
}

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

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

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

/* Hero Section */
.hero {
  background: var(--primary-color);
  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' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.05' d='M0,96L48,122.7C96,149,192,203,288,202.7C384,203,480,149,576,122.7C672,96,768,96,864,112C960,128,1056,160,1152,170.7C1248,181,1344,171,1392,165.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

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

.hero-title {
  font-size: 3rem;
  margin-bottom: 25px;
}

.hero-text {
  font-size: 1.2rem;
  margin-bottom: 35px;
  opacity: 0.9;
}

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

/* Ventajas Section */
.ventajas {
  padding: 100px 0;
  background-color: var(--light-color);
}

.section-intro {
  margin-bottom: 60px;
}

.section-title {
  margin-bottom: 15px;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background: var(--light-color);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--box-shadow);
  border-top: 3px solid var(--primary-color);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card:nth-child(2) {
  border-top-color: var(--secondary-color);
}

.card:nth-child(3) {
  border-top-color: var(--accent-color);
}

.card-icon {
  margin-bottom: 25px;
  width: 70px;
  height: 70px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--light-color);
  font-size: 2rem;
}

.card:nth-child(2) .card-icon {
  background: var(--secondary-color);
}

.card:nth-child(3) .card-icon {
  background: var(--accent-color);
  color: var(--dark-color);
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

/* Como Funciona Section */
.como-funciona {
  padding: 100px 0;
  background-color: var(--background-color);
  position: relative;
}

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

.step {
  background: var(--light-color);
  border-radius: var(--border-radius);
  padding: 30px;
  position: relative;
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
}

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

.step-title {
  margin-top: 10px;
  color: var(--primary-color);
  font-size: 1.3rem;
}

.step-text {
  color: var(--dark-color);
  flex-grow: 1;
}

/* Acerca Section */
.acerca {
  padding: 100px 0;
  background-color: var(--light-color);
}

.acerca-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.acerca-content h2 {
  margin-bottom: 30px;
}

.acerca-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

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

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

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

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

/* Footer */
footer {
  background: var(--dark-color);
  color: #aaa;
  padding: 70px 0 20px;
}

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

.footer-column h3 {
  color: var(--light-color);
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

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

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

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

.footer-links a {
  color: #aaa;
}

.footer-links a:hover {
  color: var(--light-color);
}

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

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

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .acerca-container {
    grid-template-columns: 1fr;
  }
  
  .acerca-image {
    order: -1;
  }
}

@media screen and (max-width: 768px) {
  h1, .hero-title {
    font-size: 2.2rem;
  }
  
  h2, .section-title {
    font-size: 1.8rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--light-color);
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    transition: all 0.3s ease;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 15px 0;
  }
  
  .hamburger {
    display: block;
  }
  
  .hero {
    padding: 150px 0 80px;
  }
  
  .cards-container {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .container {
    width: 95%;
    padding: 0 10px;
  }
  
  .section-intro {
    margin-bottom: 40px;
  }
  
  .btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-text {
    font-size: 1rem;
  }
  
  .card, .step {
    padding: 25px 20px;
  }
}
