:root {
  --orange: #e9692c;
  --light-orange: #f7954e;
  --white: #fff;
  --bg: #faf9f7;
  --text: #333;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  
}

/* FONDO CON PATRÓN DE PUNTOS */
body {
  font-family: 'Inter', 'Poppins', sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* HEADER */
.main-header {
  background: linear-gradient(90deg, var(--orange), var(--light-orange));
  color: var(--white);
  padding: 0.8rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 10;
  text-align: center;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(90%, 1100px);
  margin: 0 auto;
}

.logo {
  text-decoration: none;
  color: var(--white);
}

.logo h1 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.logo p {
  font-weight: 300;
  font-size: 0.9rem;
}

/* NAV */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  text-shadow: 0 0 10px rgba(255,255,255,0.6);
}

/* HERO */
.hero {
  background: linear-gradient(90deg, var(--orange) 50%, var(--light-orange));
  color: var(--white);
  padding: 2rem 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(90%, 1000px);
  margin: 0 auto;
  gap: 1.2rem;
}

.hero-img {
  width: 260px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.hero-text {
  text-align: center;
  max-width: 600px;
}

.hero-text h2 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

/* SLIDER */
.slider-section {
  text-align: center;
  background: #fff;
  padding: 2.5rem 0;
}

.slider-title {
  font-size: 1.8rem;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 1rem;
}

.slider {
  position: relative;
  width: min(90%, 900px);
  height: 380px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;   
  height: 100%; 
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
 
}

.slide img {
 width: 100%;
 height: 100%; 
/* object-fit: contain;  evita recorte */
}

  

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1%; /* se ocultaron los botones para que no tape la imagen */
  background: rgba(233,105,44,0.8);
  color: #fff;
  border: none;
  font-size: 1rem;
  border-radius: 50%;
  width: 45px;  
  height: 45px;    
  cursor: pointer;
  transition: 0.3s;
  z-index: 10;
}

.prev:hover, .next:hover {
  background: var(--light-orange);
}

.prev { left: 15px; }
.next { right: 15px; }

/* BOTONES */
.links-section {
  padding: 2.5rem 0;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  width: min(90%, 900px);
  margin: 0 auto;
}

.nav-button {
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  text-align: center;
  padding: 0.8rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  
}


.nav-button:hover {
  transform: translateY(-6px) scale(1.05);
  background: var(--light-orange);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

/* FOOTER */  
.main-footer {
  text-align: center;
  background: var(--orange);
  color: var(--white);
  padding: 0.8rem 0;
  cursor: pointer;
} 

/* EFECTO PNG FLOTANTE */
.floating-icon {
  position: fixed;
  width: 80px;
  height: 80px;
  pointer-events: none;
  animation: shake 0.4s ease-in-out 3, floatUp 2.5s ease-in-out forwards;
  transform-origin: center;
  z-index: 9999;
}

@keyframes shake {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  20% { transform: translate(-5px, 2px) rotate(-5deg); }
  40% { transform: translate(5px, -2px) rotate(5deg); }
  60% { transform: translate(-3px, 3px) rotate(-3deg); }
  80% { transform: translate(3px, -3px) rotate(3deg); }
}

@keyframes floatUp {
  0% { opacity: 1; transform: translateY(0) scale(1); }
  70% { opacity: 1; transform: translateY(-120px) scale(1.1); }
  100% { opacity: 0; transform: translateY(-180px) scale(0.9); }
}

/* AJUSTES RESPONSIVOS */
@media (min-width: 700px) {
  .hero-content {
    flex-direction: row;
    text-align: left;
    justify-content: center;
    gap: 2rem;
  }
  .hero-text { text-align: left; }
}

@media (max-width: 600px) {
  .hero-img {
    width: 200px;
  }
  .slider {
    height: 260px;
  }
  .slider-title {
    font-size: 1.5rem;
  }
}


