/* ========================================= */ 
/* TIPOGRAFÍAS ADOBE FONTS */
/* ========================================= */

html {
  -webkit-text-size-adjust: 100%;
}

/* Títulos: Neue Haas Grotesk Display */
h1, h2, h3, h4, h5 {
  font-family: "neue-haas-grotesk-display", "helvetica", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
}

/* Textos: Neue Haas Grotesk Text */
body, p, a, li, input, textarea, button {
  font-family: "neue-haas-grotesk-text", "helvetica", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  color: #fff;
}

/* ========================================= */
/* RESET Y BASE */
/* ========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000;
  color: #fff;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ================================================== */
/* HEADER */
/* ================================================== */

header {
  background-color: #000;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 140px;
  width: auto;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  font-weight: 500;
}

nav ul li a:hover {
  color: #999;
}

header.scrolled {
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* ================================================== */
/* HERO */
/* ================================================== */

.hero {
  background-color: #111;
  padding: 120px 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 40px;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 34px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary {
  background-color: #fff;
  color: #000;
}

.btn-primary:hover {
  background-color: #ccc;
}

.btn-secondary {
  border: 1px solid #fff;
  color: #fff;
}

.btn-secondary:hover {
  background-color: #fff;
  color: #000;
}

/* ================================================== */
/* ABOUT */
/* ================================================== */

.about {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: 40px;
}

.about-text p {
  color: #ccc;
  max-width: 600px;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(255,255,255,0.05);
}

/* ================================================== */
/* SERVICIOS */
/* ================================================== */

.services {
  padding: 80px 0;
  background-color: #111;
  text-align: center;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.card {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  max-width: 280px;
  transition: all 0.3s;
}

.card:hover {
  background-color: #333;
  transform: translateY(-5px);
}

/* ================================================== */
/* PORTFOLIO */
/* ================================================== */

.portfolio {
  padding: 80px 0;
  background-color: #000;
  text-align: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-item img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.overlay span {
  color: #fff;
  font-weight: 500;
  letter-spacing: 1px;
}

/* ================================================== */
/* CONTACTO */
/* ================================================== */

.contact {
  padding: 80px 0;
  background-color: #111;
  text-align: center;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: 30px auto 0;
}

.contact input,
.contact textarea {
  padding: 12px;
  background-color: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  color: #fff;
}

.contact input::placeholder,
.contact textarea::placeholder {
  color: #aaa;
}

/* ================================================== */
/* FOOTER */
/* ================================================== */

footer {
  background-color: #000;
  text-align: center;
  padding: 30px 0;
  color: #777;
  font-size: 0.9rem;
}

/* ================================================== */
/* SECCIONES DE PROYECTOS */
/* ================================================== */

.project {
  background-color: #000;
  color: #fff;
  padding: 100px 0;
}

.project-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.project h2 {
  font-size: 2.4rem;
  margin-bottom: 25px;
  text-align: center;
  letter-spacing: 0.5px;
}

.project-description {
  text-align: center;
  color: #ccc;
  max-width: 800px;
  margin: 0 auto 70px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.brand-section {
  margin-bottom: 100px;
}

.brand-title {
  font-size: 1.9rem;
  margin-bottom: 10px;
  text-align: center;
}

.brand-tagline {
  color: #aaa;
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.brand-info h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  margin-top: 25px;
}

.brand-info p,
.process-list li {
  color: #ccc;
  line-height: 1.8;
}

.process-list {
  list-style: none;
  margin-top: 10px;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.project-gallery img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.project-gallery img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.project-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 100px auto;
  width: 60%;
}

/* Botón Behance */
.behance-link {
  text-align: center;
  margin-top: 60px;
}

.btn-behance {
  display: inline-block;
  padding: 12px 34px;
  border-radius: 30px;
  background-color: #fff;
  color: #000;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-behance:hover {
  background-color: #e5e5e5;
}

/* ================================================== */
/* HERO VISUAL PÁGINAS DE PROYECTO */
/* ================================================== */

.project-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

.project-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.project-hero-content h1 {
  font-size: 2.6rem;
  margin-bottom: 15px;
}

.project-hero-content p {
  font-size: 1.1rem;
  color: #ccc;
}

/* ================================================== */
/* ANIMACIÓN FADE-IN SUAVE */
/* ================================================== */

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in:nth-of-type(2) {
  animation-delay: 0.1s;
}

.fade-in:nth-of-type(3) {
  animation-delay: 0.2s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================================== */
/* ICONOS FLOTANTES MINIMALISTAS */
/* ================================================== */

.float-social-minimal {
  position: fixed;
  bottom: 22px;
  right: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2000;
}

.icon-btn {
  width: 48px;
  height: 48px;
  background-color: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.3);
  transition: 0.25s ease;
}

.icon-btn:hover {
  background-color: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

.icon-btn svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

/* ================================================== */
/* RESPONSIVE */
/* ================================================== */

@media (max-width: 900px) {
  .logo img {
    height: 120px;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .service-cards {
    flex-direction: column;
    align-items: center;
  }

  h1, h2 {
    letter-spacing: -0.2px;
  }
}

@media (max-width: 700px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 0.95rem;
  }

  .logo img {
    height: 120px !important;
  }

  .hero h2 {
    font-size: 1.7rem;
    line-height: 1.3;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project h2 {
    font-size: 1.8rem;
  }

  .brand-title {
    font-size: 1.6rem;
  }

  .float-social-minimal {
    bottom: 16px;
    right: 16px;
  }

  .icon-btn {
    width: 44px;
    height: 44px;
  }
}

/* ================================================== */
/* MENÚ HAMBURGUESA – MOBILE FIX */
/* ================================================== */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1200;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: 0.25s ease;
}

/* Animación cruz */
.menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 900px) {

  .menu-toggle {
    display: flex;
  }

  #nav-menu {
    display: none;
    position: absolute;
    top: 110px;
    right: 0;
    width: 100%;
    background: rgba(0,0,0,0.92);
    padding: 40px 0;
    text-align: center;
    z-index: 999;
  }

  #nav-menu ul {
    flex-direction: column;
    gap: 28px;
  }

  #nav-menu.active {
    display: block;
  }
}

/* ================================================== */
/* AIRE BOTÓN ABOUT */
/* ================================================== */

.about-btn-wpp {
  margin-top: 30px;
  display: inline-block;
}
/* ================================================== */
/* ICONOS FLOTANTES MINIMALISTAS */
/* ================================================== */

.float-social-minimal {
  position: fixed;
  bottom: 22px;
  right: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2000;
}

.icon-btn {
  width: 48px;
  height: 48px;
  background-color: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.3);
  transition: 0.25s ease;
}

.icon-btn:hover {
  background-color: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

.icon-btn svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

/* Responsive íconos */
@media (max-width: 600px) {
  .float-social-minimal {
    bottom: 16px;
    right: 16px;
  }

  .icon-btn {
    width: 44px;
    height: 44px;
  }
}
