/* ================= RESET ================= */
.wow {
  will-change: transform, opacity;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:'Manrope', sans-serif;
  background: #eeeae3;
}
h1, h2, h3 {
  font-family: 'DM Serif Display', serif;
}
p {
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0.01em;
}
/* ================= HERO ================= */

.hero {
  min-height: 100vh;
  background-image: url("/assets/img/bg3.webp");
  background-size: cover;
  background-position: center;
  position: relative;
  color: #ffffff;
  content-visibility: auto;
  contain-intrinsic-size: 100vh;
}


.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
}
/*=========== SWITCHHH DE IDIOMA ==============*/
.lang-switch {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.25em;
}

.lang-switch a {
  color: #F4ECDE;
  text-decoration: none;
  opacity: 0.6;
}

.lang-switch a.active {
  opacity: 1;
}

.lang-switch span {
  opacity: 0.4;
}

.lang-switch a:hover {
  opacity: 1;
}

/* ================= NAVBAR ================= */
.navbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 64px;
  
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  display: block;
  height: 70px;   
  width: 100px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: #F4ECDE;
  font-size: 14px;
  opacity: 0.85;
  letter-spacing: -0.04em;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: white;
  cursor: pointer;
}

/* ================= HERO CONTENT ================= */
.hero-content {
  position: relative;
  z-index: 2;
  height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  gap: 24px;
}

.hero-content h1 {
  font-size: 40px;
  letter-spacing: 0.7em;
  line-height: 1.2;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  border-radius: 999px;
  background: #2c2a29;
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;

  /* sensación de botón */
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}



.hero-content p {
  max-width: 600px;
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.95;
}

/* ================= STATEMENT ================= */
.statement {
  padding: 4rem 2rem;
  text-align: center;
}

.statement p {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: #2a2a2a;
  margin: 1.5rem 0;
}

.statement .line {
  display: block;
  width: 60px;
  height: 1px;
  background: rgba(0, 0, 0, 0.25);
  margin: auto;
}



/* ================= EDITORIAL ================= */
.editorial {
  padding: 5rem 2rem;
}

/* --- NAV --- */
.editorial-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

.editorial-nav button {
  background: none;
  border: none;
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.4;
  position: relative;
  transition: opacity 0.3s ease;
}

.editorial-nav button::after {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  background: currentColor;
  margin-top: 6px;
  opacity: 0.3;
}

.editorial-nav button.active {
  color: #4B5563;
  opacity: 1;
  font-size: 1.4rem;
}

/* --- CONTENT SWITCH --- */
.editorial-content {
  position: relative;
  max-width: 1100px;
  margin: auto;
  min-height: 420px;
}

.content {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  transition: all 0.4s ease;
}

.content.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* --- GRID --- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.grid-2.reverse {
  direction: rtl;
}

.grid-2.reverse>* {
  direction: ltr;
}

/* --- TEXT --- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.text h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
/* NORA significado */
.nora-meaning {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.nora-meaning .letter {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.nora-meaning .initial {
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1;
  min-width: 28px;
}

.nora-meaning strong {
  display: block;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.nora-meaning p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

/* --- VISUAL --- */
.visual {
  width: 100%;
  max-width: 520px;        /* tamaño editorial en desktop */
  margin-left: auto;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  object-fit: cover;
}
.visual.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* ================= PROCESS ================= */
.process {
  padding: 4rem 2rem;
}

.steps {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step span {
  font-weight: bold;
  color: #4B5563;
  font-size: 30px;
}

.step p {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ================= GENERIC SECTIONS ================= */
.section-header {
  max-width: 900px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
}

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 0.75rem;
}

/* ================= PROJECTS SLIDER ================= */
.projects-slider {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(180deg,
      #eeeae3 0%,
      #ffffff 55%,
      #eeeae3 100%);
}

.projects-track {
  position: relative;
  height: 85vh;
  min-height: 520px;
}

/* Slide */
.project-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.project-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* ================= IMAGEN ================= */
.project-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-link {
  position: relative;
  width: 90%;
  height: 75%;
  display: block;
  border-radius: 28px;
  overflow: hidden;
  text-decoration: none;
}

/* Imagen */
.project-image {
  width: 100%;
  height: 100%;
  background: #542525;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  transition: filter 0.4s ease, transform 0.4s ease;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* CTA overlay */
.project-cta {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Hover desktop */
@media (hover: hover) {
  .project-link:hover .project-image {
    filter: blur(4px) brightness(0.7);
    transform: scale(1.03);
  }

  .project-link:hover .project-cta {
    opacity: 1;
  }
}

/* ================= TEXTO ================= */
.project-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
}

.project-content .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.6rem;
  opacity: 0.6;
  margin-bottom: 1rem;
}

.project-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.2rem;
}

.project-desc {
  max-width: 420px;
  line-height: 1.6;
  opacity: 0.8;
}



/* ================= TESTIMONIALS ================= */
.testimonials {
  padding: 5rem 2rem;
  background: #eeeae3;
}

.testimonial-list {
  max-width: 700px;
  margin: auto;
}

blockquote {
  font-style: italic;
  opacity: 0.8;
}

/* ================= FAQ ================= */
.faq {
  padding: 7rem 2rem;
  background: #eeeae3;
}

.faq .section-header {
  max-width: 1100px;
  margin: 0 auto 4rem auto;
}

.faq-list {
  max-width: 1100px; /* antes 700px */
  margin: auto;
}

.faq details {
  margin-bottom: 1.8rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  padding-bottom: 1.2rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 1.1rem;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}

/* quitar triangulito default */
.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  margin-top: 0.8rem;
  font-weight: 300;
  line-height: 1.7;
  max-width: 900px;
}
/* Animación del contenido */
/* Estado cerrado */
.faq details summary + p {
  opacity: 0;
  transform: translateY(-6px);
  transition: all 1s ease;
}


/* Estado abierto */
.faq details[open] summary + p {
  opacity: 1;
  transform: translateY(0);
}
.faq summary::after {
  content: "—";
  position: absolute;
  right: 0;
  top: 0;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
  color: #777;
}

.faq details[open] summary::after {
  transform: rotate(90deg);
}

/* ================= MANIFESTO ================= */
.manifesto {
  background: transparent;
  padding: 6rem 2rem 7rem;
  text-align: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  color: #f4f4f4;
}

.manifesto p {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ================= CONTACT ================= */
.contact {
  background: transparent;
  padding: 6rem 2rem;
  color: #eee;
}

.contact-inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.contact-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  opacity: 0.6;
  margin-bottom: 1rem;
}

.contact h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  margin-bottom: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.75rem 0;
  color: #eee;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: #4B5563;
}

.contact-form button {
  margin-top: 2rem;
  align-self: center;
  padding: 0.7rem 2.5rem;
  border-radius: 999px;
  border: none;
  background: #4B5563;
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

#form-status {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ================= CLOSING GRADIENT ================= */
.closing-gradient {
  background: linear-gradient(to bottom,
      #eeeae3 0%,
      #7A746B 40%,
      #1a1a1a 70%,
      #0f0f0f 100%);
}

/* ================= FOOTER ================= */
.footer {
  background: #0f0f0f;
  color: #cfcfcf;
  padding: 3rem 2rem 1.5rem;
  font-family: 'Inter', sans-serif;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* === FIX DEFINITIVO DE ALINEACIÓN === */
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-col h5 {
  margin-top: 0;
}

/* Marca */
.footer .brand h4 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #eee;
}

.footer .brand p {
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.75;
  max-width: 280px;
}

/* Columnas */
.footer-col h5 {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.6rem;
  margin-bottom: 0.75rem;
  opacity: 0.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.45rem;
  font-size: 0.8rem;
}

/* Links */
.footer a {
  color: #cfcfcf;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.footer a:hover {
  opacity: 0.6;
}

/* Autor */
.footer .author a {
  font-size: 0.85rem;
}

/* Bottom */
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.7rem;
  opacity: 0.5;
}

#scrollTopBtn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
}

#scrollTopBtn:hover {
  background: #000;
}

#scrollTopBtn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}


/* ================= MOBILE FIXES ================= */
@media (max-width: 768px) {

  /* NAVBAR */
  .navbar {
    padding: 24px;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 24px;
    background: rgba(0, 0, 0, 0.9);
    padding: 16px 24px;
    border-radius: 8px;
    flex-direction: column;
    gap: 16px;
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  /* Hover SOLO en desktop */
  @media (hover: hover) {
    .btn:hover {
      transform: translateY(-2px) scale(1.05);
      box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
      background: #1f1e1d;
    }
  }

  /* Feedback táctil (mobile y desktop click) */
  .btn:active {
    transform: scale(0.96);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  }

  .hero-content h1 {
    font-size: 36px;
    letter-spacing: 0.28em;
  }

  /* EDITORIAL NAV */
  /* Editorial nav como carril controlado */
  .editorial-nav {
    position: relative;
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    overflow: hidden;
    /* importante */
    padding: 0 1rem;
  }

  .editorial-nav button {
    flex: 0 0 auto;
    opacity: 0.25;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .editorial-nav button.active {
    opacity: 1;
    transform: scale(1.05);
  }


  /* GRID */
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .editorial-content {
    min-height: 520px;
  }


 .visual {
    max-width: 100%;
    margin: 2rem auto 0;
  }

.visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

  .text h3 {
    font-size: 1.6rem;
  }

  /* PROCESS */
  .process{
    margin-top: 40%;
    
  }
  .steps {
    flex-direction: column;
    gap: 2.5rem;
  }

  .step span {
    font-size: 2rem;
  }
}

/* ================= MOBILE ================= */
@media (max-width: 900px) {
  .projects-track {
    height: auto;
  }

  .project-slide {
    position: absolute;
    /* CLAVE: NO cambiar */
    grid-template-columns: 1fr;
  }

  .project-media {
    padding: 2rem 0;
  }

  .project-link {
    width: 90%;
    height: 260px;
  }

  .project-image {
    filter: none !important;
    transform: none !important;
  }

  .project-cta {
    opacity: 1;
    position: relative;
    background: none;
    color: #2c2a29;
    padding: 1rem 0;
  }

  .project-content {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    text-align: center;
  }

  .footer-col {
    align-items: center;
  }

  .footer .brand p {
    margin: 0 auto;
  }
}