/* ===== RESET Y BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== MENÚ HAMBURGUESA ===== */
.menu-toggle {
  position: fixed;
  top: 20px;
  left: 20px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1000;
}

/* ===== MENÚ MOBILE ===== */
.offcanvas-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background: #fff;
  color: #000;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding: 40px 30px;
}

.offcanvas-menu.active {
  transform: translateX(0);
}

.offcanvas-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.close-btn, .lang-switch {
  font-size: 0.9rem;
  color: #999;
  cursor: pointer;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-list li {
  margin-bottom: 15px;
}

.menu-list a {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #000;
  display: block;
}

.menu-list a::after {
  content: '→';
  margin-left: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-list a:hover::after {
  opacity: 1;
}

/* ===== BOTÓN CONTACTO ===== */
.btn-contacto {
  position: fixed;
  top: 20px;
  right: 20px;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 8px 16px;
  border-radius: 30px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  z-index: 1000;
  transition: background 0.3s, color 0.3s;
}

.btn-contacto:hover {
  background: #fff;
  color: #000;
}

/* ===== CONTENIDO PRINCIPAL ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  text-align: center;
  margin: 80px 0 50px;
  line-height: 1.2;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.project-card {
  background: #0a0a0a;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.project-figure {
  margin: 0;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.project-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-figure img {
  transform: scale(1.05);
}

.project-content {
  padding: 20px;
}

.project-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  margin: 0 0 8px 0;
  color: #fff;
}

.project-category {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-behance {
  text-align: center;
  margin-bottom: 80px;
}

.btn-behance {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
  background: transparent;
  border: 1px solid #fff;
  padding: 12px 32px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-behance:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
}

/* ===== FOOTER ===== */
.seccion-footer {
  background: #000;
  color: #fff;
  padding: 60px 0 40px;
}

.footer-redes-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-redes-top a {
  font-size: 1.5rem;
  color: #fff;
  transition: color 0.3s ease;
}

.footer-redes-top a:hover {
  color: #ccc;
}

.footer-divider {
  margin: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-contenido {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  padding: 30px 2rem;
}

.footer-columna {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-titulo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1.3;
  margin: 0;
  text-align: left;
}

.footer-email {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #fff;
  transition: color 0.3s ease;
}

.footer-email:hover {
  color: #ccc;
}

.footer-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 4rem;
  margin: 0;
  text-align: left;
  letter-spacing: -0.05em;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 0.5rem;
}

.footer-menu a {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: #ccc;
  text-decoration: underline;
}

.footer-pie {
  text-align: center;
  padding: 15px 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #999;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .section-title {
    font-size: 2.2rem;
    margin: 60px 0 40px;
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
  }

  .footer-contenido {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 2rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle,
  .btn-contacto {
    top: 15px;
    font-size: 1.3rem;
    padding: 6px 12px;
  }
}