@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&display=swap');

:root {
  --dark: #0c0c0c;
  --gray: #666666;
  --soft: #f4f4f4;
  --white: #ffffff;
  --accent: #c9a45c;
  --whatsapp: #25d366;
  --footer-blue: #071233;
  --max: 1180px;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  font-family: "Raleway", sans-serif;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  scroll-behavior: smooth;
  overflow-x: hidden;
  color: var(--dark);
  background: var(--white);
}

body {
  line-height: 1.4;
}

main {
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
}

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

a {
  color: inherit;
}

.container {
  width: min(92%, var(--max));
  margin: auto;
}

/* =========================================
   HEADER MINIMALISTA
========================================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 92px;
  z-index: 1000;
  background: transparent;
  box-shadow: none;
  transition: all .35s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .06);
}

.nav {
  width: min(94%, 1320px);
  height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 170px 1fr 170px;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 3;
}

.logo img {
  width: 66px;
  height: auto;
  object-fit: contain;
  transition: all .35s ease;
  filter: brightness(0) invert(1);
}

.header.scrolled .logo img {
  width: 60px;
  filter: none;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  grid-column: 2;
}

.nav-list a {
  color: #ffffff;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .01em;
  position: relative;
  transition: all .25s ease;
}

.header.scrolled .nav-list a {
  color: #111111;
}

.nav-list a::after {
  content: "";
  width: 0;
  height: 1.5px;
  background: currentColor;
  position: absolute;
  left: 0;
  bottom: -7px;
  transition: width .25s ease;
}

.nav-list a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.search-btn {
  color: #ffffff;
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
}

.header.scrolled .search-btn {
  color: #111111;
}

.search-btn:hover {
  opacity: .65;
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #ffffff;
  line-height: 1;
}

.header.scrolled .menu-icon {
  color: #111111;
}

/* =========================================
   HERO INDEX FULL SCREEN
========================================= */

.hero {
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  background: #000000;
  margin: 0 !important;
  padding: 0 !important;
}

.hero-track {
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform .8s ease;
}

.hero-slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, .12) 0%,
    rgba(0, 0, 0, .05) 35%,
    rgba(0, 0, 0, .30) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: absolute;
  z-index: 2;
  left: 7%;
  bottom: 14%;
  max-width: 780px;
  color: white;
  pointer-events: none;
}

.hero-title {
  font-size: clamp(.95rem, 1.45vw, 1.35rem);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: .40rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .94);
  text-shadow: 0 8px 30px rgba(0, 0, 0, .25);
}

.hero + section,
.hero + .about,
.about.about-minimal {
  margin-top: 0 !important;
}

/* =========================================
   TÍTULOS GENERALES
========================================= */

.section-title {
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 2.4vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -0.3px;
  text-transform: none;
  margin-bottom: 1rem;
}

.section-subtitle {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
  color: #555555;
  line-height: 1.65;
  font-size: .95rem;
}

/* =========================================
   NOSOTROS BREVE INDEX
========================================= */

.about.about-minimal {
  background: #f3f3f3;
  padding: 9.5rem 0 10rem;
}

.about-minimal-wrap {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.about-minimal h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 2.4vw, 2.45rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.3px;
  margin-bottom: 1.25rem;
}

.about-minimal p {
  max-width: 760px;
  margin: 0 auto .85rem;
  font-size: .95rem;
  line-height: 1.75;
  color: #272727;
}

.about-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--dark);
  font-weight: 600;
  font-size: .9rem;
  position: relative;
}

.about-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--dark);
  transform: scaleX(.45);
  transform-origin: center;
  transition: .3s ease;
}

.about-link:hover::after {
  transform: scaleX(1);
}

/* =========================================
   SERVICIOS INDEX
========================================= */

.services {
  padding: 7.5rem 0 6rem;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.2rem 2rem;
}

.service-card {
  display: block;
  color: var(--dark);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(8%);
  transition: .45s ease;
}

.service-card:hover img {
  transform: translateY(-4px);
  filter: grayscale(0%);
}

.service-content {
  padding-top: .85rem;
}

.service-content h3 {
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: .25rem;
}

.service-content p {
  font-size: .86rem;
  line-height: 1.55;
  color: #555555;
  max-width: 94%;
}

/* =========================================
   PROYECTOS INDEX
========================================= */

.projects {
  background: var(--soft);
  padding: 6.5rem 0;
}

.filter-list {
  display: flex;
  justify-content: center;
  gap: .7rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-list button {
  border: 1px solid #dddddd;
  background: white;
  color: var(--dark);
  border-radius: 100px;
  padding: .75rem 1.05rem;
  cursor: pointer;
  font-weight: 600;
  font-size: .82rem;
  transition: .25s ease;
}

.filter-list button.active,
.filter-list button:hover {
  background: var(--dark);
  color: white;
  border-color: var(--dark);
}

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

.project-card {
  height: 360px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  color: white;
  background: #111111;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .45s ease;
}

.project-card:hover img {
  transform: scale(1.08);
  opacity: .62;
}

.project-info {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
}

.project-info span {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: rgba(255, 255, 255, .75);
}

.project-info h3 {
  margin-top: .35rem;
  font-size: 1.25rem;
}

/* =========================================
   CLIENTES
========================================= */

.clients {
  padding: 6rem 0;
  background: #ffffff;
}

.client-strip {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  display: flex;
  gap: 2rem;
}

.client-track {
  display: flex;
  gap: 2.8rem;
  animation: clientScroll 28s linear infinite;
  min-width: max-content;
}

.client-track img {
  width: 145px;
  height: 82px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .75;
  transition: .25s ease;
}

.client-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes clientScroll {
  to {
    transform: translateX(-50%);
  }
}

/* =========================================
   CONTACTO INDEX
========================================= */

.contact {
  position: relative;
  padding: 7rem 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .65), rgba(0, 0, 0, .25)),
    url('../img/contacto-fondo.png') center/cover no-repeat;
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.contact-text {
  color: rgba(255, 255, 255, .82);
  line-height: 1.7;
  max-width: 470px;
  margin-bottom: 2rem;
  font-size: .95rem;
}

.contact-data p {
  font-size: 1.1rem;
  margin-bottom: .8rem;
}

.form-card {
  background: white;
  color: var(--dark);
  border-radius: 34px;
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .18);
}

.form-card h3 {
  text-align: center;
  font-size: 1.65rem;
  margin-bottom: .7rem;
  font-weight: 500;
}

.form-card .hint {
  text-align: center;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 1.6rem;
  font-size: .9rem;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  border: 1px solid #e5e5e5;
  background: #f1f1f1;
  border-radius: 18px;
  padding: 1rem 1.1rem;
  margin-bottom: .85rem;
  font-size: .9rem;
  outline: none;
}

.form-card textarea {
  min-height: 115px;
  resize: vertical;
}

.form-card button {
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 100px;
  background: var(--dark);
  color: white;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: .25s ease;
}

.form-card button:hover {
  background: var(--accent);
}

/* =========================================
   FOOTER MINIMALISTA
========================================= */

.footer-main {
  background: #f5f5f5;
  color: var(--dark);
  padding: 4.5rem 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.35fr .95fr .95fr;
  gap: 5rem;
  align-items: flex-start;
}

.footer-brand {
  max-width: 300px;
  text-align: left;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1.35rem;
}

.footer-logo-img {
  width: 128px;
  height: auto;
  display: block;
}

.footer-brand p {
  font-size: .9rem;
  line-height: 1.7;
  color: #202020;
  text-align: left;
  margin-bottom: 1.4rem;
}

.footer-column h4 {
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
  color: #050505;
}

.footer-column ul {
  display: grid;
  gap: .95rem;
}

.footer-column a {
  color: #1f1f1f;
  font-size: .88rem;
  transition: .25s ease;
}

.footer-column a:hover {
  opacity: .55;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-social a {
  color: var(--dark);
  font-size: 1.35rem;
  transition: .25s ease;
}

.footer-social a:hover {
  opacity: .55;
}

.footer-bottom {
  margin-top: 3.5rem;
  background: var(--footer-blue);
  color: white;
  padding: 1rem 7%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.footer-copy {
  grid-column: 2;
  text-align: center;
  font-size: .86rem;
}

.footer-credit {
  grid-column: 3;
  justify-self: end;
  font-size: .82rem;
}

.footer-credit a {
  color: white;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =========================================
   WHATSAPP
========================================= */

.whatsapp-float {
  position: fixed;
  right: 26px;
  bottom: 24px;
  z-index: 1001;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--whatsapp);
  color: white;
  font-size: 2.2rem;
  border: 4px solid white;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .18);
  transition: .25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
}

/* =========================================
   ANIMACIONES OPCIONALES
========================================= */

.hidden {
  opacity: 0;
  filter: blur(1px);
  transform: translateY(50px);
  transition: all 1s;
  padding-top: 20%;
}

.show {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
  padding-top: 0%;
}

@media (prefers-reduced-motion) {
  .hidden {
    transition: none;
  }
}

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

@media (max-width: 950px) {
  .nav {
    grid-template-columns: 130px 1fr 130px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .services-grid,
  .project-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-brand {
    max-width: 100%;
  }
}

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

@media (max-width: 720px) {
  .header {
    height: 76px;
  }

  .header.scrolled {
    background: rgba(255, 255, 255, .96);
  }

  .nav {
    width: 90%;
    height: 76px;
    grid-template-columns: 1fr auto;
  }

  .logo img {
    width: 58px;
  }

  .header.scrolled .logo img {
    width: 54px;
  }

  .nav-actions {
    display: none;
  }

  .menu-icon {
    display: block;
    font-size: 1.8rem;
  }

  .nav-list {
    position: absolute;
    top: 76px;
    left: 5%;
    right: 5%;
    background: rgba(255, 255, 255, .98);
    border-radius: 22px;
    padding: 1.35rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.15rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .13);
  }

  .nav-list a {
    color: #111111 !important;
    font-size: .95rem;
  }

  .menu-toggle:checked ~ .nav-list {
    display: flex;
  }

  .hero,
  .hero-track,
  .hero-slide {
    height: 100vh;
    height: 100svh;
    min-height: 640px;
  }

  .hero-slide img {
    height: 100%;
    min-height: 640px;
    object-fit: cover;
    object-position: center center;
  }

  .hero-content {
    left: 5%;
    right: 5%;
    bottom: 12%;
  }

  .hero-title {
    font-size: .88rem;
    letter-spacing: .22rem;
    line-height: 1.55;
  }

  .about.about-minimal {
    padding: 6rem 0 6.5rem;
  }

  .services {
    padding: 5.5rem 0 5rem;
  }

  .projects {
    padding: 5rem 0;
  }

  .services-grid,
  .project-grid,
  .contact-grid,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .project-card {
    height: 310px;
  }

  .footer-main {
    padding-top: 3.2rem;
  }

  .footer-logo-img {
    width: 105px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
    gap: .45rem;
    padding: 1rem;
  }

  .footer-copy,
  .footer-credit {
    grid-column: auto;
    justify-self: center;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
    font-size: 2rem;
  }
}


/* =========================================
   PÁGINA NOSOTROS
========================================= */

.active-link::after {
  width: 100%;
}

.about-hero {
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 680px;
  position: relative;
  overflow: hidden;
  background: #000;
}

.about-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, .18) 0%,
      rgba(0, 0, 0, .20) 45%,
      rgba(0, 0, 0, .55) 100%
    );
  z-index: 1;
}

.about-hero-content {
  position: absolute;
  left: 7%;
  bottom: 13%;
  z-index: 2;
  color: #fff;
  max-width: 760px;
}

.about-hero-content span {
  display: inline-block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .26rem;
  margin-bottom: 1.1rem;
  color: rgba(255, 255, 255, .78);
}

.about-hero-content h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 500;
  line-height: .92;
  margin-bottom: 1.25rem;
}

.about-hero-content p {
  max-width: 620px;
  font-size: clamp(.95rem, 1.25vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, .86);
}

.about-scroll-icon {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  color: white;
  font-size: 2.2rem;
}

/* INTRO */

.about-intro {
  padding: 8rem 0 6rem;
  background: #fff;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 5rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22rem;
  color: #777;
  margin-bottom: 1.3rem;
}

.about-intro-text h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.4vw, 3.8rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -1px;
  max-width: 760px;
  margin-bottom: 1.6rem;
}

.about-intro-text p {
  font-size: .96rem;
  line-height: 1.85;
  color: #333;
  margin-bottom: 1rem;
  max-width: 720px;
}

.about-intro-image {
  border-radius: 34px;
  overflow: hidden;
  min-height: 520px;
  background: #eee;
}

.about-intro-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  transition: .45s ease;
}

.about-intro-image:hover img {
  transform: scale(1.04);
}

/* COLLAGE */

.about-collage-section {
  padding: 0 0 7rem;
  background: #fff;
}

.about-collage {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 1.2rem;
}

.collage-large,
.collage-small img {
  overflow: hidden;
  border-radius: 28px;
  background: #eee;
}

.collage-large img {
  width: 100%;
  height: 650px;
  object-fit: cover;
}

.collage-small {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1.2rem;
}

.collage-small img {
  width: 100%;
  height: 315px;
  object-fit: cover;
}

/* FRASE */

.about-statement {
  padding: 8rem 0;
  background: #f3f3f3;
  text-align: center;
}

.about-statement h2 {
  max-width: 980px;
  margin: 0 auto 1.4rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.2vw, 3.7rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -1px;
}

.about-statement p {
  max-width: 760px;
  margin: auto;
  color: #444;
  line-height: 1.8;
  font-size: .96rem;
}

/* PROCESO */

.about-process {
  padding: 7.5rem 0;
  background: #fff;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.section-head h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-head p {
  color: #555;
  line-height: 1.7;
  font-size: .95rem;
}

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

.process-card {
  min-height: 290px;
  padding: 2.2rem;
  border-radius: 30px;
  background: #f6f6f6;
  position: relative;
  transition: .3s ease;
}

.process-card:hover {
  transform: translateY(-5px);
  background: #111;
  color: #fff;
}

.process-card i {
  font-size: 2.3rem;
  margin-bottom: 2.2rem;
  display: inline-block;
}

.process-card span {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: .82rem;
  color: #888;
  font-weight: 700;
}

.process-card h3 {
  font-size: 1.05rem;
  margin-bottom: .8rem;
  font-weight: 700;
}

.process-card p {
  color: #555;
  font-size: .9rem;
  line-height: 1.65;
}

.process-card:hover p,
.process-card:hover span {
  color: rgba(255, 255, 255, .72);
}

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

@media (max-width: 950px) {
  .about-intro-grid,
  .about-collage,
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-intro-grid {
    gap: 3rem;
  }

  .about-intro-image,
  .about-intro-image img {
    min-height: 430px;
  }

  .collage-large img {
    height: 520px;
  }

  .collage-small img {
    height: 250px;
  }
}

@media (max-width: 720px) {
  .about-hero {
    min-height: 640px;
  }

  .about-hero-content {
    left: 5%;
    right: 5%;
    bottom: 12%;
  }

  .about-hero-content span {
    font-size: .68rem;
    letter-spacing: .18rem;
  }

  .about-hero-content h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .about-hero-content p {
    font-size: .92rem;
  }

  .about-intro {
    padding: 5.8rem 0 4rem;
  }

  .about-intro-grid,
  .about-collage,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .about-intro-image,
  .about-intro-image img {
    min-height: 360px;
  }

  .about-collage-section {
    padding-bottom: 5rem;
  }

  .collage-large img,
  .collage-small img {
    height: 340px;
  }

  .about-statement {
    padding: 5.5rem 0;
  }

  .about-process {
    padding: 5.5rem 0;
  }

  .process-card {
    min-height: auto;
    padding: 1.8rem;
  }
}


/* =========================================
   LÍNEA DE TIEMPO NOSOTROS - ORIGINAL
========================================= */

.timeline-section {
  width: 100%;
  background: #f1f1f1;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.title-time-line {
  text-align: center;
  margin-bottom: 5rem;
}

.title-time-line h1 {
  font-size: clamp(1.6rem, 2vw, 2.1rem);
  font-weight: 800;
  color: #0c0c0c;
  margin-bottom: .8rem;
}

.title-time-line p {
  font-size: .9rem;
  color: #444;
  line-height: 1.45;
}

.stripe {
  width: 100%;
  position: relative;
  min-height: 320px;
}

.stripe::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #1a1a1a;
  transform: translateY(-50%);
}

.widtho {
  width: min(92%, 980px);
  margin: auto;
  position: relative;
  min-height: 320px;
}

.flexo {
  display: flex;
  justify-content: space-between;
}

.stripeItem {
  position: relative;
  width: 16.66%;
  min-height: 320px;
}

.stripeItem::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  background: #1a1a1a;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.stripeItemDate {
  position: absolute;
  width: 230px;
}

.stripeItemDate::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 70px;
  background: #1a1a1a;
  left: 0;
}

.stripeItemDate i {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.stripeItemDate h3 {
  font-size: clamp(1.2rem, 1.5vw, 1.6rem);
  line-height: 1.32;
  font-weight: 800;
  color: #0c0c0c;
}

/* POSICIONES ARRIBA Y ABAJO */

.sg-pos,
.sg-pos2,
.sg-pos4 {
  bottom: 50%;
  left: 50%;
  transform: translate(-8%, -36px);
  padding-left: 18px;
}

.sg-pos::before,
.sg-pos2::before,
.sg-pos4::before {
  bottom: 0;
}

.sg-pos i,
.sg-pos2 i,
.sg-pos4 i {
  transform: translateY(-32px);
}

.sg-pos1,
.sg-pos3,
.sg-pos5 {
  top: 50%;
  left: 50%;
  transform: translate(10%, 36px);
  padding-left: 18px;
}

.sg-pos1::before,
.sg-pos3::before,
.sg-pos5::before {
  top: 0;
}

.sg-pos1 i,
.sg-pos3 i,
.sg-pos5 i {
  transform: translateY(-80px);
}

/* ANIMACIÓN SUAVE */

.scroll-item {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity .8s ease, transform .8s ease;
}

.scroll-item.active-top,
.scroll-item.show {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .timeline-section {
    padding: 4rem 0;
  }

  .stripe {
    min-height: auto;
  }

  .stripe::before {
    left: 28px;
    top: 0;
    width: 1px;
    height: 100%;
    transform: none;
  }

  .widtho {
    width: 90%;
    min-height: auto;
  }

  .flexo {
    display: grid;
    gap: 2rem;
  }

  .stripeItem {
    width: 100%;
    min-height: auto;
    padding-left: 4.5rem;
  }

  .stripeItem::before {
    top: 24px;
    left: 28px;
    transform: translate(-50%, -50%);
  }

  .stripeItemDate,
  .sg-pos,
  .sg-pos1,
  .sg-pos2,
  .sg-pos3,
  .sg-pos4,
  .sg-pos5 {
    position: relative;
    width: auto;
    top: auto;
    bottom: auto;
    left: auto;
    transform: none;
    padding-left: 0;
  }

  .stripeItemDate::before {
    display: none;
  }

  .stripeItemDate i,
  .sg-pos i,
  .sg-pos1 i,
  .sg-pos2 i,
  .sg-pos3 i,
  .sg-pos4 i,
  .sg-pos5 i {
    transform: none;
    margin-bottom: .8rem;
  }

  .stripeItemDate h3 {
    font-size: 1.25rem;
  }
}

/* =========================================
   LÍNEA DE TIEMPO ORGÁNICA - NOSOTROS
========================================= */

.timeline-section {
  width: 100%;
  background: #f1f1f1;
  padding: 7rem 0 8rem;
  overflow: hidden;
}

.title-time-line {
  text-align: center;
  margin-bottom: 4.5rem;
}

.timeline-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .24rem;
  color: #777;
  margin-bottom: .9rem;
}

.title-time-line h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 3.1rem);
  font-weight: 600;
  color: #0c0c0c;
  margin-bottom: .8rem;
}

.title-time-line p {
  max-width: 620px;
  margin: auto;
  font-size: .92rem;
  color: #444;
  line-height: 1.65;
}

/* CONTENEDOR GENERAL */

.timeline-wrapper {
  width: min(92%, 1180px);
  margin: auto;
  position: relative;
  min-height: 520px;
  padding: 0 2rem;
  overflow: visible;
}

/* LÍNEA BASE */

.timeline-line {
  position: absolute;
  top: 50%;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: rgba(0, 0, 0, .18);
  transform: translateY(-50%);
  overflow: hidden;
}

.timeline-progress {
  width: 0%;
  height: 100%;
  background: #0c0c0c;
  transition: width .35s cubic-bezier(.22, 1, .36, 1);
}

/* ITEMS */

.timeline-items {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  min-height: 520px;
}

.timeline-item {
  position: relative;
}

/* PUNTOS */

.timeline-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  background: #1a1a1a;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  transition:
    width .55s cubic-bezier(.22, 1, .36, 1),
    height .55s cubic-bezier(.22, 1, .36, 1),
    box-shadow .55s ease,
    opacity .55s ease;
}

.timeline-item.active .timeline-dot {
  width: 13px;
  height: 13px;
  box-shadow: 0 0 0 10px rgba(0, 0, 0, .06);
}

/* CONTENIDO */

.timeline-content {
  position: absolute;
  width: 210px;
  opacity: 0;
  filter: blur(4px);
  transition:
    opacity .8s ease,
    transform .8s cubic-bezier(.22, 1, .36, 1),
    filter .8s ease;
}

.timeline-item.active .timeline-content {
  opacity: 1;
  filter: blur(0);
}

.timeline-content::before {
  content: "";
  position: absolute;
  left: 0;
  width: 1px;
  height: 62px;
  background: rgba(0, 0, 0, .45);
  transform: scaleY(0);
  transition: transform .75s cubic-bezier(.22, 1, .36, 1);
}

.timeline-item.active .timeline-content::before {
  transform: scaleY(1);
}

.timeline-content i {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  transform: scale(.86);
  transition: transform .7s cubic-bezier(.22, 1, .36, 1);
}

.timeline-item.active .timeline-content i {
  transform: scale(1);
}

.timeline-content h3 {
  font-size: clamp(1.05rem, 1.25vw, 1.35rem);
  line-height: 1.28;
  font-weight: 800;
  color: #0c0c0c;
  margin-bottom: .55rem;
}

.timeline-content p {
  max-width: 195px;
  font-size: .76rem;
  line-height: 1.6;
  color: #555;
}

/* ITEMS ARRIBA */

.timeline-item.top .timeline-content {
  bottom: calc(50% + 64px);
  left: 50%;
  padding-left: 18px;
  transform: translate(-8%, 28px);
}

.timeline-item.top.active .timeline-content {
  transform: translate(-8%, 0);
}

.timeline-item.top .timeline-content::before {
  bottom: -62px;
  transform-origin: bottom;
}

.timeline-item.top .timeline-content i {
  margin-top: -28px;
}

/* ITEMS ABAJO */

.timeline-item.bottom .timeline-content {
  top: calc(50% + 64px);
  left: 50%;
  padding-left: 18px;
  transform: translate(8%, -28px);
}

.timeline-item.bottom.active .timeline-content {
  transform: translate(8%, 0);
}

.timeline-item.bottom .timeline-content::before {
  top: -62px;
  transform-origin: top;
}

.timeline-item.bottom .timeline-content i {
  margin-top: -72px;
}

/* AJUSTE PARA QUE EL PRIMER Y ÚLTIMO ITEM NO SE CORTEN */

.timeline-item:first-child .timeline-content {
  left: 0;
  transform: translate(0, 28px);
}

.timeline-item:first-child.active .timeline-content {
  transform: translate(0, 0);
}

.timeline-item:last-child .timeline-content {
  left: auto;
  right: 0;
  transform: translate(0, -28px);
}

.timeline-item:last-child.active .timeline-content {
  transform: translate(0, 0);
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .timeline-section {
    padding: 5rem 0;
  }

  .title-time-line {
    margin-bottom: 3.5rem;
  }

  .timeline-wrapper {
    width: 90%;
    min-height: auto;
    padding: 0;
  }

  .timeline-line {
    top: 0;
    left: 28px;
    right: auto;
    width: 1px;
    height: 100%;
    transform: none;
  }

  .timeline-progress {
    width: 100%;
    height: 0%;
    transition: height .35s cubic-bezier(.22, 1, .36, 1);
  }

  .timeline-items {
    grid-template-columns: 1fr;
    gap: 2.7rem;
    min-height: auto;
  }

  .timeline-item {
    padding-left: 4.5rem;
  }

  .timeline-dot {
    top: 25px;
    left: 28px;
  }

  .timeline-content,
  .timeline-item.top .timeline-content,
  .timeline-item.bottom .timeline-content,
  .timeline-item:first-child .timeline-content,
  .timeline-item:last-child .timeline-content {
    position: relative;
    width: auto;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    padding-left: 0;
    transform: translateY(24px);
  }

  .timeline-item.active .timeline-content,
  .timeline-item.top.active .timeline-content,
  .timeline-item.bottom.active .timeline-content,
  .timeline-item:first-child.active .timeline-content,
  .timeline-item:last-child.active .timeline-content {
    transform: translateY(0);
  }

  .timeline-content::before {
    display: none;
  }

  .timeline-content i,
  .timeline-item.top .timeline-content i,
  .timeline-item.bottom .timeline-content i {
    margin-top: 0;
    margin-bottom: .9rem;
  }

  .timeline-content h3 {
    font-size: 1.35rem;
  }

  .timeline-content p {
    max-width: 100%;
    font-size: .86rem;
  }
}

.about-statement {
  padding: 3.5rem 0 3rem;
  background: #f3f3f3;
  text-align: center;
}

.about-statement h2 {
  max-width: 900px;
  margin: 0 auto .9rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 2.4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.4px;
}

.about-statement p {
  max-width: 700px;
  margin: 0 auto;
  color: #444;
  line-height: 1.65;
  font-size: .88rem;
}

/* =========================================
   PÁGINA PROYECTOS
========================================= */

.active-link::after {
  width: 100%;
}

/* HERO PROYECTOS */

.projects-hero {
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 680px;
  position: relative;
  overflow: hidden;
  background: #000;
}

.projects-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.projects-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, .14) 0%,
      rgba(0, 0, 0, .18) 45%,
      rgba(0, 0, 0, .58) 100%
    );
  z-index: 1;
}

.projects-hero-content {
  position: absolute;
  left: 7%;
  bottom: 13%;
  z-index: 2;
  color: #fff;
  max-width: 760px;
}

.projects-hero-content span {
  display: inline-block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .26rem;
  margin-bottom: 1.1rem;
  color: rgba(255, 255, 255, .78);
}

.projects-hero-content h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 500;
  line-height: .92;
  margin-bottom: 1.25rem;
}

.projects-hero-content p {
  max-width: 620px;
  font-size: clamp(.95rem, 1.25vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, .86);
}

/* INTRO */

.projects-intro {
  padding: 7rem 0 4.5rem;
  background: #fff;
}

.projects-intro-wrap {
  text-align: center;
  max-width: 900px;
}

.projects-intro h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.5vw, 4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 1.2rem;
}

.projects-intro p {
  max-width: 720px;
  margin: 0 auto;
  color: #444;
  font-size: .95rem;
  line-height: 1.75;
}

/* PORTAFOLIO */

.portfolio-section {
  padding: 1rem 0 7rem;
  background: #fff;
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: .7rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.portfolio-filter button {
  border: 1px solid #ddd;
  background: #fff;
  color: #111;
  border-radius: 100px;
  padding: .75rem 1.15rem;
  cursor: pointer;
  font-weight: 600;
  font-size: .82rem;
  transition: .25s ease;
}

.portfolio-filter button.active,
.portfolio-filter button:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 310px;
  gap: 1rem;
}

.portfolio-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 26px;
  background: #111;
  color: #fff;
  opacity: 1;
  transform: scale(1);
  transition:
    opacity .35s ease,
    transform .35s ease,
    filter .35s ease;
}

.portfolio-card.hide {
  opacity: 0;
  transform: scale(.96);
  filter: blur(4px);
  pointer-events: none;
  position: absolute;
}

.portfolio-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.portfolio-card.wide {
  grid-column: span 2;
}

.portfolio-card.tall {
  grid-row: span 2;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .55s cubic-bezier(.22, 1, .36, 1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, .04) 0%,
      rgba(0, 0, 0, .12) 45%,
      rgba(0, 0, 0, .66) 100%
    );
  z-index: 1;
  transition: .35s ease;
}

.portfolio-info {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
  transform: translateY(8px);
  transition: .35s ease;
}

.portfolio-info span {
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .15rem;
  color: rgba(255, 255, 255, .76);
  margin-bottom: .45rem;
}

.portfolio-info h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.85rem);
  line-height: 1.15;
  font-weight: 600;
}

.portfolio-card:hover img {
  transform: scale(1.06);
}

.portfolio-card:hover .portfolio-overlay {
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, .08) 0%,
      rgba(0, 0, 0, .18) 40%,
      rgba(0, 0, 0, .76) 100%
    );
}

.portfolio-card:hover .portfolio-info {
  transform: translateY(0);
}

/* CTA */

.projects-cta {
  padding: 7rem 0;
  background: #f3f3f3;
  text-align: center;
}

.projects-cta-wrap {
  max-width: 760px;
}

.projects-cta h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.projects-cta p {
  max-width: 620px;
  margin: 0 auto 1.8rem;
  color: #444;
  line-height: 1.75;
  font-size: .95rem;
}

.projects-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 1.5rem;
  border-radius: 100px;
  background: #111;
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  transition: .25s ease;
}

.projects-cta a:hover {
  background: var(--accent);
}

/* RESPONSIVE PROYECTOS */

@media (max-width: 1000px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 290px;
  }

  .portfolio-card.large,
  .portfolio-card.wide,
  .portfolio-card.tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 720px) {
  .projects-hero {
    min-height: 640px;
  }

  .projects-hero-content {
    left: 5%;
    right: 5%;
    bottom: 12%;
  }

  .projects-hero-content span {
    font-size: .68rem;
    letter-spacing: .18rem;
  }

  .projects-hero-content h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .projects-hero-content p {
    font-size: .92rem;
  }

  .projects-intro {
    padding: 5rem 0 3.5rem;
  }

  .portfolio-section {
    padding-bottom: 5rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 320px;
  }

  .portfolio-filter {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: .4rem;
  }

  .portfolio-filter button {
    flex: 0 0 auto;
  }

  .projects-cta {
    padding: 5rem 0;
  }
}

/* =========================================
   PROYECTOS - MOSAICO TIPO ARQUITECTURA
========================================= */

.portfolio-masonry-section {
  background: #ffffff;
  padding: 6rem 0 0;
}

.portfolio-masonry-header {
  width: min(90%, 920px);
  margin: 0 auto 3rem;
  text-align: center;
}

.portfolio-masonry-header span {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .24rem;
  color: #777;
  margin-bottom: .9rem;
}

.portfolio-masonry-header h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 3.4vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.portfolio-masonry-header p {
  max-width: 680px;
  margin: 0 auto;
  color: #444;
  font-size: .94rem;
  line-height: 1.75;
}

.portfolio-masonry-filter {
  display: flex;
  justify-content: center;
  gap: .7rem;
  flex-wrap: wrap;
  width: min(92%, 1180px);
  margin: 0 auto 3rem;
}

.portfolio-masonry-filter button {
  border: 1px solid #ddd;
  background: #fff;
  color: #111;
  border-radius: 100px;
  padding: .75rem 1.15rem;
  cursor: pointer;
  font-weight: 600;
  font-size: .82rem;
  transition: .25s ease;
}

.portfolio-masonry-filter button.active,
.portfolio-masonry-filter button:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* GRID PRINCIPAL */

.portfolio-masonry-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 340px;
  gap: 4px;
  background: #ffffff;
}

.masonry-card {
  position: relative;
  overflow: hidden;
  display: block;
  background: #111;
  color: #fff;
  min-height: 340px;
  opacity: 1;
  transform: scale(1);
  transition:
    opacity .35s ease,
    transform .35s ease,
    filter .35s ease;
}

.masonry-card.hide {
  opacity: 0;
  transform: scale(.98);
  filter: blur(4px);
  pointer-events: none;
  position: absolute;
}

.masonry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1), opacity .45s ease;
}

.masonry-large {
  grid-row: span 2;
}

.masonry-wide {
  grid-column: span 1;
}

.masonry-tall {
  grid-row: span 2;
}

.masonry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, .02) 0%,
      rgba(0, 0, 0, .08) 45%,
      rgba(0, 0, 0, .68) 100%
    );
  opacity: .75;
  transition: .35s ease;
}

.masonry-info {
  position: absolute;
  left: 1.7rem;
  right: 1.7rem;
  bottom: 1.5rem;
  z-index: 2;
  opacity: 0;
  transform: translateY(16px);
  transition: .45s cubic-bezier(.22, 1, .36, 1);
}

.masonry-info span {
  display: block;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .18rem;
  color: rgba(255, 255, 255, .76);
  margin-bottom: .45rem;
}

.masonry-info h3 {
  font-size: clamp(1.25rem, 1.9vw, 2rem);
  font-weight: 600;
  line-height: 1.08;
}

.masonry-card:hover img {
  transform: scale(1.055);
  opacity: .82;
}

.masonry-card:hover::after {
  opacity: 1;
}

.masonry-card:hover .masonry-info {
  opacity: 1;
  transform: translateY(0);
}

/* ANIMACIÓN DE ENTRADA */

.masonry-card {
  animation: masonryFade .8s ease both;
}

.masonry-card:nth-child(2) { animation-delay: .06s; }
.masonry-card:nth-child(3) { animation-delay: .12s; }
.masonry-card:nth-child(4) { animation-delay: .18s; }
.masonry-card:nth-child(5) { animation-delay: .24s; }
.masonry-card:nth-child(6) { animation-delay: .30s; }
.masonry-card:nth-child(7) { animation-delay: .36s; }
.masonry-card:nth-child(8) { animation-delay: .42s; }

@keyframes masonryFade {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  .portfolio-masonry-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 310px;
  }

  .masonry-large,
  .masonry-tall,
  .masonry-wide {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 720px) {
  .portfolio-masonry-section {
    padding-top: 4.5rem;
  }

  .portfolio-masonry-header {
    margin-bottom: 2.5rem;
  }

  .portfolio-masonry-filter {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 5% .5rem;
    width: 100%;
  }

  .portfolio-masonry-filter button {
    flex: 0 0 auto;
  }

  .portfolio-masonry-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 330px;
    gap: 5px;
  }

  .masonry-info {
    opacity: 1;
    transform: none;
    left: 1.3rem;
    right: 1.3rem;
    bottom: 1.3rem;
  }
}


/* =========================================
   PÁGINA CONTACTO
========================================= */

.active-link::after {
  width: 100%;
}

/* HERO CONTACTO */

.contact-hero {
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 680px;
  position: relative;
  overflow: hidden;
  background: #000;
}

.contact-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, .14) 0%,
      rgba(0, 0, 0, .18) 45%,
      rgba(0, 0, 0, .60) 100%
    );
  z-index: 1;
}

.contact-hero-content {
  position: absolute;
  left: 7%;
  bottom: 13%;
  z-index: 2;
  color: #fff;
  max-width: 760px;
}

.contact-hero-content span {
  display: inline-block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .26rem;
  margin-bottom: 1.1rem;
  color: rgba(255, 255, 255, .78);
}

.contact-hero-content h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 500;
  line-height: .92;
  margin-bottom: 1.25rem;
}

.contact-hero-content p {
  max-width: 620px;
  font-size: clamp(.95rem, 1.25vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, .86);
}

/* CONTACTO PRINCIPAL */

.contact-page-section {
  padding: 7.5rem 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .68), rgba(0, 0, 0, .34)),
    url('../img/contacto-fondo.png') center/cover no-repeat;
  color: #fff;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: .95fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.contact-page-info h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.4vw, 3.9rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 1.3rem;
}

.contact-page-info p {
  max-width: 560px;
  color: rgba(255, 255, 255, .82);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 2.3rem;
}

.contact-page-data {
  display: grid;
  gap: 1rem;
}

.contact-data-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
}

.contact-data-item i {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
}

.contact-data-item span {
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14rem;
  color: rgba(255, 255, 255, .58);
  margin-bottom: .25rem;
}

.contact-data-item strong {
  font-size: .95rem;
  font-weight: 600;
}

/* FORMULARIO */

.contact-page-form {
  background: #fff;
  color: #111;
  border-radius: 34px;
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .18);
}

.contact-page-form h3 {
  text-align: center;
  font-size: 1.65rem;
  font-weight: 500;
  margin-bottom: .7rem;
}

.contact-page-form > p {
  max-width: 420px;
  margin: 0 auto 1.7rem;
  text-align: center;
  color: #666;
  line-height: 1.55;
  font-size: .9rem;
}

.contact-page-form input,
.contact-page-form select,
.contact-page-form textarea {
  width: 100%;
  border: 1px solid #e5e5e5;
  background: #f1f1f1;
  border-radius: 18px;
  padding: 1rem 1.1rem;
  margin-bottom: .85rem;
  font-size: .9rem;
  outline: none;
  color: #111;
}

.contact-page-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-page-form input:focus,
.contact-page-form select:focus,
.contact-page-form textarea:focus {
  border-color: #111;
  background: #fff;
}

.contact-page-form button {
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 100px;
  background: #111;
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: .25s ease;
}

.contact-page-form button:hover {
  background: var(--accent);
}

/* BLOQUE FINAL */

.contact-final {
  padding: 7rem 0;
  background: #f3f3f3;
  text-align: center;
}

.contact-final-wrap {
  max-width: 860px;
}

.contact-final span {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .24rem;
  color: #777;
  margin-bottom: .9rem;
}

.contact-final h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 3.3rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.contact-final p {
  max-width: 640px;
  margin: auto;
  color: #444;
  font-size: .95rem;
  line-height: 1.75;
}

/* RESPONSIVE CONTACTO */

@media (max-width: 950px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-page-info p {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .contact-hero {
    min-height: 640px;
  }

  .contact-hero-content {
    left: 5%;
    right: 5%;
    bottom: 12%;
  }

  .contact-hero-content span {
    font-size: .68rem;
    letter-spacing: .18rem;
  }

  .contact-hero-content h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .contact-hero-content p {
    font-size: .92rem;
  }

  .contact-page-section {
    padding: 5.5rem 0;
  }

  .contact-page-form {
    border-radius: 28px;
  }

  .contact-final {
    padding: 5rem 0;
  }
}