:root {
  --bg-accent: #000000;
  --cream: #f6f1e8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.08), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(255, 255, 255, 0.04), transparent 35%),
    var(--bg-accent);
  font-family: "Manrope", sans-serif;
  color: var(--cream);
}

@media (min-width: 901px) {
  html {
    scrollbar-width: none;
  }

  body {
    -ms-overflow-style: none;
  }

  body::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  animation: loaderFadeOut 0.38s ease 1.72s forwards;
}

.loader-panel {
  position: absolute;
  top: 0;
  width: 52%;
  height: 100%;
  background: #ffffff;
  will-change: transform;
}

.loader-panel-left {
  left: 0;
  animation: panelLeftOpen 1.15s cubic-bezier(0.72, 0.01, 0.26, 1) 0.55s forwards;
}

.loader-panel-right {
  right: 0;
  animation: panelRightOpen 1.15s cubic-bezier(0.72, 0.01, 0.26, 1) 0.55s forwards;
}

.loader-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  z-index: 2;
  animation: centerFadeOut 0.42s ease 1.05s forwards;
}

.loader-logo {
  width: min(180px, 45vw);
  max-width: 80%;
  height: auto;
  object-fit: contain;
}

.loader-label {
  margin: 0;
  color: #101010;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  font-weight: 700;
}

.loader-hidden {
  pointer-events: none;
}

@keyframes panelLeftOpen {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-106%);
  }
}

@keyframes panelRightOpen {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(106%);
  }
}

@keyframes centerFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    transform: scale(0.96);
  }
}

@keyframes loaderFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    visibility: hidden;
  }
}

.page-frame {
  width: 100%;
  min-height: 100vh;
  border-radius: 0;
  overflow: visible;
  box-shadow: 0 22px 50px rgba(16, 8, 2, 0.45);
  background: #1c1c1c;
  animation: heroReveal 0.9s ease 0.95s both;
}

@keyframes heroReveal {
  from {
    opacity: 0.2;
    filter: blur(8px);
    transform: scale(1.02);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  padding: 0 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  margin-top: 20px;
  font-family: "Alegreya", serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.12rem;
  color: #f2f2f2;
  line-height: 1;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 18px 0;
  background: transparent;
}

.menu a {
  text-decoration: none;
  color: #f3f3f3;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.menu a.active {
  color: #ffffff;
}

.menu-social {
  display: none;
}

.quick-actions {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 1100;
  width: auto;
}

.quick-actions summary {
  list-style: none;
  cursor: pointer;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(149, 193, 31, 0.68);
  background: rgba(6, 6, 6, 0.92);
  color: rgba(248, 248, 248, 0.95);
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease, color 180ms ease;
  animation: quickFabPulse 2.4s ease-in-out infinite;
  position: relative;
}

.quick-actions summary::-webkit-details-marker {
  display: none;
}

.quick-actions summary svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  opacity: 0.9;
}

.quick-actions summary span {
  display: none;
}

.quick-actions summary::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(149, 193, 31, 0.32);
  animation: quickFabRing 2.4s ease-out infinite;
  pointer-events: none;
}

.quick-actions summary::before {
  content: "Explora servicios";
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  left: auto;
  transform: none;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 8, 8, 0.92);
  color: rgba(245, 245, 245, 0.88);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  backdrop-filter: blur(4px);
  animation: quickHintFloat 2.2s ease-in-out infinite;
  pointer-events: none;
}

.quick-actions[open] summary::before {
  opacity: 0;
  transform: translateY(4px);
}

.quick-actions:hover summary,
.quick-actions[open] summary {
  border-color: rgba(149, 193, 31, 0.86);
  background: rgba(149, 193, 31, 0.12);
  color: #e8f7ba;
  transform: translateY(-1px) scale(1.02);
}

.quick-actions-list {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  margin-top: 0;
  display: grid;
  gap: 6px;
  padding: 8px;
  width: min(230px, calc(100vw - 24px));
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 4, 4, 0.88);
  backdrop-filter: blur(8px);
}

.quick-actions-list a {
  text-decoration: none;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  padding: 10px 10px;
  font-size: 0.74rem;
  line-height: 1.35;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.quick-actions-list a svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  opacity: 0.92;
  flex-shrink: 0;
}

.quick-actions-list a:hover {
  border-color: rgba(149, 193, 31, 0.55);
  color: #ebf8c2;
  background: rgba(149, 193, 31, 0.11);
  transform: translateX(-1px);
}

@keyframes quickFabPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(149, 193, 31, 0.16);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(149, 193, 31, 0.04);
  }
}

@keyframes quickFabRing {
  0% {
    transform: scale(0.92);
    opacity: 0.55;
  }

  70% {
    transform: scale(1.08);
    opacity: 0;
  }

  100% {
    transform: scale(1.08);
    opacity: 0;
  }
}

@keyframes quickHintFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.02);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  margin: 5px 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.topbar.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.topbar.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.topbar.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100vh;
  padding: 120px 50px 44px;
  background: #050505 url("assets/images/h.jpg") center center / cover no-repeat;
}

.hero-home {
  overflow: hidden;
  background: #050505;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-home .hero-overlay {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(5, 5, 5, 0.6) 0%, rgba(5, 5, 5, 0.22) 45%, rgba(5, 5, 5, 0.55) 100%);
}

.hero-overlay {
  display: none;
}

.hero-content-left,
.hero-content-right {
  position: relative;
  z-index: 2;
}

.hero-content-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: min(920px, 88vw);
}

.hero-kicker {
  margin: 0 0 22px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.hero-arqfree {
  font-family: "Alegreya", serif;
  font-size: 1.28em;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: none;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6.4vw, 4.8rem);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h1 span {
  display: block;
  margin-top: 6px;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.95em;
  font-style: italic;
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.btn-outline {
  margin-top: 20px;
  padding: 11px 22px;
  border: 1px solid rgba(248, 248, 248, 0.7);
  color: #f0f0f0;
  font-size: 0.75rem;
  font-weight: 600;
}

.btn-outline:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.15);
}

.btn-solid {
  margin-top: 36px;
  padding: 11px 20px;
  border: 1px solid rgba(248, 248, 248, 0.75);
  background: rgba(10, 10, 10, 0.25);
  color: #f2f2f2;
  font-size: 0.8rem;
  font-weight: 700;
}

.btn-solid:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.15);
}

.projects-section {
  position: relative;
  padding: 80px 0 110px;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.08), transparent 35%),
    radial-gradient(circle at 88% 85%, rgba(149, 193, 31, 0.18), transparent 30%),
    #040404;
}

.projects-head {
  width: min(1220px, 95vw);
  margin: 0 auto 32px;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}

.projects-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.title-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #95c11f;
  box-shadow: 0 0 12px rgba(149, 193, 31, 0.65);
}

.projects-head h2 {
  margin: 0;
  color: #f4f4f4;
  font-size: clamp(1.25rem, 2.4vw, 1.95rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.projects-subtitle {
  margin: -4px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
}

.projects-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 220ms ease, transform 220ms ease;
}

.projects-cta:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.projects-cta-logo {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.projects-grid {
  position: relative;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-areas:
    "p1 p1 p1 p1 p2 p2"
    "p1 p1 p1 p1 p3 p3"
    "p4 p4 p5 p5 p5 p5"
    "p6 p6 p5 p5 p5 p5"
    "p7 p7 p7 p7 p8 p8"
    "p7 p7 p7 p7 p9 p9"
    "p10 p10 p10 p10 p10 p10"
    "p10 p10 p10 p10 p10 p10";
  grid-auto-rows: minmax(320px, 20vw);
  gap: 0;
  grid-auto-flow: dense;
}

.projects-grid::before {
  content: none;
}

.projects-grid::after {
  content: none;
}

.project-card {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  cursor: pointer;
}

.project-card:nth-child(1) {
  grid-area: p1;
}

.project-card:nth-child(2) {
  grid-area: p2;
}

.project-card:nth-child(3) {
  grid-area: p3;
}

.project-card:nth-child(4) {
  grid-area: p4;
}

.project-card:nth-child(5) {
  grid-area: p5;
}

.project-card:nth-child(6) {
  grid-area: p10;
}

.project-card:nth-child(7) {
  grid-area: p7;
}

.project-card:nth-child(8) {
  grid-area: p8;
}

.project-card:nth-child(9) {
  grid-area: p9;
}

.project-card:nth-child(10) {
  grid-area: p6;
}

.project-card:focus-visible {
  outline: 1px solid rgba(149, 193, 31, 0.78);
  outline-offset: 2px;
}

.project-card.in-view {
  animation:
    cardIn 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) var(--delay) forwards,
    cardFloat 6.8s ease-in-out calc(var(--delay) + 0.72s) infinite;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.16) 50%, transparent 80%);
  transform: translateX(-130%);
  opacity: 0;
  pointer-events: none;
}

.project-card.in-view::before {
  opacity: 1;
  animation: fluidSweep 4.8s ease-in-out calc(var(--delay) + 0.9s) infinite;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62) 8%, rgba(0, 0, 0, 0.18) 48%, rgba(0, 0, 0, 0.28) 100%);
  pointer-events: none;
}

.project-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 380ms ease;
}

.project-media {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translateX(0);
  transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.project-media img {
  flex: 0 0 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 380ms ease;
}

.project-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.45rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  opacity: 0.42;
  transition: color 180ms ease, opacity 180ms ease, transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.project-carousel-btn:hover {
  color: rgba(255, 255, 255, 1);
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.62);
  transform: translateY(-50%) scale(1.04);
}

.project-card:hover .project-carousel-btn,
.project-card:focus-within .project-carousel-btn {
  opacity: 1;
  color: rgba(255, 255, 255, 0.95);
}

.project-carousel-btn:focus-visible {
  opacity: 1;
  color: rgba(255, 255, 255, 0.95);
  outline: 1px solid rgba(255, 255, 255, 0.38);
  outline-offset: 2px;
}

.project-carousel-btn.prev {
  left: 10px;
}

.project-carousel-btn.next {
  right: 10px;
}

.project-card h3 {
  position: absolute;
  top: auto;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, 380px);
  margin: 0;
  color: #f1f1f1;
  text-align: center;
  font-size: clamp(0.95rem, 1.7vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-shadow: 0 5px 24px rgba(0, 0, 0, 0.82);
  z-index: 2;
}

.project-card:hover img {
  transform: scale(1.055);
}

.impact-section {
  padding: 40px 0 110px;
  background: #030303;
}

.impact-top {
  width: min(1220px, 95vw);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: 1.45fr 1fr;
}

.impact-left,
.impact-right {
  padding: 44px 24px;
}

.impact-left {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.impact-left h2 {
  margin: 0;
  color: #f6f6f6;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  line-height: 1.05;
  font-weight: 500;
}

.impact-left h2 span {
  display: block;
  margin-top: 8px;
  font-style: italic;
  font-weight: 600;
}

.impact-left h2 i {
  color: #95c11f;
  font-style: normal;
}

.impact-subtitle {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.impact-btn {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: background-color 180ms ease, transform 180ms ease;
}

.impact-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.impact-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 20px;
}

.impact-right p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.6;
}

.impact-metric {
  color: #ffffff;
  font-size: clamp(1.2rem, 2.2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.impact-image-wrap {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}

.impact-image-wrap img {
  width: 100%;
  aspect-ratio: 16 / 5;
  object-fit: cover;
  display: block;
  transform: scale(1.05);
  filter: saturate(1.02) contrast(1.04);
  transition: transform 1.05s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.impact-bars {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3.6%;
  padding: 0 6%;
  pointer-events: none;
}

.impact-bar {
  align-self: start;
  height: 120%;
  background: linear-gradient(180deg, rgba(3, 3, 3, 0.94) 0%, rgba(3, 3, 3, 0.86) 72%, rgba(3, 3, 3, 0) 100%);
  transform: translateY(-132%);
  opacity: 0;
}

.impact-image-wrap.in-view .impact-bar {
  animation: impactBarDrop 1s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.impact-image-wrap.in-view .impact-bar:nth-child(2) {
  animation-delay: 0.08s;
}

.impact-image-wrap.in-view .impact-bar:nth-child(3) {
  animation-delay: 0.16s;
}

.impact-image-wrap.in-view .impact-bar:nth-child(4) {
  animation-delay: 0.24s;
}

.impact-image-wrap.in-view img {
  transform: scale(1);
}

.partners-section {
  padding: 74px 0 82px;
  background:
    radial-gradient(circle at 84% 14%, rgba(149, 193, 31, 0.1), transparent 34%),
    radial-gradient(circle at 12% 88%, rgba(255, 255, 255, 0.04), transparent 26%),
    #030303;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.partners-shell {
  width: min(1220px, 95vw);
  margin: 0 auto;
}

.partners-head {
  margin-bottom: 28px;
}

.partners-kicker {
  margin: 0 0 10px;
  color: rgba(149, 193, 31, 0.9);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.84rem;
  font-weight: 700;
}

.partners-head h2 {
  margin: 0;
  color: #f7f7f7;
  font-size: clamp(1.4rem, 2.7vw, 2.3rem);
  line-height: 1.16;
  max-width: 780px;
}

.partners-carousel {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
}

.partners-carousel::before,
.partners-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  z-index: 2;
  pointer-events: none;
}

.partners-carousel::before {
  left: 0;
  background: linear-gradient(90deg, #030303 0%, rgba(3, 3, 3, 0) 100%);
}

.partners-carousel::after {
  right: 0;
  background: linear-gradient(270deg, #030303 0%, rgba(3, 3, 3, 0) 100%);
}

.partners-track {
  display: flex;
  width: max-content;
  animation: none;
  will-change: transform;
}

.partners-group {
  display: flex;
  gap: 16px;
  flex: 0 0 auto;
}

.partners-carousel:focus-within .partners-track {
  animation: none;
}

.partner-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  padding: 22px 18px 18px;
  display: grid;
  gap: 12px;
  align-items: center;
  justify-items: center;
  flex: 0 0 clamp(176px, 18vw, 220px);
  min-height: 136px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.partner-item::after {
  content: "";
  position: absolute;
  inset: -160% 36% auto auto;
  width: 44%;
  height: 320%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  transform: rotate(26deg) translateX(0);
  opacity: 0;
  transition: transform 0.62s ease, opacity 0.42s ease;
  pointer-events: none;
}

.partner-item:hover {
  transform: translateY(-6px);
  border-color: rgba(149, 193, 31, 0.56);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.38);
  background: linear-gradient(160deg, rgba(149, 193, 31, 0.14), rgba(255, 255, 255, 0.02));
}

.partner-item:hover::after {
  transform: rotate(26deg) translateX(-74px);
  opacity: 0.8;
}

.partner-logo {
  width: 100%;
  max-width: 170px;
  max-height: 64px;
  object-fit: contain;
  display: block;
  filter: saturate(0.9) contrast(1.06);
  transform: translateY(0) scale(1);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.partner-item:hover .partner-logo {
  transform: translateY(-2px) scale(1.03);
  filter: saturate(1.06) contrast(1.09);
}

.partner-item h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-align: center;
}

.testimonials-section {
  padding: 78px 0 110px;
  background:
    radial-gradient(circle at 9% 14%, rgba(255, 255, 255, 0.05), transparent 30%),
    radial-gradient(circle at 90% 84%, rgba(149, 193, 31, 0.14), transparent 32%),
    #050505;
}

.testimonials-shell {
  width: min(1220px, 95vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 28px;
  align-items: stretch;
}

.testimonials-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(2, 2, 2, 0.94);
  padding: 28px;
  overflow: hidden;
}

.testimonials-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #4f6a0f 0%, #95c11f 55%, #1b1b1b 100%);
  opacity: 0.88;
}

.testimonials-kicker {
  margin: 0 0 24px;
  color: #f0f0f0;
  font-size: clamp(1.02rem, 1.8vw, 1.52rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.testimonials-stage {
  display: grid;
  gap: 18px;
}

.testimonial-item {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.008);
  padding: 18px 20px 16px;
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
  object-position: center;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.testimonial-meta h3 {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.testimonial-quote {
  margin: 0;
  color: rgba(255, 255, 255, 0.89);
  line-height: 1.55;
  font-size: clamp(0.94rem, 1.32vw, 1.12rem);
  max-width: 96%;
}

.testimonial-quote-mark {
  position: absolute;
  left: 10px;
  top: 1px;
  color: rgba(255, 255, 255, 0.26);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 3.8vw, 3.6rem);
  line-height: 1;
  pointer-events: none;
}

.reveal-up {
  opacity: 0;
  transform: translateY(24px);
}

.reveal-up.in-view {
  animation: revealUp 0.72s cubic-bezier(0.22, 0.61, 0.36, 1) var(--delay, 0s) forwards;
}

.testimonials-video-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #020202;
  min-height: 100%;
}

.testimonials-video-wrap iframe,
.testimonials-video-wrap video {
  width: 100%;
  height: 100%;
  min-height: 390px;
  border: 0;
  display: block;
  object-fit: cover;
}

.contact-section {
  padding: 88px 0 70px;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.06), transparent 30%),
    linear-gradient(180deg, #020202 0%, #060606 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-shell {
  width: min(1220px, 95vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: start;
}

.contact-hero-copy {
  position: relative;
  padding: 12px 8px 12px;
  min-height: 420px;
}

.contact-rings {
  position: absolute;
  width: min(520px, 82vw);
  aspect-ratio: 1;
  top: -38px;
  left: -90px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.contact-rings::before,
.contact-rings::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-rings::before {
  inset: 16%;
}

.contact-rings::after {
  inset: 32%;
  border-color: rgba(255, 255, 255, 0.1);
}

.contact-kicker {
  position: relative;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 1;
}

.contact-hero-copy h2 {
  position: relative;
  margin: 0;
  color: #f5f5f5;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5.8vw, 4.65rem);
  line-height: 0.9;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  z-index: 1;
}

.contact-hero-copy h2 span {
  display: block;
}

.contact-subtitle {
  position: relative;
  margin: 22px 0 0;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  z-index: 1;
}

.contact-form {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.64);
  padding: 24px;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-field {
  margin-bottom: 14px;
}

.contact-field label,
.project-type-group legend {
  display: block;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.77rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #f4f4f4;
  padding: 10px 2px 11px;
  font-size: 0.94rem;
  font-family: "Manrope", sans-serif;
  transition: border-color 180ms ease;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: 0;
  border-bottom-color: rgba(255, 255, 255, 0.64);
}

.contact-field textarea {
  resize: vertical;
  min-height: 108px;
}

.project-type-group {
  margin: 2px 0 14px;
  padding: 0;
  border: 0;
}

.project-type-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.project-type-group legend {
  grid-column: 1 / -1;
}

.project-type-option {
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.project-type-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.project-type-option .option-title {
  color: #f6f6f6;
  font-size: 0.86rem;
  font-weight: 700;
}

.project-type-option .option-desc {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  line-height: 1.35;
}

.project-type-option:has(input:checked) {
  border-color: rgba(149, 193, 31, 0.9);
  background: rgba(149, 193, 31, 0.14);
}

.contact-actions {
  margin-top: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.contact-submit {
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: transparent;
  color: #ffffff;
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.contact-submit:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.78);
}

.contact-info {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: right;
}

.contact-info li {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  line-height: 1.55;
}

.site-footer {
  background: #030303;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 34px 0 40px;
}

.footer-shell {
  width: min(1220px, 95vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer-brand-block h3 {
  margin: 0;
  color: #f3f3f3;
  letter-spacing: 0.08em;
  font-size: 1.15rem;
}

.footer-brand-block p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
}

.footer-col h4 {
  margin: 0 0 10px;
  color: #f5f5f5;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  font-size: 0.84rem;
  line-height: 1.8;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-col-whatsapp {
  display: grid;
  align-content: start;
}

.footer-wsp-box {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 230px;
  padding: 11px 14px;
  border: 1px solid rgba(149, 193, 31, 0.78);
  background: rgba(149, 193, 31, 0.22);
  color: #f9ffe8;
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease, color 180ms ease;
}

.footer-wsp-text {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #f9ffe8;
}

.footer-wsp-box:hover {
  border-color: rgba(205, 231, 132, 0.95);
  background: rgba(149, 193, 31, 0.34);
  color: #ffffff;
  transform: translateY(-1px);
}

@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes fluidSweep {
  0% {
    transform: translateX(-130%);
  }

  55%,
  100% {
    transform: translateX(130%);
  }
}

@keyframes impactBarDrop {
  0% {
    transform: translateY(-132%);
    opacity: 0.94;
  }

  70% {
    transform: translateY(4%);
    opacity: 0.66;
  }

  100% {
    transform: translateY(128%);
    opacity: 0;
  }
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content-right {
  position: absolute;
  right: 56px;

@keyframes partnersMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
  bottom: 96px;
  text-align: left;
  font-size: 2rem;
  font-weight: 700;
  line-height: 0.9;
  max-width: 250px;
}

.hero-content-right p {
  margin: 0;
}

@media (max-width: 900px) {
  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    padding: 12px 14px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 1200;
    transition: transform 220ms ease, opacity 220ms ease;
  }

  .topbar.is-hidden-mobile {
    transform: translateY(-115%);
    opacity: 0;
    pointer-events: none;
  }

  .topbar.is-visible-mobile,
  .topbar.menu-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .brand {
    margin-top: 0;
    text-align: left;
    position: relative;
    z-index: 1202;
    font-size: 1rem;
  }

  .menu-toggle {
    display: inline-block;
    position: relative;
    z-index: 1202;
  }

  .menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1201;
    width: 100%;
    min-height: 100dvh;
    background: #000000;
    padding: 90px 22px 34px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
  }

  .topbar.menu-open .menu {
    display: flex;
  }

  .quick-actions {
    right: 12px;
    bottom: 14px;
    z-index: 1102;
  }

  .quick-actions summary::before {
    font-size: 0.58rem;
    padding: 5px 8px;
  }

  .topbar.menu-open ~ .quick-actions {
    display: none;
  }

  .menu a {
    width: auto;
    text-align: center;
    font-size: 1.02rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 6px 0;
    border-radius: 0;
    border-bottom: 1px solid transparent;
  }

  .menu a:hover,
  .menu a.active {
    background: transparent;
    border-bottom-color: rgba(149, 193, 31, 0.85);
    color: #e8f7ba;
  }

  .menu-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 18px;
  }

  .menu-social a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
  }

  .menu-social a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }

  .menu-social a:hover {
    color: #d9ef98;
    border-color: rgba(217, 239, 152, 0.88);
    background: rgba(217, 239, 152, 0.08);
  }

  .btn-outline {
    display: none;
  }

  .hero {
    min-height: 72vh;
    height: auto;
    padding: 24px 24px 32px;
    background-position: center top;
    background-size: cover;
  }

  .hero-content-left {
    max-width: 100%;
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .hero-kicker {
    text-align: center;
  }

  .projects-head,
  .impact-left,
  .impact-right,
  .contact-hero-copy,
  .about-purpose-head,
  .about-team-head,
  .about-panel {
    text-align: center;
  }

  .impact-btn {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .projects-section {
    padding: 64px 0 84px;
  }

  .projects-head {
    padding: 0 16px;
  }

  .projects-head,
  .projects-grid,
  .impact-top,
  .partners-shell,
  .testimonials-shell,
  .contact-shell,
  .footer-shell,
  .catalog-stats,
  .catalog-head,
  .catalog-grid,
  .about-shell {
    width: 100%;
    max-width: 100%;
  }

  .projects-section,
  .projects-catalog,
  .partners-section,
  .testimonials-section,
  .contact-section,
  .about-history,
  .about-purpose,
  .about-team {
    padding-left: 16px;
    padding-right: 16px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    grid-auto-rows: minmax(360px, 82vw);
    gap: 20px;
    width: 100%;
  }

  .project-card:nth-child(n) {
    grid-area: auto;
    grid-column: auto;
    grid-row: auto;
  }

  .impact-top {
    grid-template-columns: 1fr;
  }

  .partners-track {
    animation-duration: 24s;
  }

  .partner-item {
    flex-basis: clamp(160px, 56vw, 206px);
    min-height: 124px;
  }

  .partner-item:hover {
    transform: translateY(-4px);
  }

  .testimonials-shell {
    grid-template-columns: 1fr;
  }

  .contact-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-hero-copy {
    min-height: 280px;
  }

  .contact-rings {
    width: min(420px, 90vw);
    top: -34px;
    left: -54px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .project-type-group {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    flex-direction: column;
    align-items: center;
  }

  .contact-info {
    text-align: center;
  }

  .footer-shell {
    grid-template-columns: 1fr 1fr;
    text-align: center;
  }

  .testimonials-video-wrap iframe,
  .testimonials-video-wrap video {
    min-height: 300px;
  }


@media (prefers-reduced-motion: reduce) {
  .partners-track {
    animation: none;
  }
}
  .impact-left,
  .impact-right {
    padding: 28px 16px;
  }

  .impact-left {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .impact-image-wrap img {
    aspect-ratio: 16 / 8;
  }

  .projects-grid::before,
  .projects-grid::after {
    display: none;
  }

  .hero-content-right {
    position: static;
    margin-top: 36px;
    font-size: 1.55rem;
    max-width: 220px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 560px) {
  .menu {
    gap: 12px;
    padding: 88px 20px 28px;
  }

  .menu a {
    font-size: 0.94rem;
  }

  .quick-actions summary {
    width: 48px;
    height: 48px;
  }

  .quick-actions summary svg {
    width: 16px;
    height: 16px;
  }

  .quick-actions-list {
    width: min(210px, calc(100vw - 22px));
  }

  .quick-actions-list a {
    font-size: 0.7rem;
    padding: 9px;
  }

  h1 {
    line-height: 0.95;
  }

  .projects-head {
    align-items: center;
  }

  .testimonials-panel {
    padding: 18px;
  }

  .contact-section {
    padding: 66px 0 54px;
  }

  .contact-form {
    padding: 16px;
  }

  .contact-hero-copy h2 {
    font-size: clamp(2.2rem, 15vw, 3.4rem);
  }

  .footer-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "brand legal"
      "nav more";
    gap: 18px 14px;
    text-align: left;
    align-items: start;
  }

  .footer-shell > :nth-child(1) {
    grid-area: brand;
  }

  .footer-shell > :nth-child(2) {
    grid-area: legal;
  }

  .footer-shell > :nth-child(3) {
    grid-area: nav;
  }

  .footer-shell > :nth-child(4) {
    grid-area: more;
  }

  .footer-col a {
    font-size: 0.8rem;
    line-height: 1.65;
  }

  .testimonials-stage {
    gap: 12px;
  }

  .testimonial-item {
    padding: 14px;
  }

  .testimonials-video-wrap iframe,
  .testimonials-video-wrap video {
    min-height: 230px;
  }

  .project-carousel-btn {
    opacity: 1;
    color: rgba(255, 255, 255, 0.52);
  }

}

.page-frame-projects {
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.04), transparent 34%),
    radial-gradient(circle at 92% 84%, rgba(149, 193, 31, 0.12), transparent 32%),
    #0a0a0a;
}

.brand-link {
  text-decoration: none;
  color: #f2f2f2;
}

.hero-projects {
  align-items: flex-end;
  min-height: 82vh;
  height: auto;
  padding: 120px 50px 78px;
  background: #050505 url("assets/images/proyectoss.png") center center / cover no-repeat;
}

.hero-projects .hero-overlay {
  display: block;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(5, 5, 5, 0.75) 0%, rgba(5, 5, 5, 0.2) 45%, rgba(5, 5, 5, 0.55) 100%),
    radial-gradient(circle at 10% 85%, rgba(149, 193, 31, 0.22), transparent 35%);
}

.projects-section-intro {
  padding-bottom: 56px;
}

.projects-view-switch {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.view-filter {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.84);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.view-filter:hover,
.view-filter.is-active {
  border-color: rgba(149, 193, 31, 0.92);
  background: rgba(149, 193, 31, 0.2);
  color: #ffffff;
}

.is-hidden-view {
  display: none !important;
}

.projects-section-reality {
  width: min(1220px, 95vw);
  margin: 0 auto 64px;
  padding: 34px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(155deg, rgba(149, 193, 31, 0.1) 0%, rgba(149, 193, 31, 0.02) 30%, rgba(255, 255, 255, 0.02) 100%),
    rgba(4, 4, 4, 0.82);
}

.reality-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.reality-card {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(6, 6, 6, 0.86);
  padding: 18px 16px;
  display: grid;
  align-content: end;
  gap: 12px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.reality-card > * {
  position: relative;
  z-index: 2;
}

.reality-card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
  transition: transform 260ms ease;
}

.reality-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.26) 0%, rgba(0, 0, 0, 0.62) 52%, rgba(0, 0, 0, 0.88) 100%),
    radial-gradient(circle at 90% 10%, rgba(149, 193, 31, 0.22), transparent 34%);
}

.reality-card:hover {
  transform: translateY(-2px);
  border-color: rgba(149, 193, 31, 0.52);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.reality-card:hover .reality-card-media {
  transform: scale(1.08);
}

.reality-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.reality-tag {
  border-radius: 999px;
  border: 1px solid rgba(149, 193, 31, 0.48);
  background: rgba(149, 193, 31, 0.14);
  color: #ebf8c2;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
}

.reality-dim {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
}

.reality-card h3 {
  margin: 0;
  color: #f7f7f7;
  font-size: 1.18rem;
  line-height: 1.2;
}

.reality-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  line-height: 1.5;
}

.reality-card a {
  width: fit-content;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding-bottom: 2px;
  transition: border-color 180ms ease, color 180ms ease;
}

.reality-card a:hover {
  color: #cde784;
  border-color: rgba(205, 231, 132, 0.92);
}

.catalog-stats {
  width: min(1220px, 95vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.catalog-stat-item {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.55);
  padding: 18px 16px;
  display: grid;
  gap: 4px;
}

.catalog-stat-item strong {
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  line-height: 1;
  color: #f7f7f7;
  letter-spacing: 0.01em;
}

.catalog-stat-item span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.projects-catalog {
  padding: 0 28px 110px;
  background:
    radial-gradient(circle at 94% 12%, rgba(255, 255, 255, 0.04), transparent 26%),
    #040404;
}

.catalog-head {
  width: min(1220px, 95vw);
  margin: 0 auto 26px;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-filter {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.84);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.catalog-filter:hover,
.catalog-filter.is-active {
  border-color: rgba(149, 193, 31, 0.92);
  background: rgba(149, 193, 31, 0.18);
  color: #ffffff;
}

.catalog-grid {
  width: min(1220px, 95vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.catalog-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.008) 100%),
    rgba(2, 2, 2, 0.9);
  padding: 18px 16px;
  display: grid;
  gap: 14px;
  min-height: 0;
  align-content: end;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.catalog-card > * {
  position: relative;
  z-index: 2;
}

.catalog-card > .catalog-card-media-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}

.catalog-card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  transition: transform 260ms ease;
}

.catalog-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.62) 48%, rgba(0, 0, 0, 0.84) 100%),
    radial-gradient(circle at 92% 8%, rgba(149, 193, 31, 0.2), transparent 33%);
}

.catalog-card:hover {
  transform: translateY(-2px);
  border-color: rgba(149, 193, 31, 0.48);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.catalog-card:hover .catalog-card-media {
  transform: scale(1.08);
}

.catalog-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.catalog-tag {
  border-radius: 999px;
  border: 1px solid rgba(149, 193, 31, 0.42);
  background: rgba(149, 193, 31, 0.12);
  color: #ebf8c2;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
}

.catalog-dim {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.catalog-card h3 {
  margin: 0;
  color: #f6f6f6;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.2;
}

.catalog-card-cta {
  align-self: end;
  width: fit-content;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding-bottom: 2px;
  transition: border-color 180ms ease, color 180ms ease;
}

.catalog-card-cta:hover {
  color: #cde784;
  border-color: rgba(205, 231, 132, 0.9);
}

@media (max-width: 1040px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-projects {
    min-height: 72vh;
    padding: 68px 24px 42px;
  }

  .page-frame-projects .hero-content-left,
  .page-frame-projects .projects-head,
  .page-frame-projects .catalog-head,
  .page-frame-projects .catalog-stat-item,
  .page-frame-projects .reality-card,
  .page-frame-projects .catalog-card,
  .page-frame-projects .footer-shell,
  .page-frame-projects .footer-col,
  .page-frame-projects .footer-brand-block {
    text-align: center;
  }

  .page-frame-projects .catalog-filters {
    justify-content: center;
  }

  .page-frame-projects .projects-view-switch {
    justify-content: center;
  }

  .page-frame-projects .catalog-card-head {
    justify-content: center;
    flex-wrap: wrap;
  }

  .page-frame-projects .catalog-card-cta {
    margin-left: auto;
    margin-right: auto;
  }

  .projects-catalog {
    padding: 0 16px 86px;
  }

  .projects-section-reality {
    padding: 24px 16px;
    margin-bottom: 52px;
  }

  .page-frame-projects .reality-card-head {
    justify-content: center;
    flex-wrap: wrap;
  }

  .page-frame-projects .reality-card a {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 620px) {
  .catalog-grid,
  .catalog-stats,
  .reality-grid {
    grid-template-columns: 1fr;
  }

  .catalog-filter {
    width: 100%;
    text-align: center;
  }

  .view-filter {
    width: 100%;
    text-align: center;
  }

  .page-frame-projects .catalog-card {
    justify-items: center;
  }

  .page-frame-projects .catalog-card h3 {
    text-align: center;
  }

  .page-frame-projects .reality-card {
    justify-items: center;
    min-height: 360px;
  }

  .page-frame-projects .reality-card h3,
  .page-frame-projects .reality-card p {
    text-align: center;
  }
}

.page-frame-about {
  background:
    radial-gradient(circle at 10% 8%, rgba(149, 193, 31, 0.1), transparent 35%),
    radial-gradient(circle at 85% 88%, rgba(255, 255, 255, 0.04), transparent 35%),
    #060606;
}

.hero-project-detail {
  align-items: flex-end;
  min-height: 72vh;
  height: auto;
  padding: 120px 50px 72px;
  background-color: #050505;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-project-detail .hero-overlay {
  display: block;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.48) 0%, rgba(5, 5, 5, 0.68) 100%),
    radial-gradient(circle at 12% 90%, rgba(149, 193, 31, 0.2), transparent 34%);
}

.legal-hero {
  align-items: flex-end;
  min-height: 56vh;
  height: auto;
  padding: 118px 50px 56px;
  background:
    radial-gradient(circle at 20% 20%, rgba(149, 193, 31, 0.18), transparent 34%),
    #050505;
}

.legal-hero .hero-overlay {
  display: block;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.58) 100%),
    radial-gradient(circle at 88% 16%, rgba(149, 193, 31, 0.16), transparent 32%);
}

.legal-section {
  padding: 26px 18px 86px;
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 255, 255, 0.04), transparent 30%),
    #040404;
}

.legal-shell {
  width: min(1160px, 96vw);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.legal-block {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 7, 7, 0.84);
  padding: 18px 16px;
  display: grid;
  gap: 8px;
}

.legal-block h2 {
  margin: 0;
  color: #f6f6f6;
  font-size: clamp(1rem, 1.55vw, 1.26rem);
}

.legal-block p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.6;
}

.project-detail-section {
  padding: 30px 18px 88px;
  background:
    radial-gradient(circle at 90% 6%, rgba(255, 255, 255, 0.04), transparent 28%),
    #040404;
}

.project-content-layout {
  width: min(1320px, 97vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 22px;
  align-items: start;
}

.project-plain-wrap {
  width: 100%;
  margin: 0;
  display: grid;
  gap: 14px;
  align-content: center;
  min-height: clamp(420px, 40vw, 560px);
  padding-right: 8px;
}

.project-plain-title {
  margin: 0;
  color: #f7f7f7;
  font-size: clamp(2rem, 3.1vw, 3rem);
  line-height: 1.08;
}

.project-plain-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.02rem;
  line-height: 1.74;
  max-width: 70ch;
}

.project-plain-list {
  margin: 2px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.project-plain-list li::marker {
  color: rgba(149, 193, 31, 0.92);
}

.project-gallery-mosaic {
  width: min(1280px, 96vw);
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, 176px);
  gap: 12px;
}

.project-mosaic-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: rgba(9, 9, 9, 0.9);
  background-position: center;
  background-size: cover;
  transition: transform 220ms ease, border-color 220ms ease;
}

.project-mosaic-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.54) 100%);
}

.project-mosaic-item:hover {
  transform: translateY(-2px);
  border-color: rgba(149, 193, 31, 0.48);
}

.project-mosaic-main {
  grid-column: span 7;
  grid-row: span 2;
  min-height: 364px;
}

.project-mosaic-wide {
  grid-column: span 5;
}

.zhara-carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  aspect-ratio: 1 / 1;
  min-height: 0;
  width: min(100%, 560px);
  justify-self: end;
  background: transparent;
}

.zhara-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.zhara-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background-position: center;
  background-size: cover;
  transition: opacity 260ms ease;
}

.zhara-carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
}

.zhara-carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.zhara-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(3, 3, 3, 0.62);
  color: #f8f8f8;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.zhara-carousel-btn:hover {
  border-color: rgba(149, 193, 31, 0.92);
  background: rgba(149, 193, 31, 0.16);
  color: #ffffff;
}

.zhara-carousel-btn-prev {
  left: 10px;
}

.zhara-carousel-btn-next {
  right: 10px;
}

.project-gallery-strip-row {
  width: min(1320px, 97vw);
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.project-gallery-strip-main {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.project-gallery-main-item {
  margin: 0;
  aspect-ratio: 4 / 3;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 220ms ease, border-color 220ms ease;
}

.project-gallery-main-item:hover {
  transform: translateY(-2px);
  border-color: rgba(149, 193, 31, 0.52);
}

.project-gallery-count {
  min-width: 138px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    radial-gradient(circle at 18% 22%, rgba(149, 193, 31, 0.2), transparent 58%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  display: grid;
  gap: 8px;
  align-content: center;
  justify-items: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

.project-gallery-count-label {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.project-gallery-count-value {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  min-height: 64px;
  padding: 8px 14px;
  border: 1px solid rgba(149, 193, 31, 0.4);
  background: rgba(149, 193, 31, 0.1);
  color: #effacb;
  font-family: "Alegreya", "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  font-weight: 700;
  line-height: 1;
}

.project-gallery-count-value::before {
  content: "+";
  color: #ffffff;
  margin-right: 4px;
}

.project-gallery-trigger,
.project-gallery-count {
  cursor: pointer;
}

body.project-lightbox-open {
  overflow: hidden;
}

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(2px);
}

.project-lightbox.is-open {
  display: flex;
}

.project-lightbox-dialog {
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  border: 0;
  background: rgba(2, 2, 2, 0.96);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  padding: 16px 20px 14px;
}

.project-lightbox-top {
  display: flex;
  justify-content: flex-end;
}

.project-lightbox-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.project-lightbox-close:hover {
  background: rgba(149, 193, 31, 0.3);
  transform: scale(1.04);
}

.project-lightbox-stage {
  width: 100%;
  min-height: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-lightbox-stage-media {
  position: relative;
  width: fit-content;
  max-width: min(96vw, 1320px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-lightbox-main {
  width: auto;
  max-width: min(96vw, 1320px);
  height: auto;
  max-height: calc(100vh - 196px);
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.55));
}

.project-lightbox-stage-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.project-lightbox-stage-nav:hover {
  background: rgba(149, 193, 31, 0.3);
  transform: translateY(-50%) scale(1.04);
}

.project-lightbox-stage-nav:focus-visible {
  outline: 2px solid rgba(149, 193, 31, 0.9);
  outline-offset: 3px;
}

.project-lightbox-stage-nav-prev {
  left: -12px;
}

.project-lightbox-stage-nav-next {
  right: -12px;
}

.project-lightbox-bottom {
  width: min(1320px, 96vw);
  justify-self: center;
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.project-lightbox-nav {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.project-lightbox-nav:hover {
  background: rgba(149, 193, 31, 0.3);
  transform: scale(1.04);
}

.project-lightbox-thumb-track {
  max-width: min(860px, 78vw);
  overflow-x: auto;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}

.project-lightbox-thumb-track::-webkit-scrollbar {
  height: 8px;
}

.project-lightbox-thumb-track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.24);
}

.project-lightbox-thumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 3px 2px;
}

.project-lightbox-thumb {
  width: 86px;
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: 3px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
  flex: 0 0 auto;
  opacity: 0.76;
  transition: opacity 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.project-lightbox-thumb.is-active {
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(149, 193, 31, 0.94);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .project-lightbox-dialog {
    width: 100vw;
    height: 100vh;
    gap: 10px;
    padding: 12px 10px 10px;
  }

  .project-lightbox-main {
    max-height: calc(100vh - 186px);
  }

  .project-lightbox-stage-media {
    max-width: min(92vw, 1320px);
  }

  .project-lightbox-stage-nav {
    width: 40px;
    height: 40px;
  }

  .project-lightbox-stage-nav-prev {
    left: -8px;
  }

  .project-lightbox-stage-nav-next {
    right: -8px;
  }

  .project-lightbox-thumb-track {
    max-width: min(84vw, 620px);
  }

  .project-lightbox-thumb {
    width: 64px;
  }
}

.project-contact-cta {
  width: min(1320px, 97vw);
  margin: 28px auto 0;
  padding: 26px 0 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

.project-contact-kicker {
  margin: 0;
  color: rgba(205, 231, 132, 0.88);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.project-contact-cta h3 {
  margin: 0;
  color: #f7f7f7;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.05;
  max-width: 22ch;
}

.project-contact-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.62;
  max-width: 62ch;
}

.project-contact-cta a {
  margin-top: 4px;
  text-decoration: none;
  color: #ffffff;
  border: 1px solid rgba(149, 193, 31, 0.88);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 18px;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.project-contact-cta a:hover {
  border-color: rgba(205, 231, 132, 0.95);
  background: rgba(149, 193, 31, 0.26);
  transform: translateY(-1px);
}

.project-contact-compact {
  width: 100%;
  margin: 0;
  padding: 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(150deg, rgba(149, 193, 31, 0.09) 0%, rgba(149, 193, 31, 0.02) 36%, rgba(255, 255, 255, 0.01) 100%),
    rgba(5, 5, 5, 0.86);
  display: grid;
  gap: 10px;
}

.project-contact-compact h3 {
  margin: 0;
  color: #f4f4f4;
  font-size: 1.04rem;
  letter-spacing: 0.02em;
}

.project-contact-compact p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: none;
}

.project-contact-compact a {
  width: fit-content;
  text-decoration: none;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding-bottom: 2px;
  transition: color 180ms ease, border-color 180ms ease;
}

.project-contact-compact a:hover {
  color: #cde784;
  border-color: rgba(205, 231, 132, 0.92);
}

.project-story-grid {
  width: min(980px, 95vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.project-detail-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(150deg, rgba(149, 193, 31, 0.1) 0%, rgba(149, 193, 31, 0.02) 34%, rgba(255, 255, 255, 0.01) 100%),
    rgba(5, 5, 5, 0.88);
  padding: 28px 24px;
  display: grid;
  gap: 14px;
}

.project-detail-tag {
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(149, 193, 31, 0.5);
  background: rgba(149, 193, 31, 0.14);
  color: #ebf8c2;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 11px;
}

.project-detail-card h2 {
  margin: 0;
  color: #f7f7f7;
  font-size: clamp(1.36rem, 2.2vw, 2rem);
  line-height: 1.16;
}

.project-detail-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.62;
}

.project-detail-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  line-height: 1.5;
}

.project-detail-list li::marker {
  color: rgba(149, 193, 31, 0.92);
}

.project-detail-card a {
  width: fit-content;
  margin-top: 4px;
  text-decoration: none;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding-bottom: 2px;
  transition: color 180ms ease, border-color 180ms ease;
}

.project-detail-card a:hover {
  color: #cde784;
  border-color: rgba(205, 231, 132, 0.92);
}

.project-gallery-strip {
  width: min(980px, 95vw);
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.project-gallery-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(7, 7, 7, 0.9);
}

.project-gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
  transition: transform 220ms ease;
}

.project-gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.62) 100%);
}

.project-gallery-card:hover::before {
  transform: scale(1.08);
}

.project-gallery-card-one::before {
  background-image: var(--gallery-image-one);
}

.project-gallery-card-two::before {
  background-image: var(--gallery-image-two);
}

.project-gallery-card-three::before {
  background-image: var(--gallery-image-three);
}

@media (max-width: 900px) {
  .legal-hero {
    min-height: 46vh;
    padding: 68px 24px 34px;
  }

  .legal-section {
    padding: 22px 14px 70px;
  }

  .legal-block {
    padding: 16px 14px;
  }

  .hero-project-detail {
    min-height: 62vh;
    padding: 68px 24px 40px;
  }

  .project-detail-section {
    padding: 26px 16px 78px;
  }

  .project-content-layout {
    grid-template-columns: 1fr;
    width: min(980px, 95vw);
    gap: 16px;
  }

  .project-plain-wrap,
  .project-contact-compact {
    text-align: center;
    justify-items: center;
    min-height: auto;
    padding-right: 0;
  }

  .project-plain-list {
    text-align: left;
  }

  .project-gallery-mosaic {
    width: min(980px, 95vw);
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .zhara-carousel,
  .zhara-carousel-track {
    aspect-ratio: 1 / 1;
    min-height: 0;
  }

  .project-gallery-strip-row {
    width: min(980px, 95vw);
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .project-gallery-strip-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-gallery-count {
    justify-self: end;
  }

  .project-gallery-main-item {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .project-contact-cta {
    width: min(980px, 95vw);
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .project-contact-cta h3 {
    max-width: 22ch;
  }

  .project-contact-kicker,
  .project-contact-cta h3,
  .project-contact-note,
  .project-contact-cta a {
    grid-column: auto;
  }

  .project-contact-cta h3 {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
  }

  .project-contact-note {
    font-size: 0.9rem;
  }

  .project-contact-cta a {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .project-mosaic-main {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
  }

  .project-mosaic-wide {
    grid-column: auto;
  }

  .project-mosaic-item {
    min-height: 180px;
  }

  .project-story-grid {
    grid-template-columns: 1fr;
  }

  .project-detail-card {
    text-align: center;
    justify-items: center;
    padding: 22px 16px;
  }

  .project-detail-list {
    text-align: left;
  }

  .project-gallery-strip {
    grid-template-columns: 1fr;
  }
}

.hero-about {
  min-height: 88vh;
  height: auto;
  padding: 130px 50px 86px;
  align-items: flex-end;
  background: #050505 url("assets/images/portadac.png") center center / cover no-repeat;
  overflow: hidden;
}

.hero-about .hero-overlay {
  display: block;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.62) 100%),
    radial-gradient(circle at 14% 92%, rgba(149, 193, 31, 0.26), transparent 38%);
}

.about-hero-orbit {
  position: absolute;
  right: -90px;
  top: 16%;
  width: min(460px, 44vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
  animation: aboutSpin 18s linear infinite;
}

.about-hero-orbit span {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.about-hero-orbit span:nth-child(1) {
  inset: 14%;
}

.about-hero-orbit span:nth-child(2) {
  inset: 29%;
}

.about-hero-orbit span:nth-child(3) {
  inset: 43%;
}

.about-shell {
  width: min(1220px, 95vw);
  margin: 0 auto;
}

.about-history {
  padding: 88px 0 58px;
}

.about-history .about-shell {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 18px;
}

.about-panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.55);
  padding: 28px;
}

.about-kicker {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.64);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.about-panel h2,
.about-purpose-head h2,
.about-team-head h2 {
  margin: 0;
  color: #f7f7f7;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.about-panel p,
.about-purpose-head p,
.about-value-card p,
.about-team-head p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  font-size: 0.95rem;
}

.about-milestone {
  position: relative;
  overflow: hidden;
}

.about-milestone::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(150deg, rgba(149, 193, 31, 0.18), transparent 42%),
    radial-gradient(circle at 90% 88%, rgba(255, 255, 255, 0.15), transparent 44%);
  pointer-events: none;
}

.about-year {
  margin: 0;
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #d9ef98;
  line-height: 0.9;
}

.about-milestone h3 {
  margin: 10px 0 0;
  color: #f2f2f2;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
}

.about-purpose {
  padding: 32px 0 50px;
}

.about-purpose-head {
  margin-bottom: 24px;
}

.about-purpose-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-value-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(5, 5, 5, 0.72);
  padding: 22px;
  min-height: 220px;
  overflow: hidden;
}

.about-value-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(149, 193, 31, 0.2) 0%, rgba(149, 193, 31, 0.9) 40%, rgba(149, 193, 31, 0.2) 100%);
  opacity: 0.9;
}

.about-value-title {
  margin: 0;
  color: #f7f7f7;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.about-team {
  padding: 26px 0 96px;
}

.about-team-head {
  margin-bottom: 24px;
}

.about-team-photo {
  margin: 0 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.75);
  overflow: hidden;
}

.about-team-photo img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  display: block;
  filter: contrast(1.03) saturate(1.05);
}

.about-team-photo figcaption {
  margin: 0;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.02);
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.about-member {
  opacity: 0;
  transform: translateY(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(3, 3, 3, 0.78);
  padding: 18px;
  transition: border-color 220ms ease, transform 220ms ease;
}

.about-member.in-view {
  animation: revealUp 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) var(--delay, 0s) forwards;
}

.about-member:hover {
  transform: translateY(-3px);
  border-color: rgba(149, 193, 31, 0.56);
}

.about-member-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(160deg, rgba(149, 193, 31, 0.24) 0%, rgba(149, 193, 31, 0.08) 36%, rgba(255, 255, 255, 0.05) 100%),
    #0d0d0d;
  overflow: hidden;
}

.about-member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-member-name {
  margin: 14px 0 4px;
  font-weight: 700;
  color: #f7f7f7;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.about-member-role {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.about-reveal {
  opacity: 0;
  transform: translateY(24px);
}

.about-reveal.in-view {
  animation: revealUp 0.72s cubic-bezier(0.22, 0.61, 0.36, 1) var(--delay, 0s) forwards;
}

@keyframes aboutSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1024px) {
  .about-history .about-shell {
    grid-template-columns: 1fr;
  }

  .about-purpose-grid {
    grid-template-columns: 1fr;
  }

  .about-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-about {
    min-height: 76vh;
    padding: 78px 24px 46px;
  }

  .about-hero-orbit {
    width: min(320px, 62vw);
    right: -80px;
    top: 22%;
  }

  .about-history {
    padding: 62px 0 48px;
  }
}

@media (max-width: 560px) {
  .about-panel,
  .about-value-card,
  .about-member {
    padding: 16px;
  }

  .about-team-photo img {
    aspect-ratio: 16 / 9;
  }

  .about-team-grid {
    grid-template-columns: 1fr;
  }
}
