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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #111;
  background: #fff;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid #f0f0f0;
}

.header-logo, .header-brand {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.header-brand:hover {
  text-decoration: none;
  color: inherit;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #111;
}

.header-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.header-brand {
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  flex: 1;
  text-align: center;
}

.menu-toggle {
  background: none;
  border: none;
  font-size: 2.5rem;
  cursor: pointer;
  color: #111;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  padding: 0;
}

.menu-toggle:hover {
  color: #A7F24F;
  background: none;
}

@media (hover: none) {
  .menu-toggle:hover {
    color: #111; /* Anula el hover */
  }

  .menu-toggle:active {
    color: #A7F24F; /* color al tocar */
  }
}

/* Mobile */
@media (max-width: 600px) {
  header {
    height: 40px;
    padding: 0 1.2rem;
  }

  .header-logo img {
    width: 35px;
    height: 35px;
  }
}

/* Menú lateral */
.side-menu {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100%;
  background: #fff;
  padding: 6rem 2rem 2rem;
  transition: right 0.3s ease;
  z-index: 999;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.side-menu.active {
  right: 0;
}

.side-menu ul {
  list-style: none;
}

.side-menu ul li {
  margin: 2rem 0;
}

.side-menu ul li a {
  text-decoration: none;
  color: #111;
  font-size: 2rem;
  transition: color 0.2s;
  display: block;
}

.side-menu ul li a:hover {
  color: #A7F24F;
}

/* Hero - Primera pantalla */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: -60px;
  padding-top: 60px;
}

.hero-content {
  max-width: 70%;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Mobile */
@media (max-width: 600px) {
  .hero-content {
    max-width: 90%;
    padding: 0 0.2rem;
  }
}

@media (min-width: 1200px) {
  .hero-content {
    padding: 0 1rem;
  }
}

.hero h1 {
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-weight: 900;
  line-height: 1.1;
  text-align: left;
}

/* Contenido principal */
main {
  max-width: 70%;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* Mobile */
@media (max-width: 768px) {
  main {
    max-width: 90%;
    padding: 3rem 1rem;
  }
}

@media (min-width: 1200px) {
  main {
    max-width: 70%;
    padding: 3rem 1rem;
  }
}

section {
  margin-bottom: 6rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  body {
    scroll-snap-type: none;
  }

  section {
    min-height: auto;
    margin-bottom: 5rem;
  }
}

h2 {
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

p {
  font-weight: 200;
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

ul {
  margin-left: 0;
  list-style: none;
}

li {
  margin-bottom: 2rem;
  margin-left: 0;
}

h3 {
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2rem);
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: #111;
}

li p {
  color: #1A1A1A;
}

/* Animación fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Botón */
button {
  width: fit-content;
  padding: 1rem 2rem;
  background: #A7F24F;
  color: #000000;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.1rem, 3vw, 2rem);
  font-weight: 300;
  transition: background 0.2s;
}

button:hover {
  background: #1A1A1A;
  color: #FFF;
}

@media (hover: none) {
  button:hover {
    background: #A7F24F; /* Anula el hover */
    color: #111;
  }

  button:active {
    background: #1A1A1A; /* color al tocar */
    color: #FFF;
  }
}

a {
  color: #111;
  text-decoration: underline;
}

a:hover {
  color: #A7F24F;
}
