@font-face {
  font-family: "Aleo";
  src: url("../../fuentes/static/Aleo-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aleo";
  src: url("../../fuentes/static/Aleo-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #161512;
  --dark: #080b0b;
  --dark-2: #11100d;
  --muted: #b9b0a3;
  --paper: #f3ede3;
  --paper-strong: #201d18;
  --line: rgba(238, 222, 194, 0.16);
  --clay: #c08a4a;
  --olive: #7a7d62;
  --white: #ffffff;
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background: var(--dark);
  font-family: "Aleo", Georgia, serif;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

.site-nav {
  min-height: 78px;
  background: rgba(8, 11, 11, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(238, 222, 194, 0.08);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.site-nav.is-scrolled {
  background: rgba(8, 11, 11, 0.96);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--paper);
  text-decoration: none;
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.brand span {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0;
}

.navbar-nav .nav-link {
  color: rgba(243, 237, 227, 0.7);
  font-size: 0.96rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--paper);
}

.nav-contact {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding-inline: 1rem !important;
}

.navbar-toggler {
  border: 0;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(155, 96, 70, 0.18);
}

.hero {
  position: relative;
  min-height: 100vh;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(19, 18, 15, 0.74), rgba(19, 18, 15, 0.34) 54%, rgba(19, 18, 15, 0.06));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../img/optimized/previews/portada-web-2.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-content {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: center;
  padding-top: 7rem;
  padding-bottom: 5rem;
}

.eyebrow {
  margin-bottom: 0.9rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c8ad;
}

.display-title,
.section-title,
.page-title {
  margin: 0;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.display-title {
  max-width: 840px;
  font-size: clamp(3.2rem, 7.8vw, 7.2rem);
}

.section-title {
  max-width: 820px;
  font-size: clamp(2.1rem, 4.5vw, 4.4rem);
}

.page-title {
  font-size: clamp(2.7rem, 6vw, 5.6rem);
}

.hero-copy {
  max-width: 660px;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.btn {
  border-radius: 999px;
  padding-inline: 1.35rem;
  font-weight: 700;
}

.btn-dark {
  --bs-btn-bg: var(--ink);
  --bs-btn-border-color: var(--ink);
  --bs-btn-hover-bg: #3b372f;
  --bs-btn-hover-border-color: #3b372f;
}

.page-main {
  padding-top: 78px;
}

.page-hero {
  padding: clamp(6rem, 10vw, 9rem) 0 clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(circle at 72% 14%, rgba(192, 138, 74, 0.16), transparent 32rem),
    linear-gradient(135deg, #11100d, #080b0b);
}

.lead-text {
  margin: 0;
  color: rgba(243, 237, 227, 0.7);
  font-size: 1.1rem;
}

.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.section-soft {
  background: var(--dark-2);
}

.section-dark {
  color: var(--white);
  background: var(--ink);
}

.section-dark .eyebrow {
  color: #f0c8ad;
}

.section-dark .lead-text,
.section-dark p {
  color: rgba(255, 255, 255, 0.74);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.text-link {
  color: var(--paper);
  font-weight: 700;
  text-decoration-color: var(--clay);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
}

.section-dark .text-link {
  color: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2.5rem;
  background: var(--line);
}

.stat {
  min-height: 130px;
  padding: 1.3rem;
  background: rgba(243, 237, 227, 0.04);
}

.stat strong {
  display: block;
  color: var(--clay);
  font-size: 2rem;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 0.6rem;
  color: rgba(243, 237, 227, 0.68);
}

.category-grid,
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.category-card,
.project-card {
  min-height: 430px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.category-card:nth-child(1),
.project-card:nth-child(4n + 1) {
  grid-row: span 2;
  min-height: 560px;
}

.category-card a,
.project-open {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  padding: 0;
  color: var(--white);
  background: transparent;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.category-card img,
.project-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 520ms ease, filter 520ms ease;
}

.category-card a::after,
.project-open::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(16, 15, 13, 0.04), rgba(16, 15, 13, 0.78));
}

.category-card span,
.project-title {
  position: absolute;
  right: 1.3rem;
  bottom: 1.2rem;
  left: 1.3rem;
  z-index: 1;
  font-size: 2rem;
  line-height: 1.08;
}

.project-category {
  position: absolute;
  right: 1.3rem;
  bottom: 4rem;
  left: 1.3rem;
  z-index: 1;
  color: #f0c8ad;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.category-card:hover img,
.project-card:hover img {
  filter: saturate(1.04) contrast(1.03);
  transform: scale(1.045);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.filter-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  color: var(--muted);
  background: transparent;
  font-weight: 700;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--ink);
  color: var(--paper);
  background: var(--ink);
}

.about-image {
  min-height: 620px;
  border-radius: 6px;
  background: url("../img/optimized/previews/portada-web-2.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.about-text {
  color: rgba(243, 237, 227, 0.72);
  font-size: 1.02rem;
}

.about-text p {
  margin-bottom: 1rem;
}

.service-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 72px minmax(180px, 0.8fr) minmax(0, 1.2fr);
  gap: 1.4rem;
  align-items: start;
  padding: 1.4rem;
  background: rgba(243, 237, 227, 0.04);
}

.service-row span {
  color: var(--clay);
  font-weight: 700;
}

.service-row h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
}

.service-row p {
  margin: 0;
  color: rgba(243, 237, 227, 0.68);
}

.contact-panel {
  padding: clamp(1.6rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(243, 237, 227, 0.05);
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.contact-list a {
  color: var(--paper);
  font-weight: 700;
  text-decoration-color: var(--clay);
  text-underline-offset: 0.24em;
}

.schedule {
  width: 100%;
  margin: 0;
}

.schedule div {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.site-footer {
  padding: 2rem 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration-color: #f0c8ad;
  text-underline-offset: 0.24em;
}

.modal-content {
  border: 1px solid rgba(238, 222, 194, 0.16);
  border-radius: 0;
  overflow: hidden;
  background: #080b0b;
  color: var(--paper);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.58);
}

.modal-header {
  border-bottom-color: rgba(238, 222, 194, 0.14);
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.modal-gallery button {
  position: relative;
  border: 1px solid rgba(238, 222, 194, 0.14);
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  background: #11100d;
}

.modal-gallery button::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 2px solid transparent;
  pointer-events: none;
  transition: border-color 180ms ease;
}

.modal-gallery button.active::after,
.modal-gallery button:hover::after {
  border-color: var(--clay);
}

.modal-gallery img,
.modal-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-gallery img {
  aspect-ratio: 1 / 1;
  filter: brightness(0.84) saturate(0.95);
}

.project-modal .modal-dialog {
  max-width: min(1440px, calc(100vw - 3rem));
}

.project-modal-content {
  max-height: min(860px, calc(100vh - 3rem));
}

.project-modal-header {
  min-height: 104px;
  padding: clamp(1rem, 1.7vw, 1.55rem) clamp(1.1rem, 2vw, 2rem);
  background:
    linear-gradient(90deg, rgba(192, 138, 74, 0.055), transparent 42%),
    #0b0b09;
}

.project-modal-header > div {
  min-width: 0;
}

.project-modal-header p {
  margin: 0 0 0.35rem;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.project-modal-header .modal-title {
  margin: 0;
  color: var(--paper);
  font-size: clamp(2rem, 3vw, 3.35rem);
  font-weight: 400;
  line-height: 0.95;
}

.project-modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 1px;
  min-height: min(640px, calc(100vh - 190px));
  padding: 0;
  background: rgba(238, 222, 194, 0.14);
}

.modal-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(8, 9, 8, 0.44), rgba(8, 9, 8, 0.58)),
    var(--modal-image, none) center / cover no-repeat,
    #070706;
  isolation: isolate;
}

.modal-stage::before {
  position: absolute;
  inset: -42px;
  z-index: 0;
  content: "";
  background: var(--modal-image, none) center / cover no-repeat;
  filter: blur(28px) brightness(0.68) saturate(0.9);
  opacity: 0.72;
  transform: scale(1.08);
}

.modal-stage img {
  position: relative;
  z-index: 1;
  max-width: calc(100% - clamp(1.2rem, 3vw, 4rem));
  max-height: calc(100% - clamp(1.2rem, 3vw, 4rem));
  object-fit: contain;
  filter: brightness(0.98) saturate(0.96);
}

.project-modal-body .modal-gallery {
  align-content: start;
  grid-template-columns: 1fr;
  max-height: min(640px, calc(100vh - 190px));
  padding: clamp(0.9rem, 1.35vw, 1.25rem);
  overflow-y: auto;
  background: #0b0b09;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 991.98px) {
  .site-nav {
    min-height: 68px;
  }

  .offcanvas {
    background: var(--dark);
  }

  .hero,
  .hero-content {
    min-height: 92vh;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card:nth-child(1),
  .project-card:nth-child(4n + 1) {
    grid-row: span 1;
    min-height: 430px;
  }

  .service-row {
    grid-template-columns: 52px 1fr;
  }

  .service-row p {
    grid-column: 2;
  }
}

/* Concept 03: immersive prestige homepage */
.home-dark {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--dark);
}

.home-dark.home-intro-pending {
  overflow: hidden;
}

html.home-intro-seen .home-dark.home-intro-pending {
  overflow-x: hidden;
  overflow-y: auto;
}

.home-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  border: 0;
  padding: clamp(1.5rem, 5vw, 4rem);
  background: #000000;
  cursor: pointer;
  transition: background-color 720ms ease, opacity 980ms ease, filter 980ms ease;
}

html.home-intro-seen .home-intro {
  display: none;
}

.home-intro-logo {
  position: relative;
  display: block;
  width: clamp(240px, 24vw, 520px);
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
  animation: reveal-intro-logo 2100ms cubic-bezier(0.72, 0, 0.18, 1) 180ms forwards;
  transition: opacity 620ms ease, filter 720ms ease, transform 720ms ease;
}

.home-intro-logo::after {
  position: absolute;
  top: 5%;
  bottom: 10%;
  left: -34%;
  width: 30%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  filter: blur(16px);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  animation: intro-logo-sweep 2300ms cubic-bezier(0.72, 0, 0.18, 1) 180ms forwards;
}

.home-intro-logo img {
  width: 100%;
  max-height: min(36vh, 300px);
  object-fit: contain;
}

@keyframes reveal-intro-logo {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes intro-logo-sweep {
  0% {
    opacity: 0;
    transform: translateX(0);
  }

  18% {
    opacity: 0.8;
  }

  78% {
    opacity: 0.42;
  }

  100% {
    opacity: 0;
    transform: translateX(450%);
  }
}

.home-intro:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: -1rem;
}

.home-intro.is-fading {
  background: #000000;
}

.home-intro.is-fading .home-intro-logo {
  opacity: 0;
  filter: blur(14px);
  transform: scale(0.94);
}

.home-intro.is-revealing {
  opacity: 0;
  filter: blur(18px);
  pointer-events: none;
}

.immersive-shell {
  --rail-width: clamp(260px, 16.8vw, 320px);
  display: grid;
  height: 100svh;
  min-height: 0;
  grid-template-columns: var(--rail-width) minmax(0, 1fr);
  background: #080b0b;
  overflow: hidden;
}

.side-rail {
  position: sticky;
  top: 0;
  display: flex;
  height: 100svh;
  min-height: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.55rem, 2.15vw, 2.55rem);
  border-right: 1px solid rgba(238, 222, 194, 0.18);
  background:
    radial-gradient(circle at 0 0, rgba(17, 38, 38, 0.72), transparent 21rem),
    #080b0b;
  z-index: 5;
}

.side-brand {
  display: inline-grid;
  width: min(100%, 210px);
  align-self: center;
  gap: 0.45rem;
  justify-items: center;
  color: var(--paper);
  text-align: center;
  text-decoration: none;
}

.side-brand-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.side-brand::after,
.side-note::after {
  display: block;
  width: 3rem;
  height: 1px;
  margin-top: 1.25rem;
  margin-inline: auto;
  content: "";
  background: var(--clay);
}

.side-brand span {
  font-size: clamp(2.05rem, 2.05vw, 2.55rem);
  line-height: 1;
}

.side-brand small {
  color: rgba(243, 237, 227, 0.78);
  font-size: clamp(0.82rem, 1vw, 1.rem);
}

.side-menu {
  display: grid;
  gap: clamp(1.15rem, 3vh, 1.7rem);
  margin-top: clamp(3.2rem, 14vh, 8.5rem);
  margin-bottom: auto;
}

.side-menu a {
  display: grid;
  gap: 0.22rem;
  color: rgba(243, 237, 227, 0.82);
  font-size: clamp(0.92rem, 0.9vw, 1rem);
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
  overflow-wrap: anywhere;
}

.side-menu a span {
  color: var(--clay);
  font-size: 0.78rem;
}

.side-menu a:hover {
  color: var(--paper);
  transform: translateX(4px);
}

.side-note {
  display: grid;
  max-width: 11rem;
  margin: 0;
  color: rgba(243, 237, 227, 0.76);
  font-size: clamp(0.68rem, 0.7vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.6;
  text-transform: uppercase;
}

.side-copyright {
  display: block;
  max-width: 12rem;
  margin-top: 0.9rem;
  color: rgba(243, 237, 227, 0.42);
  font-size: clamp(0.62rem, 0.64vw, 0.72rem);
  line-height: 1.45;
}

.immersive-main {
  min-width: 0;
  display: grid;
  height: 100svh;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
}

.cinematic-hero {
  display: block;
  min-height: 0;
  height: 100%;
  border-bottom: 1px solid rgba(238, 222, 194, 0.18);
}

.hero-panel {
  position: relative;
  overflow: hidden;
}

.hero-copy-panel {
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.8rem, 5.8vw, 6rem);
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.9), rgba(8, 8, 7, 0.58) 48%, rgba(8, 8, 7, 0.24)),
    url("../img/optimized/previews/menta-chocolate-jardin.jpg") center / cover no-repeat;
}

.hero-copy-panel::after,
.hero-photo-main::after,
.hero-photo-side::after,
.strip-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hero-copy-panel::after {
  background: linear-gradient(90deg, rgba(8, 11, 11, 0.45), transparent);
}

.hero-kicker {
  position: relative;
  z-index: 1;
  margin-bottom: 1.3rem;
  color: var(--clay);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.cinematic-title {
  position: relative;
  z-index: 1;
  max-width: min(680px, 72vw);
  margin: 0;
  color: var(--paper);
  font-size: clamp(3.35rem, 6.1vw, 7.25rem);
  font-weight: 400;
  line-height: 0.98;
  text-wrap: balance;
}

.cinematic-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 1.6rem 0 0;
  color: var(--clay);
  font-size: clamp(0.76rem, 0.86vw, 0.94rem);
  font-weight: 700;
  letter-spacing: 0.26em;
  line-height: 1.8;
  text-transform: uppercase;
}

.outline-action {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 2rem;
  margin-top: clamp(1.4rem, 3vh, 2.7rem);
  border: 1px solid var(--clay);
  padding: 1rem 1.5rem;
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease;
}

.outline-action:hover {
  color: #0c0c0a;
  background: var(--clay);
}

.strip-card::after {
  background: linear-gradient(180deg, rgba(8, 11, 11, 0.08), rgba(8, 11, 11, 0.36));
}

.home-project-strip {
  display: grid;
  height: min(calc((100vw - var(--rail-width)) / 4), 34svh);
  min-height: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.strip-card {
  position: relative;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border-right: 1px solid rgba(238, 222, 194, 0.18);
  color: var(--paper);
  text-decoration: none;
}

.strip-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.64) saturate(0.88);
  transition: transform 520ms ease, filter 520ms ease;
}

.strip-card:nth-child(1) img {
  object-position: 50% 54%;
}

.strip-card:nth-child(2) img {
  object-position: 50% 54%;
}

.strip-card:nth-child(3) img {
  object-position: 48% 48%;
}

.strip-card:nth-child(4) img {
  object-position: 50% 50%;
}

.strip-number {
  position: absolute;
  top: 1.5rem;
  left: 1.7rem;
  z-index: 1;
  color: rgba(243, 237, 227, 0.82);
  font-size: 1rem;
}

.strip-card strong {
  position: absolute;
  bottom: 3.8rem;
  left: 1.7rem;
  z-index: 1;
  font-size: clamp(2rem, 3.1vw, 3.25rem);
  font-weight: 400;
  line-height: 1;
}

.strip-arrow {
  position: absolute;
  bottom: 1.55rem;
  left: 1.7rem;
  z-index: 1;
  color: var(--clay);
  font-size: 1.7rem;
}

.strip-card:hover img {
  filter: brightness(0.82) saturate(1);
  transform: scale(1.045);
}

/* Interior pages following the selected immersive concept */
.inner-dark {
  min-height: 100vh;
  background: var(--dark);
}

.inner-shell {
  --rail-width: clamp(260px, 16.8vw, 320px);
  display: grid;
  min-height: 100vh;
  grid-template-columns: var(--rail-width) minmax(0, 1fr);
  background: var(--dark);
}

.inner-rail {
  position: sticky;
  top: 0;
  height: 100vh;
}

.inner-main {
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 0, rgba(192, 138, 74, 0.13), transparent 30rem),
    linear-gradient(135deg, #14120f, #080b0b 62%);
}

.inner-hero {
  position: relative;
  min-height: clamp(420px, 48vh, 620px);
  display: flex;
  align-items: end;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5.5rem);
  border-bottom: 1px solid rgba(238, 222, 194, 0.15);
  isolation: isolate;
  overflow: hidden;
}

.inner-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: var(--inner-hero-image, url("../img/optimized/previews/portada-web-2.jpg")) center / cover no-repeat;
  filter: saturate(0.9);
}

.inner-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(8, 11, 11, 0.92), rgba(8, 11, 11, 0.62) 50%, rgba(8, 11, 11, 0.18));
}

.inner-hero-content {
  max-width: 980px;
}

.inner-kicker {
  margin-bottom: 1rem;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.inner-title {
  max-width: 900px;
  margin: 0;
  color: var(--paper);
  font-size: clamp(3.5rem, 7vw, 7.8rem);
  font-weight: 400;
  line-height: 0.98;
  text-wrap: balance;
}

.inner-copy {
  max-width: 680px;
  margin: 1.3rem 0 0;
  color: rgba(243, 237, 227, 0.72);
  font-size: 1.08rem;
}

.inner-section {
  padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 5vw, 5.5rem);
}

.inner-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.inner-section-heading h2 {
  margin: 0;
  color: var(--paper);
  font-size: clamp(2.2rem, 4.2vw, 4.6rem);
  font-weight: 400;
  line-height: 1;
}

.inner-section-heading p {
  max-width: 31rem;
  margin: 0;
  color: rgba(243, 237, 227, 0.66);
}

.inner-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.inner-filter-bar .filter-btn {
  border-color: rgba(238, 222, 194, 0.2);
  color: rgba(243, 237, 227, 0.7);
  text-decoration: none;
}

.inner-filter-bar .filter-btn:hover,
.inner-filter-bar .filter-btn.active {
  border-color: var(--clay);
  color: #0b0b09;
  background: var(--clay);
}

.inner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(238, 222, 194, 0.16);
}

.inner-grid .project-card {
  min-height: clamp(320px, 27vw, 520px);
  border-radius: 0;
  box-shadow: none;
}

.inner-grid .project-card:nth-child(4n + 1) {
  min-height: clamp(420px, 36vw, 640px);
}

.inner-grid .project-open {
  min-height: inherit;
}

.inner-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.text-panel {
  color: rgba(243, 237, 227, 0.74);
  font-size: 1.04rem;
}

.text-panel p {
  margin-bottom: 1rem;
}

.image-panel {
  min-height: 640px;
  background: var(--panel-image, url("../img/optimized/previews/portada-web-2.jpg")) center / cover no-repeat;
  border: 1px solid rgba(238, 222, 194, 0.16);
}

.service-dark-list {
  display: grid;
  gap: 1px;
  background: rgba(238, 222, 194, 0.16);
}

.service-dark-row {
  display: grid;
  grid-template-columns: 76px minmax(210px, 0.8fr) minmax(0, 1.2fr);
  gap: 1.6rem;
  padding: clamp(1.2rem, 2vw, 1.8rem);
  background: rgba(243, 237, 227, 0.045);
}

.service-dark-row span {
  color: var(--clay);
  font-weight: 700;
}

/* About page: editorial manifesto */
.about-page {
  overflow: hidden;
}

.about-page .inner-shell {
  height: 100svh;
  min-height: 0;
  overflow: hidden;
}

.about-main {
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  background: #080b0b;
}

.about-stage {
  position: relative;
  display: grid;
  height: 100%;
  min-height: 0;
  grid-template-columns: minmax(430px, 0.92fr) minmax(460px, 0.78fr);
  grid-template-rows: minmax(0, 1fr) auto;
  column-gap: clamp(2.2rem, 5vw, 6rem);
  row-gap: clamp(1.15rem, 2.6vh, 2rem);
  align-items: center;
  padding: clamp(2.6rem, 5vw, 5.8rem) clamp(2.4rem, 5.6vw, 6.2rem);
  isolation: isolate;
}

.about-stage::before,
.about-stage::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
}

.about-stage::before {
  background:
    linear-gradient(90deg, rgba(8, 11, 11, 0.98), rgba(8, 11, 11, 0.78) 46%, rgba(8, 11, 11, 0.5)),
    url("../img/optimized/previews/bg-sobre-nosotros.png") center / cover no-repeat;
  filter: saturate(0.78) brightness(0.72);
}

.about-stage::after {
  z-index: -1;
  background:
    radial-gradient(circle at 74% 12%, rgba(192, 138, 74, 0.18), transparent 22rem),
    linear-gradient(180deg, rgba(8, 11, 11, 0.1), rgba(8, 11, 11, 0.48));
}

.about-copy-panel {
  display: grid;
  align-content: center;
  align-self: center;
  max-width: 720px;
  padding-top: clamp(0rem, 3vh, 3.5rem);
}

.about-copy-panel h1 {
  max-width: 760px;
  margin: 0;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, min(5.45vw, 9.2vh), 7.2rem);
  font-weight: 400;
  line-height: 0.96;
  text-wrap: balance;
}

.about-lead {
  max-width: 610px;
  margin: clamp(1.25rem, 2vh, 1.8rem) 0 0;
  color: rgba(243, 237, 227, 0.88);
  font-size: clamp(1rem, 1vw, 1.12rem);
  line-height: 1.55;
}

.about-copy-panel > p:last-child {
  color: rgba(243, 237, 227, 0.66);
  font-size: clamp(0.88rem, 0.9vw, 1rem);
  line-height: 1.58;
}

.about-copy-panel > p:last-child {
  max-width: 540px;
  margin: 1rem 0 0;
  color: var(--clay);
  font-size: clamp(0.76rem, 0.82vw, 0.92rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.8;
  text-transform: uppercase;
}

.about-story-open {
  width: fit-content;
  margin-top: clamp(1.25rem, 2.5vh, 2.25rem);
  border: 0;
  border-bottom: 1px solid var(--clay);
  padding: 0 0 0.62rem;
  color: var(--paper);
  background: transparent;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-align: left;
  text-transform: uppercase;
  transition: color 180ms ease, padding-left 180ms ease;
}

.about-story-open span {
  margin-left: 1rem;
  color: var(--clay);
  letter-spacing: 0;
}

.about-story-open:hover {
  color: var(--clay);
  padding-left: 0.45rem;
}

.about-visual-panel {
  display: grid;
  height: min(560px, 57svh);
  min-height: 0;
  align-self: center;
  border: 1px solid rgba(192, 138, 74, 0.58);
  padding: clamp(0.45rem, 0.6vw, 0.7rem);
  background: rgba(8, 11, 11, 0.42);
}

.about-photo {
  min-height: 0;
  height: 100%;
  border: 0;
  background:
    linear-gradient(180deg, rgba(8, 11, 11, 0), rgba(8, 11, 11, 0.18)),
    url("../../images/HOSTELERÍA/MENTA-&-CHOCOLATE/20.-Menta\ &\ Chocolate.\ Vista\ detalle\ paramrnto\ jardín\ vertical.JPG") center / cover no-repeat;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.3);
}

.about-quote {
  max-width: 540px;
  margin: clamp(2rem, 5vh, 4.2rem) 0 0;
  padding: 0;
}

.about-quote span {
  display: block;
  height: 2.6rem;
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 5vw, 6rem);
  line-height: 0.85;
}

.about-quote p {
  margin: 0.5rem 0 1.35rem;
  color: rgba(243, 237, 227, 0.76);
  font-size: clamp(0.88rem, 0.9vw, 1rem);
  line-height: 1.55;
}

.about-quote cite {
  color: var(--clay);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.about-quote small {
  color: rgba(243, 237, 227, 0.62);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

/* Legacy selector kept harmless for older markup. */
.about-visual-panel blockquote {
  margin: 0;
  border-right: 1px solid rgba(192, 138, 74, 0.5);
  padding: clamp(1rem, 1.6vw, 1.6rem) clamp(1rem, 1.4vw, 1.45rem) 0 0;
}

.about-visual-panel blockquote p {
  margin: 0;
  color: rgba(243, 237, 227, 0.76);
  font-size: clamp(0.88rem, 0.9vw, 1rem);
  line-height: 1.55;
}

.about-stat-grid {
  display: grid;
  grid-column: 2;
  grid-row: 2;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-self: start;
  background: transparent;
}

.about-stat-grid article {
  min-width: 0;
  border-left: 1px solid rgba(238, 222, 194, 0.22);
  padding: 0 clamp(0.8rem, 1.4vw, 1.35rem);
  text-align: center;
  background: transparent;
}

.about-stat-grid span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 3.15vw, 4rem);
  line-height: 0.95;
}

.about-stat-grid p {
  margin: 0;
  color: rgba(243, 237, 227, 0.62);
  font-size: clamp(0.76rem, 0.78vw, 0.88rem);
  line-height: 1.48;
}

.about-story-content {
  background:
    radial-gradient(circle at 100% 0, rgba(192, 138, 74, 0.14), transparent 24rem),
    #080b0b;
}

.about-story-header {
  align-items: start;
  border-bottom: 1px solid rgba(238, 222, 194, 0.15);
  padding: clamp(1.25rem, 2vw, 2rem);
}

.about-story-header p {
  margin: 0 0 0.55rem;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.about-story-header h2 {
  max-width: 620px;
  margin: 0;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 3.6vw, 4rem);
  font-weight: 400;
  line-height: 0.98;
}

.about-story-body {
  display: grid;
  gap: 1rem;
  max-height: min(62vh, 620px);
  padding: clamp(1.25rem, 2vw, 2rem);
  overflow-y: auto;
  color: rgba(243, 237, 227, 0.74);
  font-size: clamp(0.95rem, 1vw, 1.08rem);
  line-height: 1.7;
}

.about-story-body p {
  max-width: 760px;
  margin: 0;
}

/* Contact page: direct conversation */
.contact-page {
  overflow: hidden;
}

.contact-page .inner-shell {
  height: 100svh;
  min-height: 0;
  overflow: hidden;
}

.contact-main {
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  background: #080b0b;
}

.contact-stage {
  position: relative;
  display: grid;
  height: 100%;
  min-height: 0;
  grid-template-columns: minmax(390px, 0.76fr) minmax(360px, 0.56fr) minmax(360px, 0.58fr);
  gap: clamp(1.8rem, 3.2vw, 4.2rem);
  align-items: center;
  padding: clamp(2.2rem, 4.2vw, 4rem) clamp(2.4rem, 4.8vw, 5.5rem);
  isolation: isolate;
}

.contact-stage::before,
.contact-stage::after {
  position: absolute;
  inset: 0;
  content: "";
}

.contact-stage::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 11, 11, 0.98), rgba(8, 11, 11, 0.82) 46%, rgba(8, 11, 11, 0.55)),
    url("../img/optimized/previews/bg-contacto.png") center / cover no-repeat;
  filter: saturate(0.78) brightness(0.64);
}

.contact-stage::after {
  z-index: -1;
  background:
    radial-gradient(circle at 69% 12%, rgba(192, 138, 74, 0.16), transparent 22rem),
    linear-gradient(180deg, rgba(8, 11, 11, 0.18), rgba(8, 11, 11, 0.62));
}

.contact-intro {
  display: grid;
  align-content: center;
  max-width: 650px;
}

.contact-intro h1 {
  max-width: 650px;
  margin: 0;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, min(4.15vw, 7.7vh), 5.35rem);
  font-weight: 400;
  line-height: 1.02;
  text-wrap: balance;
}

.contact-intro p:not(.inner-kicker):not(.contact-signature) {
  max-width: 560px;
  margin: clamp(1.25rem, 2.8vh, 2rem) 0 0;
  color: rgba(243, 237, 227, 0.74);
  font-size: clamp(1rem, 1.08vw, 1.2rem);
  line-height: 1.62;
}

.contact-intro .contact-signature {
  max-width: 420px;
  margin: clamp(1.6rem, 4vh, 3rem) 0 0;
  color: var(--clay);
  font-size: clamp(0.78rem, 0.86vw, 0.98rem);
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.75;
  text-transform: uppercase;
}

.contact-visual {
  position: relative;
  height: min(810px, 84svh);
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(192, 138, 74, 0.62);
  padding: clamp(0.45rem, 0.6vw, 0.7rem);
  background: rgba(8, 11, 11, 0.42);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.34);
}

.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.82) saturate(0.88);
}

.contact-visual::after {
  position: absolute;
  inset: clamp(0.45rem, 0.6vw, 0.7rem);
  content: "";
  background:
    linear-gradient(180deg, rgba(8, 11, 11, 0.18), transparent 36%, rgba(8, 11, 11, 0.22)),
    radial-gradient(circle at 52% 42%, transparent 0, rgba(8, 11, 11, 0.2) 62%);
  pointer-events: none;
}

.contact-image-brand {
  position: absolute;
  z-index: 1;
  top: clamp(2.2rem, 5vh, 4.2rem);
  left: 50%;
  display: grid;
  gap: 0.2rem;
  width: min(68%, 260px);
  color: var(--clay);
  text-align: center;
  transform: translateX(-50%);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}

.contact-image-brand span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 2vw, 2.35rem);
  line-height: 1;
}

.contact-image-brand small {
  color: rgba(192, 138, 74, 0.82);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.25;
  text-transform: uppercase;
}

.contact-details {
  display: grid;
  align-self: center;
  gap: clamp(1.2rem, 2.4vh, 1.85rem);
  border-left: 0;
}

.contact-details article {
  display: grid;
  grid-template-columns: clamp(3.8rem, 4.2vw, 5rem) minmax(0, 1fr);
  gap: clamp(1rem, 1.6vw, 1.55rem);
  align-items: center;
  border-bottom: 1px solid rgba(192, 138, 74, 0.58);
  padding: 0 0 clamp(1.15rem, 2.2vh, 1.75rem);
}

.contact-details article > div > span {
  display: block;
  margin-bottom: 0.42rem;
  color: var(--clay);
  font-size: clamp(0.78rem, 0.8vw, 0.94rem);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.contact-icon {
  display: grid;
  width: clamp(3.8rem, 4.2vw, 5rem);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(192, 138, 74, 0.78);
  color: var(--clay);
}

.contact-icon svg {
  width: 42%;
  height: 42%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-details a,
.contact-details p {
  margin: 0;
  color: rgba(243, 237, 227, 0.78);
  font-size: clamp(1rem, 1.08vw, 1.18rem);
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.contact-details article a {
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 1.8vw, 2.25rem);
  line-height: 1.12;
}

.contact-details .contact-email {
  max-width: 100%;
  color: rgba(243, 237, 227, 0.84);
  font-size: clamp(0.92rem, 0.98vw, 1.08rem);
  line-height: 1.45;
  word-break: normal;
  overflow-wrap: anywhere;
}

.contact-details a:hover {
  color: var(--clay);
}

.contact-proposal {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: clamp(0.25rem, 1vh, 0.8rem) 0 0;
  border: 1px solid rgba(192, 138, 74, 0.78);
  padding: clamp(0.95rem, 1.6vh, 1.25rem) 1rem;
  color: var(--paper);
  font-size: clamp(0.78rem, 0.82vw, 0.94rem);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-proposal span {
  letter-spacing: 0;
}

.contact-proposal:hover {
  border-color: var(--paper);
  color: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(243, 237, 227, 0.22), 0 0 28px rgba(192, 138, 74, 0.12);
  transform: translateY(-1px);
}

.contact-proposal:hover span {
  color: var(--clay);
}

.contact-footnote {
  max-width: 380px;
  margin: clamp(1.25rem, 3vh, 2.1rem) 0 0;
  border-top: 1px solid rgba(192, 138, 74, 0.58);
  padding-top: clamp(1.1rem, 2.1vh, 1.6rem);
  color: rgba(243, 237, 227, 0.62);
  font-size: clamp(0.92rem, 0.98vw, 1.08rem);
  line-height: 1.58;
}

.service-dark-row h2 {
  margin: 0;
  color: var(--paper);
  font-size: 1.15rem;
  line-height: 1.25;
}

.service-dark-row p {
  margin: 0;
  color: rgba(243, 237, 227, 0.66);
}

.services-page {
  overflow: hidden;
}

.services-main {
  display: grid;
  height: 100svh;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
}

.services-stage {
  position: relative;
  display: grid;
  height: 100%;
  min-height: 0;
  grid-template-columns:
    minmax(3rem, 17vw)
    minmax(480px, 34vw)
    minmax(3rem, 8vw)
    minmax(420px, 32vw)
    minmax(2rem, 9vw);
  grid-template-rows: minmax(0, 1fr);
  padding-block: 0;
  padding-inline: 0;
  isolation: isolate;
  overflow: hidden;
}

.services-stage::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: url("../img/optimized/previews/bg-servicios.png") center / cover no-repeat;
  filter: saturate(0.82) brightness(0.74);
  transform: scale(1.02);
}

.services-stage::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 11, 11, 0.96), rgba(8, 11, 11, 0.78) 48%, rgba(8, 11, 11, 0.52)),
    linear-gradient(0deg, rgba(8, 11, 11, 0.92), rgba(8, 11, 11, 0.28) 48%, rgba(8, 11, 11, 0.72));
}

.services-intro {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  max-width: 620px;
  gap: 1rem;
}

.services-intro h1 {
  margin: 0;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5rem;
  font-weight: 400;
  line-height: 0.96;
}

.services-intro p:last-child {
  max-width: 620px;
  margin: 0;
  color: rgba(243, 237, 227, 0.7);
  font-size: clamp(0.98rem, 1.1vw, 1.12rem);
  line-height: 1.55;
}

.services-timeline {
  display: grid;
  grid-column: 4;
  grid-row: 1;
  align-self: center;
  width: 100%;
  height: min(620px, calc(100% - 4.5rem));
  grid-template-rows: repeat(4, minmax(0, 1fr));
  border-left: 1px solid rgba(192, 138, 74, 0.72);
}

.services-project-strip {
  height: clamp(92px, 11svh, 118px);
  border-top: 1px solid rgba(238, 222, 194, 0.18);
}

.services-project-strip .strip-card strong {
  top: 50%;
  bottom: auto;
  left: clamp(1.3rem, 1.8vw, 2rem);
  max-width: calc(100% - 3rem);
  color: var(--clay);
  font-size: clamp(0.84rem, 0.9vw, 1rem);
  line-height: 1;
  transform: translateY(-50%);
}

.services-project-strip .service-strip-item {
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.services-project-strip .strip-number {
  display: none;
}

.services-project-strip .strip-card img {
  filter: brightness(0.58) saturate(0.85);
}

.services-project-strip .service-strip-item:hover img {
  filter: brightness(0.76) saturate(0.98);
  transform: scale(1.035);
}

.services-project-strip .service-strip-cta {
  background:
    linear-gradient(90deg, rgba(8, 11, 11, 0.98), rgba(8, 11, 11, 0.88)),
    #080b0b;
}

.services-project-strip .service-strip-cta img {
  opacity: 0;
}

.services-project-strip .service-strip-cta strong {
  left: clamp(4rem, 4.3vw, 5.2rem);
  color: var(--paper);
  font-size: clamp(0.86rem, 0.94vw, 1.05rem);
  font-weight: 400;
  letter-spacing: 0;
}

.services-project-strip .service-strip-cta .strip-arrow {
  top: 50%;
  bottom: auto;
  left: clamp(1.5rem, 2vw, 2.25rem);
  color: var(--clay);
  font-size: clamp(1.2rem, 1.5vw, 1.55rem);
  line-height: 1;
  transform: translateY(-50%);
}

.services-project-strip .service-strip-cta:hover {
  background:
    linear-gradient(90deg, rgba(15, 16, 14, 0.98), rgba(12, 12, 10, 0.86)),
    #0d0d0b;
}

.service-info-content {
  border: 1px solid rgba(238, 222, 194, 0.16);
  border-radius: 0;
  background:
    radial-gradient(circle at 0 0, rgba(192, 138, 74, 0.11), transparent 22rem),
    #080b0b;
  color: var(--paper);
}

.service-info-header {
  border-bottom: 1px solid rgba(238, 222, 194, 0.14);
  padding: 1.35rem 1.5rem;
}

.service-info-header p {
  margin: 0 0 0.4rem;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.service-info-header .modal-title {
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1;
}

.service-info-body {
  padding: 1.5rem;
}

.service-info-body p {
  margin: 0;
  color: rgba(243, 237, 227, 0.72);
  font-size: 1rem;
  line-height: 1.65;
}

.service-phase {
  position: relative;
  display: grid;
  align-content: center;
  gap: 0.28rem;
  min-height: 0;
  padding: clamp(0.65rem, 1vw, 0.95rem) 0 clamp(0.65rem, 1vw, 0.95rem) clamp(1.15rem, 2vw, 1.8rem);
  border-bottom: 1px solid rgba(238, 222, 194, 0.11);
}

.service-phase::before {
  position: absolute;
  left: -4px;
  top: 50%;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--clay);
  transform: translateY(-50%);
}

.service-phase span {
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.service-phase h2 {
  margin: 0;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 1.8vw, 2.15rem);
  font-weight: 400;
  line-height: 1;
}

.service-phase p {
  max-width: 460px;
  margin: 0;
  color: rgba(243, 237, 227, 0.68);
  font-size: clamp(0.76rem, 0.78vw, 0.9rem);
  line-height: 1.38;
}

.service-phase ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  margin: 0.3rem 0 0;
  padding: 0;
  list-style: none;
}

.service-phase li {
  color: rgba(243, 237, 227, 0.78);
  font-size: clamp(0.68rem, 0.7vw, 0.8rem);
  line-height: 1.25;
}

.service-phase li::before {
  margin-right: 0.45rem;
  color: var(--clay);
  content: "-";
}

.contact-dark-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 1px;
  background: rgba(238, 222, 194, 0.16);
}

.contact-dark-panel {
  min-height: 320px;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  background: rgba(243, 237, 227, 0.045);
}

.contact-dark-panel h2 {
  margin: 0 0 1.4rem;
  color: var(--paper);
  font-size: 2rem;
  font-weight: 400;
}

.contact-dark-panel a {
  display: block;
  width: fit-content;
  color: var(--paper);
  font-weight: 700;
  text-decoration-color: var(--clay);
  text-underline-offset: 0.24em;
}

.dark-schedule {
  display: grid;
  gap: 1px;
  background: rgba(238, 222, 194, 0.14);
}

.dark-schedule div {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  padding: 1rem;
  background: #14120f;
}

.inner-footer {
  padding: 1.4rem clamp(1.5rem, 5vw, 5.5rem);
  border-top: 1px solid rgba(238, 222, 194, 0.15);
  color: rgba(243, 237, 227, 0.58);
  font-size: 0.85rem;
}

.archive-page {
  overflow: hidden;
}

.archive-page .inner-shell {
  height: 100svh;
  min-height: 0;
  overflow: hidden;
}

.archive-page .inner-main {
  display: grid;
  height: 100svh;
  min-height: 0;
  grid-template-rows: clamp(230px, 28vh, 315px) minmax(0, 1fr);
  overflow: hidden;
}

.archive-page .inner-footer {
  display: none;
}

.archive-hero {
  --inner-hero-image: url("../img/optimized/previews/menta-chocolate.jpg");
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.32fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: end;
  min-height: 0;
  padding: clamp(1.55rem, 2.6vw, 2.65rem) clamp(1.5rem, 4vw, 4.4rem);
  border-bottom: 1px solid rgba(238, 222, 194, 0.15);
  isolation: isolate;
  overflow: hidden;
}

.archive-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: var(--inner-hero-image, url("../img/optimized/previews/portada-web-2.jpg")) center 56% / cover no-repeat;
  filter: saturate(0.88) brightness(0.86);
  transform: scale(1.02);
}

.archive-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 11, 11, 0.88), rgba(8, 11, 11, 0.66) 48%, rgba(8, 11, 11, 0.32)),
    linear-gradient(0deg, rgba(8, 11, 11, 0.56), rgba(8, 11, 11, 0.16) 58%, rgba(8, 11, 11, 0.52));
}

.archive-title {
  max-width: 760px;
  margin: 0;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 4.25vw, 4.8rem);
  font-weight: 400;
  line-height: 0.98;
}

.archive-hero .inner-hero-content {
  display: grid;
  gap: clamp(0.55rem, 1vh, 0.9rem);
  align-content: end;
  min-width: 0;
}

.archive-hero-stat {
  display: grid;
  justify-items: start;
  gap: 0.25rem;
  margin-bottom: clamp(0.45rem, 1.4vh, 1.35rem);
  padding-left: clamp(1rem, 2.4vw, 2rem);
  border-left: 1px solid rgba(238, 222, 194, 0.22);
}

.archive-hero-stat span {
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.55vw, 1.7rem);
  line-height: 1.05;
}

.archive-hero-stat p,
.archive-hero-copy {
  margin: 0;
  font-size: 1rem;
}

.archive-hero-stat p {
  color: rgba(192, 138, 74, 0.88);
}

.archive-hero-copy {
  color: rgba(243, 237, 227, 0.66);
}

.archive-hero-copy {
  max-width: 620px;
  line-height: 1.5;
}

.archive-section {
  min-height: 0;
  padding: clamp(0.7rem, 1.2vw, 1rem) clamp(1rem, 2.8vw, 3rem) clamp(0.85rem, 1.4vw, 1.2rem);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(192, 138, 74, 0.035), transparent 22%),
    #080b0b;
}

.archive-shell {
  display: grid;
  height: 100%;
  min-height: 0;
  grid-template-columns: minmax(180px, 0.46fr) minmax(350px, 1fr) minmax(390px, 1.18fr);
  gap: 1px;
  border: 1px solid rgba(238, 222, 194, 0.13);
  background: rgba(238, 222, 194, 0.14);
}

.archive-filters,
.archive-list-wrap,
.archive-preview {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.018), transparent 36%),
    rgba(11, 11, 9, 0.96);
}

.archive-filters {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: clamp(1.25rem, 1.8vw, 1.85rem);
}

.archive-filters p,
.archive-list-head,
.archive-preview-label {
  margin: 0;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.archive-filter-list {
  display: grid;
  margin-top: clamp(1rem, 3vh, 2rem);
}

.archive-filter {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  border-bottom: 1px solid rgba(238, 222, 194, 0.13);
  padding: clamp(0.72rem, 1.55vh, 1rem) 0;
  color: rgba(243, 237, 227, 0.68);
  background: transparent;
  text-align: left;
  transition: color 180ms ease, padding-left 180ms ease;
}

.archive-filter em {
  color: rgba(192, 138, 74, 0.72);
  font-size: 0.74rem;
  font-style: normal;
}

.archive-filter:hover,
.archive-filter.active {
  color: var(--paper);
  padding-left: 0.42rem;
}

.archive-download {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
  color: rgba(243, 237, 227, 0.72);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.archive-download span {
  color: var(--clay);
  font-size: 1rem;
}

.archive-list-wrap {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: clamp(1.25rem, 1.8vw, 1.85rem);
  overflow: hidden;
}

.archive-list-head {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 1rem;
  padding-bottom: clamp(0.75rem, 1.35vh, 1rem);
  border-bottom: 1px solid rgba(238, 222, 194, 0.16);
}

.archive-list {
  display: grid;
  min-height: 0;
  grid-template-rows: repeat(8, minmax(0, 1fr));
  overflow: hidden;
}

.archive-row {
  display: grid;
  width: 100%;
  min-height: 0;
  grid-template-columns: 3.2rem minmax(0, 1fr) 126px;
  gap: 0.9rem;
  align-items: center;
  border: 0;
  border-bottom: 1px solid rgba(238, 222, 194, 0.115);
  padding: 0.34rem 0;
  color: rgba(243, 237, 227, 0.68);
  background: transparent;
  text-align: left;
  transition: color 180ms ease, background-color 180ms ease, padding-left 180ms ease;
}

.archive-row span:first-child {
  color: var(--clay);
  font-size: 0.78rem;
}

.archive-row strong {
  color: inherit;
  font-size: clamp(0.98rem, 1.15vw, 1.32rem);
  font-weight: 400;
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.archive-row em {
  color: rgba(243, 237, 227, 0.46);
  font-style: normal;
  white-space: nowrap;
}

.archive-row:hover,
.archive-row.active {
  color: var(--paper);
  padding-left: 0.45rem;
  background: rgba(192, 138, 74, 0.08);
}

.archive-pagination {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr) 2.4rem;
  align-items: center;
  gap: 0.85rem;
  padding-top: clamp(0.75rem, 1.35vh, 1rem);
  border-top: 1px solid rgba(238, 222, 194, 0.14);
}

.archive-pagination > button {
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(238, 222, 194, 0.22);
  color: var(--paper);
  background: transparent;
  line-height: 1;
}

.archive-pagination button:not(:disabled):hover {
  border-color: var(--clay);
  color: #0b0b09;
  background: var(--clay);
}

.archive-pagination button:disabled {
  opacity: 0.28;
}

.archive-page-count {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.archive-dots {
  display: inline-flex;
  gap: 0.42rem;
}

.archive-dots button {
  width: 0.42rem;
  height: 0.42rem;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: rgba(243, 237, 227, 0.26);
}

.archive-dots button.active {
  background: var(--clay);
}

.archive-preview {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr) minmax(210px, auto);
  overflow: hidden;
}

.archive-preview-label {
  padding: clamp(1.25rem, 1.8vw, 1.85rem) clamp(1.25rem, 1.8vw, 1.85rem) 0;
}

.archive-preview-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin-top: clamp(0.75rem, 1.25vh, 1rem);
  overflow: hidden;
  background:
    linear-gradient(rgba(8, 9, 8, 0.28), rgba(8, 9, 8, 0.5)),
    var(--preview-image, none) center / cover no-repeat,
    #080807;
  isolation: isolate;
}

.archive-preview-image::before {
  position: absolute;
  inset: -34px;
  z-index: 0;
  content: "";
  background: var(--preview-image, none) center / cover no-repeat;
  filter: blur(24px) brightness(0.72) saturate(0.92);
  opacity: 0.78;
  transform: scale(1.06);
}

.archive-preview-image::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 9, 8, 0.28), transparent 22%, transparent 78%, rgba(8, 9, 8, 0.28)),
    linear-gradient(0deg, rgba(8, 9, 8, 0.2), transparent 38%);
  pointer-events: none;
}

.archive-preview-image img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: calc(100% - clamp(1rem, 2.5vw, 2.5rem));
  max-height: calc(100% - clamp(1rem, 2.5vw, 2.5rem));
  object-fit: contain;
  filter: brightness(0.98) saturate(0.96);
  transition: opacity 220ms ease, transform 520ms ease;
}

.archive-preview:hover img {
  transform: scale(1.01);
}

.archive-preview-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 2.2vw, 2.5rem);
  align-items: end;
  min-height: 0;
  padding: clamp(1.15rem, 1.9vw, 2rem) clamp(1.5rem, 2.35vw, 2.5rem);
  border-top: 1px solid rgba(238, 222, 194, 0.16);
  background:
    radial-gradient(circle at 12% 10%, rgba(13, 40, 38, 0.55), transparent 22rem),
    #080b0b;
}

.archive-preview-copy {
  display: grid;
  min-width: 0;
  gap: 0.42rem;
}

.archive-preview-meta strong {
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 2.55vw, 3.15rem);
  font-weight: 400;
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.archive-preview-meta span {
  color: var(--clay);
  font-size: clamp(0.82rem, 0.9vw, 1rem);
  line-height: 1.25;
}

.archive-preview-meta small {
  color: rgba(243, 237, 227, 0.67);
  font-size: clamp(0.78rem, 0.82vw, 0.92rem);
}

.archive-preview-meta p {
  max-width: 560px;
  margin: 0.45rem 0 0;
  color: rgba(243, 237, 227, 0.58);
  font-size: clamp(0.82rem, 0.84vw, 0.95rem);
  line-height: 1.45;
}

.archive-open {
  width: fit-content;
  min-width: 142px;
  border: 0;
  border-bottom: 1px solid var(--clay);
  padding: 0 0 0.55rem;
  color: var(--paper);
  background: transparent;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: left;
  text-transform: uppercase;
}

.archive-open span {
  margin-left: 1rem;
  color: var(--clay);
  letter-spacing: 0;
}

@media (max-width: 1199.98px) {
  .immersive-shell {
    --rail-width: clamp(240px, 22vw, 270px);
    grid-template-columns: var(--rail-width) minmax(0, 1fr);
  }

  .inner-shell {
    --rail-width: clamp(240px, 22vw, 270px);
    grid-template-columns: var(--rail-width) minmax(0, 1fr);
  }

  .home-project-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .strip-card strong {
    font-size: clamp(1.45rem, 2.7vw, 2.3rem);
  }

  .archive-page .inner-main {
    grid-template-rows: minmax(220px, auto) minmax(0, 1fr);
  }

  .archive-hero {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    align-items: end;
  }

  .archive-title {
    max-width: 640px;
    font-size: clamp(2.45rem, 5vw, 4.15rem);
  }

  .archive-hero-stat {
    width: fit-content;
    max-width: min(100%, 440px);
    margin-bottom: 0;
    margin-left: auto;
  }

  .services-intro h1 {
    font-size: clamp(2.8rem, 4.6vw, 4.8rem);
  }

  .services-stage {
    grid-template-columns:
      minmax(2.5rem, 12vw)
      minmax(360px, 38vw)
      minmax(2rem, 5vw)
      minmax(340px, 36vw)
      minmax(2rem, 9vw);
    padding-block: 0;
  }

  .services-timeline {
    grid-column: 4;
    width: 100%;
    height: min(610px, calc(100% - 4rem));
  }

  .about-stage {
    grid-template-columns: minmax(330px, 0.92fr) minmax(360px, 0.78fr);
    gap: clamp(1rem, 1.6vw, 2rem);
    padding: clamp(1.6rem, 3vw, 3rem);
  }

  .about-copy-panel h1 {
    font-size: clamp(3rem, min(4.25vw, 8.2vh), 4.8rem);
  }

  .about-visual-panel {
    height: min(470px, 54svh);
  }

  .about-stat-grid span {
    font-size: clamp(2.2rem, 2.9vw, 3.35rem);
  }

  .contact-stage {
    grid-template-columns: minmax(320px, 0.76fr) minmax(300px, 0.54fr) minmax(300px, 0.56fr);
    gap: clamp(1rem, 1.8vw, 2rem);
    padding: clamp(1.6rem, 3vw, 3rem);
  }

  .contact-intro h1 {
    font-size: clamp(2.7rem, min(3.65vw, 7.2vh), 4.35rem);
  }

  .contact-visual {
    height: min(640px, 76svh);
  }

}

@media (max-height: 760px) and (min-width: 981px) {
  .archive-page .inner-main {
    grid-template-rows: minmax(180px, 24vh) minmax(0, 1fr);
  }

  .archive-hero {
    padding-block: 1.15rem;
  }

  .archive-title {
    font-size: clamp(2.35rem, 3.7vw, 4.2rem);
  }

  .archive-hero-copy,
  .archive-hero-stat p {
    font-size: 0.86rem;
    line-height: 1.35;
  }

  .services-stage {
    padding-block: 0;
  }

  .services-intro h1 {
    font-size: clamp(2.6rem, 4vw, 4.1rem);
  }

  .services-intro p:last-child,
  .service-phase p {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .service-phase {
    gap: 0.22rem;
    padding-block: 0.55rem;
  }

  .service-phase h2 {
    font-size: clamp(1.2rem, 1.45vw, 1.55rem);
  }

  .service-phase li {
    font-size: 0.68rem;
  }

  .services-timeline {
    height: min(520px, calc(100% - 2.5rem));
  }

  .about-stage {
    padding-block: 1.45rem;
  }

  .about-copy-panel h1 {
    font-size: clamp(2.65rem, min(3.75vw, 7.4vh), 4.25rem);
  }

  .about-lead {
    margin-top: 0.9rem;
    font-size: 0.92rem;
    line-height: 1.42;
  }

  .about-copy-panel > p:last-child,
  .about-quote p,
  .about-visual-panel blockquote p,
  .about-stat-grid p {
    font-size: 0.78rem;
    line-height: 1.38;
  }

  .about-visual-panel {
    height: min(410px, calc(100svh - 8rem));
  }

  .about-stat-grid article {
    padding-block: 0.9rem;
  }

  .about-stat-grid span {
    font-size: clamp(1.9rem, 2.4vw, 2.75rem);
  }

  .contact-stage {
    padding-block: 1.45rem;
  }

  .contact-intro h1 {
    font-size: clamp(2.35rem, min(3.35vw, 6.8vh), 3.85rem);
  }

  .contact-intro p:not(.inner-kicker):not(.contact-signature),
  .contact-intro .contact-signature,
  .contact-details a,
  .contact-details p {
    font-size: 0.86rem;
    line-height: 1.4;
  }

  .contact-details article a {
    font-size: clamp(1.1rem, 1.45vw, 1.55rem);
  }

  .contact-details article {
    grid-template-columns: clamp(3.2rem, 3.6vw, 4rem) minmax(0, 1fr);
    gap: clamp(0.8rem, 1.1vw, 1.15rem);
  }

  .contact-icon {
    width: clamp(3.2rem, 3.6vw, 4rem);
  }

  .contact-details .contact-email {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .contact-visual {
    height: min(560px, calc(100svh - 4rem));
  }

}

@media (max-width: 980px) {
  .archive-page {
    overflow: visible;
  }

  .archive-page .inner-shell,
  .archive-page .inner-main {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .immersive-shell {
    --rail-width: 0px;
    display: block;
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }

  .inner-shell {
    --rail-width: 0px;
    display: block;
  }

  .side-rail,
  .inner-rail {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 1.2rem;
    border-right: 0;
    border-bottom: 1px solid rgba(238, 222, 194, 0.18);
  }

  .side-brand::after,
  .side-note,
  .side-copyright {
    display: none;
  }

  .side-menu {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    overflow-x: auto;
  }

  .side-menu a {
    flex: 0 0 auto;
  }

  .immersive-main {
    display: block;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .cinematic-hero {
    min-height: 72vh;
  }

  .home-project-strip {
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .strip-card {
    aspect-ratio: 1 / 1;
  }

  .inner-hero {
    min-height: 420px;
  }

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

  .inner-content-grid,
  .contact-dark-grid,
  .archive-shell {
    grid-template-columns: 1fr;
    height: auto;
  }

  .archive-preview {
    min-height: 560px;
  }

  .archive-hero {
    padding: 2rem 1.2rem;
  }

  .archive-title {
    font-size: clamp(2.35rem, 10vw, 4rem);
  }

  .archive-hero-stat {
    margin-left: 0;
    padding-left: 1rem;
  }

  .services-page,
  .about-page,
  .contact-page,
  .services-main {
    overflow: visible;
  }

  .about-page .inner-shell,
  .contact-page .inner-shell,
  .about-main,
  .contact-main,
  .services-main {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .about-stage {
    display: grid;
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 2rem;
    padding: 2.2rem 1.2rem;
  }

  .about-copy-panel h1 {
    font-size: clamp(3rem, 12vw, 5.5rem);
  }

  .about-visual-panel {
    height: auto;
    min-height: 420px;
  }

  .about-stat-grid {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: 1fr;
  }

  .about-stat-grid article {
    text-align: left;
  }

  .contact-stage {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.2rem 1.2rem;
  }

  .contact-intro h1 {
    font-size: clamp(3rem, 12vw, 5.5rem);
  }

  .contact-visual {
    height: auto;
    min-height: 520px;
  }

  .contact-details {
    border-left: 0;
    border-top: 1px solid rgba(238, 222, 194, 0.18);
  }

  .contact-details article {
    padding-left: 0;
  }

  .contact-proposal {
    margin-left: 0;
  }

  .services-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: 0;
    padding: 2.2rem 1.2rem;
    overflow: visible;
  }

  .services-intro {
    grid-column: auto;
    grid-row: auto;
    max-width: 100%;
  }

  .services-intro h1 {
    font-size: clamp(2.7rem, 10vw, 4.5rem);
  }

  .services-timeline {
    position: relative;
    inset: auto;
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    max-height: none;
    margin-top: 2.5rem;
    grid-template-rows: none;
    gap: 0;
  }

  .service-phase {
    min-height: 0;
    padding-block: 1.2rem;
  }

  .image-panel {
    min-height: 460px;
  }

  .service-dark-row {
    grid-template-columns: 52px 1fr;
  }

  .service-dark-row p {
    grid-column: 2;
  }
}

@media (max-width: 767.98px) {
  .cinematic-hero {
    min-height: 72vh;
  }

  .hero-copy-panel {
    padding: 2rem 1.2rem;
  }

  .cinematic-title {
    font-size: clamp(3.4rem, 18vw, 5.7rem);
  }

  .cinematic-copy {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
  }

  .outline-action {
    width: 100%;
    justify-content: space-between;
  }

  .home-project-strip {
    grid-template-columns: 1fr;
  }

  .strip-card {
    min-height: 280px;
    aspect-ratio: auto;
  }

  .inner-hero,
  .inner-section {
    padding-inline: 1.2rem;
  }

  .inner-title {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .inner-section-heading {
    display: block;
  }

  .inner-grid {
    grid-template-columns: 1fr;
  }

  .inner-grid .project-card,
  .inner-grid .project-card:nth-child(4n + 1) {
    min-height: 360px;
  }

  .dark-schedule div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .archive-section {
    padding-inline: 1.2rem;
  }

  .archive-list-head {
    display: none;
  }

  .archive-row {
    grid-template-columns: 3rem 1fr;
  }

  .archive-row em {
    grid-column: 2;
  }

  .archive-preview {
    min-height: 420px;
  }

  .archive-preview-meta {
    grid-template-columns: 1fr;
  }

  .archive-open {
    justify-self: start;
  }

  .project-modal .modal-dialog {
    max-width: calc(100vw - 1rem);
    margin-inline: 0.5rem;
  }

  .project-modal-content {
    max-height: calc(100vh - 1rem);
  }

  .project-modal-header {
    min-height: 88px;
  }

  .project-modal-body {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(320px, 62vh) auto;
    min-height: 0;
  }

  .project-modal-body .modal-gallery {
    grid-template-columns: repeat(3, minmax(84px, 1fr));
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
  }
}

@media (max-width: 575.98px) {
  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand span {
    font-size: 1.05rem;
  }

  .display-title {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-heading,
  .footer-inner {
    display: block;
  }

  .section-heading .text-link,
  .footer-inner a {
    display: inline-block;
    margin-top: 1rem;
  }

  .stats-row,
  .category-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.4rem;
  }

  .filter-btn {
    flex: 0 0 auto;
  }

  .schedule div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
