/* ===== GENERAL ===== */
body {
  font-family: 'Inter', sans-serif;
  color: #fff;
  background-color: #000;
  margin: 0;
  padding: 0;
  transition: opacity 0.6s ease-in-out;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ===== 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;
}

/* ===== BOTÓN CONTACTO ===== */
.btn-contacto {
  position: fixed;
  top: 20px;
  right: 20px;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 30px;
  padding: 8px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  text-decoration: none;
  z-index: 1000;
  transition: all 0.3s ease;
}

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

/* ===== HERO ===== */
.hero {
  height: 100vh;
  min-height: 600px;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
  transition: filter 0.3s ease;
}


.hero.blurred {
  filter: blur(2px);
}

.hero .container {
  max-width: 1100px;
  width: 100%;
  padding: 0 8% 0 8%;
  margin: 0;
}

.hero-content {
  width: 100%;
  max-width: 600px;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.titulo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 5rem;
  line-height: 1.1;
  margin: 0;
  text-align: left;
  letter-spacing: -0.02em;
  word-wrap: break-word;
  white-space: pre-line;
}

.subtitulo {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 400;
  margin-top: 20px;
  text-align: left;
  opacity: 0.92;
}

.btn-conocer-mas {
  display: inline-block;
  margin-top: 30px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.btn-conocer-mas::after {
  content: '→';
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.btn-conocer-mas:hover {
  color: #ccc;
}

.btn-conocer-mas:hover::after {
  transform: translateX(4px);
}

/* ===== 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;
  text-decoration: none;
  display: block;
}

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

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

/* ===== MARQUEE ===== */
.bg-azul { background-color: #fff; }
.trabajamos-juntos { overflow: hidden; }
.marquee {
  white-space: nowrap;
  overflow: hidden;
}
.marquee > span {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 50s linear infinite;
  font-size: 2rem;
  font-weight: 200;
  color: #000;
}
@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ===== SECCIÓN "¡Hola! Somos Oier y Paul" ===== */
.seccion-nosotros {
  background-color: #f8f5f2;
  color: #0B0000;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.seccion-nosotros .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

/* Polaroid con cinta adhesiva */
.polaroid {
  position: absolute;
  top: -50px;
  left: 0;
  width: 40%;
  z-index: 10;
  opacity: 0.9;
  transform: rotate(3deg);
  transition: transform 0.3s ease;
}

.polaroid:hover {
  transform: rotate(0deg) scale(1.02);
}

.polaroid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 10px solid #f5f5f5;
  background-color: #f5f5f5;
}



.contenido-textual {
  position: relative;
  z-index: 20;
  max-width: 600px;
  margin-left: 50%; /* Empuja el texto a la derecha */
}

.titulo-seccion {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-align: left;
  letter-spacing: -0.02em;
}

.texto-principal {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  line-height: 1.65;
  color: #000;
  margin-bottom: 1.2rem;
  opacity: 0.92;
}

.texto-secundario {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  line-height: 1.65;
  color: #000;
  margin-bottom: 1.2rem;
  opacity: 0.92;
}

.btn-hablemos {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: #000;
  background-color: #fff;
  border: 2px solid #000;
  padding: 0.6rem 1.6rem;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-hablemos:hover {
  background-color: #000;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Tablet */
@media (max-width: 991px) {
  .polaroid {
    position: static;
    width: 100%;
    transform: none;
    margin-bottom: 30px;
  }
  .cinta-adhesiva {
    display: none;
  }
  .contenido-textual {
    margin-left: 0;
    max-width: 100%;
  }
  .titulo-seccion {
    font-size: 1.9rem;
  }
  .texto-principal,
  .texto-secundario {
    font-size: 1.05rem;
  }
  .btn-hablemos {
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
  }
}

/* Móvil */
@media (max-width: 767px) {
  .seccion-nosotros {
    padding: 80px 0;
  }
  .titulo-seccion {
    font-size: 1.7rem;
  }
  .texto-principal,
  .texto-secundario {
    font-size: 1rem;
    line-height: 1.6;
  }
  .btn-hablemos {
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
  }
}

/* ===== SERVICIOS ===== */
.seccion-servicios {
  background: #000;
  color: #fff;
  padding: 150px 0;
}

.seccion-servicios .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.servicios-lista {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.servicio-item {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 4rem;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(30px) scale(0.8);
  transition: opacity 0.6s ease, transform 0.6s ease;
  text-align: center;
}

/* ===== TESTIMONIOS ===== */
.seccion-testimonios {
  background: #F5F5F5;
  color: #000000;
  padding: 120px 0;
}

.seccion-testimonios .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.titulo-testimonios {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 4rem;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.testimonial-card {
  background: #0f0f0f;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
}

.testimonial-card p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  font-style: italic;
  margin: 0 0 1.8rem 0;
  color: #fff;
}

.testimonial-cliente {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.testimonial-cliente img {
  height: 50px;
  width: auto;
  opacity: 0.9;
}

.testimonial-cliente span {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #ccc;
}

/* ===== 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;
  text-decoration: none;
  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;
  text-decoration: none;
  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;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

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

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

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

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 991px) {
  .titulo { font-size: 4rem; }
  .subtitulo { font-size: 1.8rem; }
  .servicio-item { font-size: 3rem; }
  .testimonios-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-contenido { grid-template-columns: 1fr; }
  .footer-redes-top { flex-wrap: wrap; justify-content: center; gap: 1rem; }
  .footer-redes-bottom { flex-wrap: wrap; justify-content: center; gap: 1rem; }
}

/* Móvil */
@media (max-width: 767px) {
  .hero { height: auto; min-height: auto; padding: 100px 0; }
  .hero .container { padding: 0 5% 0 5%; }
  .titulo { font-size: 2.4rem !important; line-height: 1.25 !important; }
  .subtitulo { font-size: 1.2rem; }
  .btn-conocer-mas { font-size: 0.9rem; margin-top: 20px; }
  .seccion-nosotros, .seccion-servicios, .seccion-testimonios { padding: 80px 0; }
  .row { flex-direction: column; }
  .img-nosotros { margin-bottom: 2rem; }
  .servicio-item { font-size: 2.2rem; }
  .testimonios-grid { grid-template-columns: 1fr; }
  .footer-redes-top { flex-direction: row; justify-content: space-around; }
  .footer-redes-bottom { flex-direction: row; justify-content: space-around; }
}