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

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

:root {
  --dark: #111110;
  --green: #114746;
  --cream: #F2EDE6;
  --white: #ffffff;
  --muted: #888;
  --accent: #C8B89A;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--green);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
    animation: fadein 2s;
    -moz-animation: fadein 2s; /* Firefox */
    -webkit-animation: fadein 2s; /* Safari and Chrome */
    -o-animation: fadein 2s; /* Opera */
    scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

div,
a {
  transition: transform ease-in-out 300ms;
}


b.sub { border-bottom: rgba(11, 47, 48, .2) solid 1.5px; color:rgba(11, 47, 48, .4); }

/* ── NAV ── */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 40px;
  mix-blend-mode: difference;
}

.nav-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  line-height: 1.2;
}

.nav-logo span {
  display: block;
  font-weight: 300;
  letter-spacing: .1em;
  color: rgba(255,255,255,.5);
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  padding-top: 20px;
  text-decoration: none;
  opacity: .7;
  transition: opacity .2s;
}

.nav-links a.active { border-bottom: pink solid 2px; }

.nav-links a img {
  margin-top: -10px;
}

.nav-links a:hover {
  opacity: 1;
}


/* burger */

.nav-burger {
  display: none;
  width: 28px;
  height: 20px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.nav-burger span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: transform .25s, opacity .25s, top .25s;
}

.nav-burger span:nth-child(1) {
  top: 0;
}

.nav-burger span:nth-child(2) {
  top: 9px;
}

.nav-burger span:nth-child(3) {
  top: 18px;
}

.nav-burger.open span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}

.nav-burger.open span:nth-child(2) {
  opacity: 0;
}

.nav-burger.open span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}


/* ── HERO ── */

#hero {
  height: 100vh;
  min-height: 600px;
  background: var(--green);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
  margin-bottom: 75px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('img/logo-hero.svg') center no-repeat;
  background-size: 35%;
  opacity: .22;
  animation: prueba 8s linear infinite;
  will-change: transform;
}

@keyframes prueba {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-28px);
  }
}

h1,
h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: bold;
}

.desc_ a {
  font-size: clamp(2.4em, 8vw, 4.2em);
  line-height: .95em;
  font-family: 'Bebas Neue', sans-serif;
  display: block;
  margin-bottom: 25px;
  font-weight: bold;
  color: #000;
}

.desc_ h1 {
  font-size: clamp(2.6em, 10vw, 6.2em);
  line-height: .95em;
}

.hero-tagline {
  position: absolute;
  top: 50%;
  left: 40px;
  right: 40px;
  transform: translateY(-50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 12vw, 160px);
  line-height: .92;
  letter-spacing: .01em;
  z-index: 2;
}



/* flip */

.flip-block {
  display: block;
  overflow: hidden;
  height: 1em;
  perspective: 600px;
  position: relative;
  margin: 0 auto;
  text-align: center;
  padding-top: 25px;
}

.flip-text {
  display: block;
  height: 1em;
  line-height: 1;
  transform-origin: 50% 100%;
  backface-visibility: hidden;
  will-change: transform, opacity;
  margin: 0 auto;
  text-align: center;
}

.flip-text-top {
  color: var(--white);
}

.flip-text-bot {
  -webkit-text-stroke: 1.5px rgba(255,255,255,.5);
  color: transparent;
}


/* exit animations */

@keyframes flipUpExit {
  0% {
    transform: rotateX(0deg);
    opacity: 1;
  }

  100% {
    transform: rotateX(90deg);
    opacity: 0;
  }
}

@keyframes flipDownExit {
  0% {
    transform: rotateX(0deg);
    opacity: 1;
  }

  100% {
    transform: rotateX(-90deg);
    opacity: 0;
  }
}


/* enter animations */

@keyframes flipUpEnter {
  0% {
    transform: rotateX(-90deg);
    opacity: 0;
  }

  100% {
    transform: rotateX(0deg);
    opacity: 1;
  }
}

@keyframes flipDownEnter {
  0% {
    transform: rotateX(90deg);
    opacity: 0;
  }

  100% {
    transform: rotateX(0deg);
    opacity: 1;
  }
}

.flip-exit-up {
  animation: flipUpExit .45s cubic-bezier(.55,0,1,.45) forwards;
}

.flip-exit-down {
  animation: flipDownExit .45s cubic-bezier(.55,0,1,.45) forwards;
}

.flip-enter-up {
  animation: flipUpEnter .45s cubic-bezier(0,.55,.45,1) forwards;
}

.flip-enter-down {
  animation: flipDownEnter .45s cubic-bezier(0,.55,.45,1) forwards;
}

.hero-meta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-services {
  text-align: center;
  margin: 0 auto;
  font-size: .72rem;
  color: rgba(255,255,255,.75);
  letter-spacing: .1em;
  line-height: 2;
  display: block;
}

.hero-services span {
  color: rgba(255,255,255,.3);
  margin: 0 8px;
}

.hero-scroll {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-scroll::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: rgba(255,255,255,.3);
}


/* split labels */

.split-label a {
  border: #fff solid 1px;
  background: none;
  color: #fff;
  font-size: 14px;
  border-radius: 20px;
  padding: 4px 16px;
  margin: 10px 0;
}

.split-label a:hover {
  border: #129797 solid 1px;
  background: #129797;
  color: #fff;
  font-size: 14px;
  border-radius: 20px;
  padding: 4px 16px;
  margin: 10px 0;
}


/* ── PROJECTS ── */

.push {
  padding: 2%;
}

.cargo {
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 20px;
  color: #000 !important;
}

.nombre {
  margin-bottom: 35px;
}

.socialm {
  display: block;
  margin: 0 auto;
  filter: grayscale(100%);
  opacity: .3;
  transition: all .2s ease;
}

a:hover .socialm {
  display: block;
  margin: 0 auto;
  filter: grayscale(0%);
  opacity: 1;
}

.demo {
  filter: brightness(0%);
  opacity: .1;
}

#projects {
  background: #fff;
}

.project {
  display: flex;
  flex-direction: column;
  border-top: 10px solid rgba(255,255,255,.07);
  overflow: hidden;
  padding: 0 10%;
  margin-bottom: 50px;
}

.project:nth-child(even) {
  direction: ltr;
}

/* ─────────────────────────────
   PROJECT IMAGE / VIDEO
   REVEAL DESDE ABAJO
   ───────────────────────────── */

.proj-img {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 90vh;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
  margin-bottom: 25px;
}

.proj-img.revealed {
  opacity: 1;
  transform: translateY(0);
}

.proj-img img,
.proj-img video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ── PROJECT IMAGE 2 ── */

.proj-img2 {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 31.7%;
  height: 40vh;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;

  vertical-align: top;
}

.proj-img2.revealed {
  clip-path: inset(0 0 0 0);
}

.proj-img2 img,
.proj-img2 video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}

.proj-img2.revealed img,
.proj-img2.revealed video {
  transform: scale(1);
}


/* ── PROJECT IMAGE 2A ── */

.proj-img2a {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 31.7%;
  height: 60vh;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
  margin-bottom: 25px;
  vertical-align: top;
}

.proj-img2a.revealed {
  clip-path: inset(0 0 0 0);
}

.proj-img2a img,
.proj-img2a video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  transform: scale(1.08);
  transition: transform 1.2s cubic-bezier(.77,0,.18,1); 
}

.proj-img2a.revealed img,
.proj-img2a.revealed video {
  transform: scale(1);
}


/* ── PROJECT IMAGE 3 ── */

.proj-img3 {
  position: relative !important;
  overflow: hidden;
  display: inline-block;
  width: auto;
  height: auto;
  border: white solid 2px;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
  margin-bottom: 25px;
}

.proj-img3.revealed {
  clip-path: inset(0 0 0 0);
}

.proj-img3 img,
.proj-img3 video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  transform: scale(1.03);
  transition: transform 1.2s cubic-bezier(.77,0,.18,1);
}

.proj-img3.revealed img,
.proj-img3.revealed video {
  transform: scale(1);
}


/* ── GENERICO ── */

.generico {
  position: relative;
  width: 100%;
  height: auto;

  opacity: 0;
  transform: translateY(50px);
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}

.generico.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Animación ligera para el contenido */
.generico h2,
.generico p,
.generico a {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}

.generico.revealed h2,
.generico.revealed p,
.generico.revealed a {
  opacity: 1;
  transform: translateY(0);
}

/* Pequeño escalonado */
.generico.revealed h2 {
  transition-delay: .15s;
}

.generico.revealed p {
  transition-delay: .25s;
}

.generico.revealed a {
  transition-delay: .4s;
}

p.intro-m {
  font-size: clamp(20px, 2.4vw, 3rem);
}

.generico h2 {
  font-size: clamp(22px, 4vw, 3rem);
}

.generico p.team-desc {
  max-width: 360px;
}

.ajuste {
  width: 100%;
  height: 75px;
}

.vvisble {
  filter: brightness(0) !important;
  opacity: .5 !important;
}

.card-body {
  padding: 75px 5% 90px;
  border: none;
  transition: all 200ms ease;
}

.card-body:hover { background:#000; color:#fff; border-radius:5px;  } 
.card-body:hover img {
  filter: invert(100%);
}

.card {
  min-height: 350px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.videoo {
  overflow: hidden;
  height: auto;
}


/* ── DISTRIBUYE ── */

.distribuye {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}


/* ── CLIENTES ── */

.clientes {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 20px;
}

.cliente {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cliente img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%);
}


/* ── AGENCY QUOTE ── */

.agency-quote {
  position: relative;
  max-width: 900px;
  margin: 120px auto;
  padding: 40px 40px;
  background: #fff;
}

.agency-quote p {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.15rem, 3vw, 2.2rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.45;
}


/* COMILLA SUPERIOR */

.quote-left {
  position: absolute;
  top: -48px;
  left: -8px;
  background: #fff;
  padding: 0 18px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(56px, 9vw, 110px);
  font-weight: 900;
  line-height: .8;
  color: #000;
}


/* COMILLA INFERIOR */

.quote-right {
  position: absolute;
  right: -8px;
  bottom: -48px;
  background: #fff;
  padding: 0 18px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(56px, 9vw, 110px);
  font-weight: 900;
  line-height: .8;
  color: #000;
  transform: rotate(180deg);
}


/* ── PROJECT LOGO ── */

.proj-logo {
  position: relative;
  overflow: hidden;
  width: 100%;transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}

.proj-logo.revealed {
  clip-path: inset(0 0 0 0);
}

.proj-logo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transform: scale(1.08);
  transition: transform 1.2s cubic-bezier(.77,0,.18,1);
}

.proj-logo.revealed img {
  transform: scale(1);
}


/* overlay color on hover
.proj-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--project-color, rgba(45,91,78,.5));
  opacity: 0;
  transition: opacity .4s;
  mix-blend-mode: multiply;
}
*/

.project:hover .proj-img::after {
  opacity: 1;
}


/* ── PROJECT INFO ── */

.proj-num {
  grid-area: num;
}

.proj-name {
  grid-area: name;
}

.proj-desc {
  grid-area: desc;
}

.proj-tags {
  grid-area: tags;
}

.proj-link {
  grid-area: link;
}

.proj-info {
 /* display: grid; */
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "num   num"
    "name  desc"
    "tags  tags"
    "link  link";
  column-gap: 48px;
  align-items: start;
  padding: 40px 0 0 0;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity .8s .3s,
    transform .8s .3s cubic-bezier(.77,0,.18,1);
  border-bottom: rgba(0, 0, 0, .3) solid 1px ;
  padding-bottom: 20px;
}

.proj-info.revealed {
  opacity: 1;
  transform: translateY(0);
}

.desc_ {
  padding: 40px 0 0 0;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity .8s .3s,
    transform .8s .3s cubic-bezier(.77,0,.18,1);
}

.desc_.revealed {
  opacity: 1;
  transform: translateY(0);
}

.desc_ p {
  padding-right: 5%;
}

.desc_ p span {
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 700;
}

.descripcion {
  padding: clamp(40px, 8vw, 75px) 0;
  background: #fff;
  color: #000;
}

.box-info {
  display: inline-block;
  width: 48%;
  vertical-align: top;
  position: relative;
  background: #f60;
}

a.top img {
  position: fixed;
  right: 0px;
  bottom: 20px;
  mix-blend-mode: multiply;
  opacity: .7;
  z-index: 9999;
}

.proj-num {
  font-size: .7rem;
  letter-spacing: .2em;
  color: var(--muted);
  margin-bottom: 28px;
}

.proj-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1;
  letter-spacing: .02em;
  color: #252525;
  margin-bottom: 24px;
}

.proj-desc {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  line-height: 1.3;
  color: #252525;
  max-width: 590px;
}

.proj-tags {
  color: #252525;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.proj-tag {
  color: #252525;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.4);
  border-radius: 20px;
  transition: all .25s;
}

.project:hover .proj-tag {
  border-color: rgba(0,0,0,.3);
  color: rgba(0,0,0,.7);
}

.proj-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity .6s .5s,
    transform .6s .5s;
}

.proj-info.revealed .proj-link {
  opacity: 1;
  transform: translateX(0);
}

.proj-link::after {
  content: '→';
  font-size: 1rem;
  transition: transform .2s;
}

.proj-link:hover::after {
  transform: translateX(6px);
}


/* ── LAST TWO SPLIT ── */

.projects-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255,255,255,.07);
}

.split-item {
  position: relative;
  height: 62vh;
  overflow: hidden;
  cursor: pointer;
}

.split-item:first-child {
  border-right: 1px solid rgba(255,255,255,.07);
}

.split-item .split-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  clip-path: inset(0 0 100% 0);
  transition:
    clip-path 1s .2s cubic-bezier(.77,0,.18,1),
    transform 1.2s .2s cubic-bezier(.77,0,.18,1);
}

.split-item.revealed .split-img {
  clip-path: inset(0 0 0% 0);
  transform: scale(1);
}

.split-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.75) 0%,
    transparent 55%
  );
}

.split-label {
  position: absolute;
  bottom: 28px;
  left: 28px;
  right: 28px;
  z-index: 2;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity .6s .6s,
    transform .6s .6s;
}

.split-item.revealed .split-label {
  opacity: 1;
  transform: translateY(0);
}

.split-label h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  letter-spacing: .04em;
  color: #fff;
  line-height: 1;
}

.split-label p {
  font-size: clamp(.85rem, 2vw, 1rem);
  color: rgba(255,255,255,1);
  margin-top: 6px;
  line-height: 1.6;
  max-width: 350px;
}


/* ── CTA STRIP ── */

#cta {
  padding: clamp(50px, 10vw, 100px) 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.07);
  gap: 40px;
  flex-wrap: wrap;
}

#cta h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 6vw, 76px);
  letter-spacing: .02em;
  line-height: .95;
  color: var(--white);
}

#cta h2 em {
  font-style: normal;
  display: inline-block;
  -webkit-text-stroke: 1px rgba(255,255,255,.3);
  color: transparent;
}

.btn-cta {
  display: inline-block;
  padding: 18px 44px;
  background: var(--white);
  color: var(--dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background .25s, color .25s;
  white-space: nowrap;
}

.btn-cta:hover {
  background: var(--accent);
  color: var(--dark);
}


/* ── FOOTER ── */

footer {
  border-top: 1px solid rgba(255,255,255,.07);
  background: rgba(0, 0, 0, .8);
  padding: 40px 40px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
}

.footer-logo {
  width: 70%;
  height: auto;
  vertical-align: bottom;
  display: inline-block;
}

.footer-links {
  display: block;
  margin-bottom: 35px;
}

.footer-links a {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 5px;
  display: inline-block;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  transition: color .2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: .8rem;
  color: #fff;
  position: static;
  margin-top: 10px;
  text-align: right;
  width: 100%;
}


/* ── EXTRA ── */

.intro-hero {
  min-height: 80vh;
  padding: clamp(30px, 10vw, 130px);
  color: #fff;
  background: #000;
}

.cerveceria {
  color: #fff;
  background: #292929;
}

.logo-half {
  padding: 10% !important;
}

.desc_ span {
  font-weight: 700;
  font-size: 1.6em;
}

.team {
  filter: grayscale(100%);
}

.verde {
  color: #114746 !important;
}

.blanco {
  color: #fff !important;
}

.custom-ico {
  color: #fff !important;
  font-size: 35px;
  font-weight: bold;
  margin: 0 15px 15px 0;
  transition: all .2s ease;
}

.custom-ico:hover {
  opacity: .6;
}


/* ── REDUCED MOTION ── */

@media (prefers-reduced-motion: reduce) {

  .proj-img,
  .proj-img img,
  .proj-img video,
  .proj-info,
  .proj-link,
  .split-item .split-img,
  .split-label {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

}


/* ── TABLET (≤1024px) ── */

@media (max-width: 1024px) {

  .project {
    padding: 0 6%;
  }

  .proj-info {
    column-gap: 28px;
  }

  .clientes {
    grid-template-columns: repeat(5, 1fr);
  }

  .agency-quote {
    margin: 80px auto;
    padding: 32px;
  }

  .box-info {
    width: 100%;
  }

}


/* ── MOBILE (≤768px) ── */

@media (max-width: 768px) {

  nav {
    padding: 18px 20px;
    mix-blend-mode: normal;
    background: #114746;
  }

  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 70%;
    background: var(--dark);
    padding: 100px 30px;
    z-index: 105;
  }

  .nav-burger {
    display: block;
  }

  #hero {
    padding: 40px 20px;
  }

  .hero-tagline {
    left: 20px;
    right: 20px;
    font-size: 15vw;
  }

  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .project {
    padding: 0 6%;
    margin-bottom: 30px;
  }

  .proj-img {
    height: 70vw;
  }

  /* imágenes de dos/tres columnas se apilan */

  .proj-img2,
  .proj-img2a {
    width: 100%;
    display: block;
    height: 55vw;
    margin-bottom: 12px;
  }

  .flip-block {
    display: block;
    overflow: hidden;
    height: 1.5em;
    perspective: 600px;
    position: relative;
    margin: 0 auto;
    text-align: center;
    padding-top: 25px;
  }

  /* info del proyecto: una sola columna */

  .proj-info {
    grid-template-columns: 1fr;
    grid-template-areas:
      "num"
      "name"
      "desc"
      "tags"
      "link";
    row-gap: 16px;
  }

  .box-info {
    width: 100%;
    display: block;
    margin-bottom: 20px;
  }

  .agency-quote {
    margin: 60px auto;
    padding: 26px 20px;
  }

  .quote-left {
    top: -30px;
    left: -4px;
  }

  .quote-right {
    right: -4px;
    bottom: -30px;
  }

  .clientes {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

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

  .split-item {
    height: 56vw;
  }

  .split-item:first-child {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }

  #cta {
    padding: 60px 20px;
    margin-top: -10px;
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-cta {
    width: 100%;
    text-align: center;
  }

  footer {
    padding: 30px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-logo {
    width: 100%;
  }

  .footer-copy {
    text-align: left;
  }

  .intro-hero {
    padding: 40px 20px;
  }

  .descripcion {
    padding: 40px 20px;
  }

}


/* ── MOBILE NAV ── */

@media (max-width: 768px) {

  .nav-burger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 70%;
    max-width: 320px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    padding: 40px;
    background: #000;
    transform: translateX(100%);
    transition: transform .3s ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    padding-top: 0;
  }

}


/* ── MOBILE CHICO (≤420px) ── */

@media (max-width: 420px) {

  .clientes {
    grid-template-columns: repeat(2, 1fr);
  }

  .agency-quote p {
    font-size: 1rem;
  }

  .quote-left,
  .quote-right {
    font-size: 48px;
  }

}