
@import "tailwindcss";
:root {
  --ink: #071f25;
  --ink2: #0b3037;
  --lime: #a7d800;
  --cyan: #00a8d2;
  --paper: #f4f2eb;
  --white: #fff;
  --line: #cbd3ce;
  --progress: 0%;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial,Helvetica,sans-serif;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
.progress {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--progress);
  height: 3px;
  background: linear-gradient(90deg,var(--cyan),var(--lime));
  z-index: 100;
}
.nav-shell {
  height: 86px;
  display: flex;
  align-items: center;
  gap: 38px;
  padding: 0 5vw;
  background: #ffffffed;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #d9dfda;
  position: sticky;
  top: 0;
  z-index: 60;
}
.brand img {
  width: 112px;
  height: 64px;
  object-fit: contain;
}
.nav-shell nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}
.nav-shell nav a {
  font-size: 12px;
  font-weight: 800;
  position: relative;
  padding: 12px 0;
}
.nav-shell nav a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--lime);
  transition: .3s;
}
.nav-shell nav a:hover:after {
  width: 100%;
}
.nav-cta {
  display: flex;
  gap: 28px;
  align-items: center;
  background: var(--ink);
  color: #fff;
  padding: 14px 18px 14px 22px;
  font-size: 12px;
  font-weight: 900;
  transition: .25s;
}
.nav-cta span {
  color: var(--lime);
  font-size: 18px;
}
.nav-cta:hover {
  background: var(--cyan);
  transform: translateY(-2px);
}
.hero {
  min-height: calc(100svh - 86px);
  background: radial-gradient(circle at 77% 43%,#0f4650 0,#092c33 25%,var(--ink) 63%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: clamp(75px,10vw,135px) 6vw 38px;
  display: grid;
  grid-template-columns: minmax(0,1.5fr) minmax(280px,.55fr);
  align-items: center;
  gap: 7vw;
}
.grid-lines {
  position: absolute;
  inset: 0;
  opacity: .055;
  background-image: linear-gradient(#fff 1px,transparent 1px),linear-gradient(90deg,#fff 1px,transparent 1px);
  background-size: 72px 72px;
  animation: gridmove 18s linear infinite;
}
.orbit {
  position: absolute;
  border: 1px solid #ffffff18;
  border-radius: 50%;
}
.orbit:after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 30px var(--lime);
}
.orbit-a {
  width: 650px;
  height: 650px;
  right: -170px;
  top: -210px;
  animation: spin 24s linear infinite;
}
.orbit-a:after {
  left: 80px;
  top: 70px;
}
.orbit-b {
  width: 360px;
  height: 360px;
  right: 12vw;
  bottom: -240px;
  animation: spin 16s linear infinite reverse;
}
.orbit-b:after {
  right: 5px;
  top: 145px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes gridmove {
  to {
    background-position: 72px 72px;
  }
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.eyebrow,.section-label {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 10px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow i {
  width: 34px;
  height: 2px;
  background: var(--lime);
}
.hero h1 {
  font-size: clamp(58px,7vw,108px);
  line-height: .9;
  letter-spacing: -.068em;
  margin: 30px 0 34px;
  max-width: 1010px;
}
.hero h1 em,.intro h2 em,.section-head h2 em,.project-heading h2 em,.method h2 em,.contact h2 em {
  color: var(--lime);
  font-style: normal;
}
.lead {
  max-width: 720px;
  font-size: 19px;
  line-height: 1.65;
  color: #c1d0d2;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: 44px;
}
.button {
  min-height: 60px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 55px;
  font-size: 12px;
  font-weight: 900;
  transition: .3s;
}
.button.primary {
  background: var(--lime);
  color: var(--ink);
}
.button:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 38px #0003;
}
.button span {
  font-size: 20px;
}
.ghost-link {
  font-size: 12px;
  font-weight: 800;
  border-bottom: 1px solid #688086;
  padding: 18px 0;
  display: flex;
  gap: 20px;
}
.ghost-link span {
  color: var(--lime);
}
.hero-panel {
  position: relative;
  z-index: 3;
  border: 1px solid #ffffff21;
  background: #ffffff08;
  backdrop-filter: blur(12px);
  padding: 32px;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 35px 80px #0004;
}
.panel-logo {
  height: 140px;
  position: absolute;
  top: 30px;
  left: 30px;
}
.panel-logo span,.panel-logo b {
  position: absolute;
  font-size: 150px;
  line-height: .7;
  font-weight: 900;
  letter-spacing: -.18em;
}
.panel-logo span {
  color: var(--cyan);
  left: 0;
}
.panel-logo b {
  color: var(--lime);
  left: 62px;
  top: 56px;
}
.hero-panel>p {
  font-size: 9px;
  letter-spacing: .23em;
  color: #9bb0b3;
}
.hero-panel>strong {
  font-size: 36px;
  letter-spacing: -.04em;
  margin: 8px 0;
}
.hero-panel>small {
  line-height: 1.5;
  color: #9bb0b3;
}
.signal {
  border-top: 1px solid #ffffff21;
  margin-top: 22px;
  padding-top: 17px;
  font-size: 8px;
  letter-spacing: .15em;
  display: flex;
  align-items: center;
  gap: 9px;
}
.signal i {
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--lime);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  50% {
    opacity: .35;
    transform: scale(.7);
  }
}
.hero-foot {
  position: absolute;
  z-index: 4;
  left: 6vw;
  right: 6vw;
  bottom: 28px;
  border-top: 1px solid #ffffff20;
  padding-top: 18px;
  display: flex;
  gap: 32px;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #91a6a8;
}
.hero-foot>span {
  margin-right: auto;
}
.hero-foot div {
  display: flex;
  gap: 8px;
  align-items: center;
}
.hero-foot i {
  width: 5px;
  height: 5px;
  background: var(--lime);
  border-radius: 50%;
}
.ticker {
  background: var(--lime);
  height: 46px;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
}
.ticker div {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  animation: ticker 25s linear infinite;
}
.ticker i {
  font-style: normal;
  margin: 0 25px;
}
@keyframes ticker {
  to {
    transform: translateX(-45%);
  }
}
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s cubic-bezier(.2,.65,.25,1),transform .8s cubic-bezier(.2,.65,.25,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.intro {
  padding: 130px 7vw;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 70px;
}
.section-label {
  color: #6a7978;
  align-self: start;
}
.section-label.light {
  color: #97aaac;
}
.intro h2,.section-head h2,.project-heading h2,.method h2,.contact h2 {
  font-size: clamp(48px,5.7vw,86px);
  line-height: .94;
  letter-spacing: -.06em;
  margin: 0 0 36px;
}
.intro>div>p {
  font-size: 22px;
  line-height: 1.55;
  color: #526364;
  max-width: 820px;
}
.intro a {
  margin-top: 30px;
  display: inline-flex;
  gap: 70px;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  font-size: 12px;
  font-weight: 900;
}
.intro a span {
  color: #749800;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  padding: 0 6vw 110px;
}
.stat {
  border-left: 1px solid var(--line);
  padding: 26px 3vw;
}
.stat:last-child {
  border-right: 1px solid var(--line);
}
.stat small,.stat span {
  display: block;
  color: #687878;
}
.stat small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .13em;
  min-height: 28px;
}
.stat strong {
  display: block;
  font-size: clamp(50px,7vw,98px);
  letter-spacing: -.07em;
  margin: 15px 0;
  color: var(--ink);
}
.stat span {
  font-size: 12px;
}
.services {
  background: var(--ink);
  color: #fff;
  padding: 120px 6vw;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 65px;
  margin-bottom: 70px;
}
.section-head>div {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: end;
}
.section-head h2 {
  margin: 0;
}
.section-head>div>p {
  color: #aababc;
  line-height: 1.6;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid #345158;
  border-left: 1px solid #345158;
}
.service-card {
  min-height: 480px;
  border-right: 1px solid #345158;
  border-bottom: 1px solid #345158;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition-property: opacity,transform,background;
}
.service-card:hover {
  background: #0e353c;
  transform: translateY(-8px);
}
.card-top {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #7e9699;
  letter-spacing: .13em;
}
.card-top b {
  color: var(--lime);
  font-size: 8px;
  border: 1px solid #486269;
  border-radius: 30px;
  padding: 6px 9px;
}
.service-icon {
  height: 105px;
  margin: 55px 0 32px;
  display: flex;
  align-items: flex-end;
  gap: 7px;
}
.service-icon i {
  display: block;
  width: 23px;
  background: linear-gradient(var(--cyan),var(--lime));
  transition: .4s;
}
.service-icon i:nth-child(1) {
  height: 44px;
}
.service-icon i:nth-child(2) {
  height: 73px;
}
.service-icon i:nth-child(3) {
  height: 97px;
}
.service-card:hover .service-icon i:nth-child(1) {
  height: 88px;
}
.service-card:hover .service-icon i:nth-child(3) {
  height: 52px;
}
.service-card h3 {
  font-size: 24px;
  line-height: 1.05;
  margin: 0 0 16px;
}
.service-card>p {
  color: #a8b8ba;
  font-size: 14px;
  line-height: 1.65;
}
.service-card>a {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #345158;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  justify-content: space-between;
}
.service-card>a span {
  color: var(--lime);
}
.projects {
  padding: 125px 6vw;
}
.project-heading {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 45px;
  align-items: end;
  margin-bottom: 70px;
}
.project-heading h2 {
  margin: 0;
}
.project-heading>p:last-child {
  line-height: 1.65;
  color: #5c6c6d;
}
.project-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.project-card {
  background: #fff;
  border: 1px solid #d7ddd8;
  transition-property: opacity,transform,box-shadow;
}
.project-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 25px 60px #17323820;
}
.project-visual {
  height: 270px;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.project-visual:after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 65px solid var(--accent);
  border-radius: 50%;
  right: -55px;
  bottom: -90px;
  opacity: .88;
  transition: .6s;
}
.project-card:hover .project-visual:after {
  transform: scale(1.2) rotate(35deg);
}
.project-card.lime {
  --accent: var(--lime);
}
.project-card.cyan {
  --accent: var(--cyan);
}
.project-card.blue {
  --accent: #2588d8;
}
.project-card.green {
  --accent: #5ebd3e;
}
.project-visual>span {
  position: absolute;
  z-index: 2;
  top: 25px;
  left: 25px;
  font-size: 8px;
  letter-spacing: .18em;
}
.project-visual>b {
  position: absolute;
  z-index: 2;
  left: 25px;
  bottom: 20px;
  font-size: 90px;
  line-height: .8;
  color: #ffffff18;
  letter-spacing: -.08em;
}
.topography {
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: repeating-radial-gradient(ellipse at 20% 130%,transparent 0 18px,#fff 19px 20px);
}
.project-meta {
  padding: 27px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 25px;
}
.project-meta small {
  font-size: 9px;
  letter-spacing: .08em;
  color: #6d7d7c;
}
.project-meta h3 {
  font-size: 22px;
  line-height: 1.1;
  margin: 14px 0 0;
}
.project-meta>div:last-child {
  text-align: right;
}
.project-meta p {
  font-size: 12px;
  margin: 0 0 19px;
  color: #667574;
}
.project-meta strong {
  font-size: 17px;
}
.source-note {
  margin: 35px 0 0;
  font-size: 10px;
  color: #758382;
  display: flex;
  align-items: center;
  gap: 10px;
}
.source-note i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
}
.method {
  background: #0d3037;
  color: #fff;
  padding: 120px 7vw;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 9vw;
  align-items: start;
}
.method-sticky {
  position: sticky;
  top: 120px;
}
.method-sticky>p:last-child {
  max-width: 430px;
  color: #a7b8ba;
  line-height: 1.65;
}
.method ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #3c575d;
}
.method li {
  min-height: 180px;
  display: grid;
  grid-template-columns: 65px 1fr 30px;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid #3c575d;
  transition-property: opacity,transform,color;
}
.method li:hover {
  color: var(--lime);
}
.method li>span {
  font-size: 10px;
  color: #7f979a;
}
.method li h3 {
  font-size: 28px;
  margin: 0 0 10px;
}
.method li p {
  color: #a7b8ba;
  line-height: 1.55;
  margin: 0;
}
.method li>b {
  font-size: 22px;
  color: var(--lime);
}
.contact {
  text-align: center;
  padding: 140px 6vw;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.contact-mark {
  position: absolute;
  font-size: 330px;
  font-weight: 900;
  letter-spacing: -.18em;
  color: #0a232806;
  left: 50%;
  top: 45%;
  transform: translate(-50%,-50%);
}
.contact>*:not(.contact-mark) {
  position: relative;
  z-index: 2;
}
.contact .section-label {
  justify-content: center;
}
.contact h2 {
  margin: 35px 0;
}
.contact>p:not(.section-label) {
  max-width: 650px;
  margin: 0 auto 36px;
  color: #5d6d6e;
  line-height: 1.65;
}
.button.dark {
  background: var(--ink);
  color: #fff;
}
.button.dark span {
  color: var(--lime);
}
.contact>small {
  display: block;
  margin-top: 20px;
  letter-spacing: .13em;
  color: #677777;
}
footer {
  background: #06191d;
  color: #95a9ab;
  padding: 45px 6vw;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: center;
  gap: 30px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
footer a {
  color: #fff;
  transition: color .25s;
}
footer a:hover {
  color: var(--lime);
}
footer>div:last-child {
  text-align: right;
}
.floating-wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  display: grid;
  place-items: center;
  z-index: 80;
  border: 5px solid #fff;
  box-shadow: 0 15px 40px #0004;
  font-size: 11px;
  font-weight: 900;
}
.floating-wa i {
  position: absolute;
  inset: -4px;
  border: 1px solid var(--lime);
  border-radius: 50%;
  animation: ring 2s infinite;
}
@keyframes ring {
  to {
    transform: scale(1.5);
    opacity: 0;
  }
}
@media(max-width:1000px) {
  .nav-shell nav {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 90px;
  }
  .hero-copy {
    max-width: 850px;
  }
  .hero-panel {
    display: none;
  }
  .hero-foot div {
    display: none;
  }
  .intro,.section-head,.method {
    grid-template-columns: 1fr;
  }
  .section-head>div,.project-heading {
    grid-template-columns: 1fr;
  }
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .method-sticky {
    position: relative;
    top: auto;
  }
  .project-heading>p:last-child {
    max-width: 650px;
  }
}
@media(max-width:640px) {
  .nav-shell {
    height: 76px;
    padding: 0 18px;
  }
  .brand img {
    width: 93px;
  }
  .nav-cta {
    padding: 12px 15px;
    gap: 12px;
  }
  .hero {
    min-height: 760px;
    padding: 90px 22px 50px;
  }
  .hero h1 {
    font-size: clamp(49px,15vw,70px);
  }
  .lead {
    font-size: 16px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  .hero-foot {
    left: 22px;
    right: 22px;
  }
  .ticker {
    height: 42px;
  }
  .intro,.services,.projects,.method,.contact {
    padding: 85px 22px;
  }
  .intro {
    gap: 35px;
  }
  .intro>div>p {
    font-size: 18px;
  }
  .stats {
    grid-template-columns: 1fr;
    padding: 0 22px 75px;
  }
  .stat,.stat:last-child {
    border-right: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 25px 0;
  }
  .service-grid,.project-list {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: 410px;
  }
  .section-head>div {
    display: block;
  }
  .section-head>div>p {
    margin-top: 25px;
  }
  .project-visual {
    height: 220px;
  }
  .project-meta {
    grid-template-columns: 1fr;
  }
  .project-meta>div:last-child {
    text-align: left;
  }
  .method {
    gap: 45px;
  }
  .method li {
    min-height: 155px;
    grid-template-columns: 45px 1fr 20px;
  }
  .method li h3 {
    font-size: 23px;
  }
  .contact-mark {
    font-size: 190px;
  }
  footer {
    grid-template-columns: 1fr;
  }
  footer>div:last-child {
    text-align: left;
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    animation: none!important;
    scroll-behavior: auto!important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* Refinamiento de marca, privacidad y densidad visual */
.nav-shell {
  height: 100px;
}
.brand {
  width: 175px;
  height: 98px;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
}
.brand:before {
  content: "";
  position: absolute;
  width: 112px;
  height: 72px;
  background: radial-gradient(circle,#a7d80040,transparent 68%);
  filter: blur(8px);
  animation: brandGlow 3.2s ease-in-out infinite;
}
.brand img {
  width: 158px;
  height: 92px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  animation: brandFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 8px 14px #06252b2b);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.brand:hover img {
  transform: scale(1.12) rotate(-2deg);
}
.hero {
  min-height: calc(100svh - 100px);
}
@keyframes brandFloat {
  0%,100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
@keyframes brandGlow {
  50% {
    transform: scale(1.22);
    opacity: .5;
  }
}
.hero-panel {
  overflow: visible;
  min-height: 440px;
  padding-top: 220px;
}
.hero-logo-wrap {
  position: absolute;
  z-index: 5;
  top: -70px;
  left: 50%;
  width: 380px;
  height: 300px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  pointer-events: none;
}
.hero-logo {
  width: 330px;
  max-width: none;
  height: 260px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 25px 28px #0008);
  animation: heroLogoFloat 5s ease-in-out infinite;
}
.logo-halo {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle,#a7d80033 0,#00a8d21c 42%,transparent 72%);
  animation: logoHalo 4s ease-in-out infinite;
}
.hero-logo-wrap:after {
  content: "";
  position: absolute;
  width: 270px;
  height: 1px;
  bottom: 28px;
  background: linear-gradient(90deg,transparent,var(--lime),transparent);
  box-shadow: 0 0 18px var(--lime);
}
@keyframes heroLogoFloat {
  0%,100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-13px) rotate(1deg);
  }
}
@keyframes logoHalo {
  50% {
    transform: scale(1.18);
    opacity: .55;
  }
}
.stat strong {
  min-height: 112px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.stat strong b {
  font-size: .38em;
  letter-spacing: -.02em;
  margin-left: 12px;
}
.project-list {
  gap: 16px;
}
.project-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 190px;
}
.project-visual {
  height: 190px;
}
.project-visual:after {
  width: 150px;
  height: 150px;
  border-width: 45px;
  right: -42px;
  bottom: -60px;
}
.project-visual>b {
  font-size: 58px;
}
.project-meta {
  padding: 22px;
  align-items: center;
}
.project-meta h3 {
  font-size: 19px;
}
.project-meta strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid #b9c5bf;
  border-radius: 30px;
  font-size: 9px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #3e5555;
}
.project-meta strong.active-status {
  border-color: var(--lime);
  background: #eff8cb;
  color: #456100;
}
.source-note {
  margin-top: 25px;
}
@media(max-width:1000px) {
  .hero-panel {
    display: none;
  }
  .project-card {
    grid-template-columns: 150px 1fr;
  }
  .project-visual {
    height: 180px;
  }
  .brand {
    width: 150px;
  }
  .brand img {
    width: 140px;
  }
}
@media(max-width:640px) {
  .nav-shell {
    height: 88px;
  }
  .brand {
    width: 118px;
    height: 86px;
  }
  .brand img {
    width: 116px;
    height: 80px;
  }
  .hero {
    min-height: 760px;
  }
  .project-card {
    grid-template-columns: 1fr;
  }
  .project-visual {
    height: 155px;
  }
  .project-meta {
    grid-template-columns: 1fr;
  }
  .project-meta>div:last-child {
    text-align: left;
  }
  .stat strong {
    min-height: auto;
  }
  .stat strong b {
    font-size: .35em;
  }
}
.hero-logo.medal {
  width: 285px;
  height: 285px;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 28px 38px #000a);
  border: 1px solid #ffffff24;
  box-shadow: inset 0 0 0 8px #ffffff09;
}
.hero-logo-wrap {
  top: -55px;
}
.hero-logo-wrap:after {
  bottom: 8px;
}
.service-grid {
  grid-template-columns: repeat(4,1fr);
}
.service-card {
  min-height: 430px;
}
.experience-legend {
  display: flex;
  gap: 28px;
  align-items: center;
  margin: -38px 0 28px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #607170;
}
.experience-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.experience-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.company-dot {
  background: var(--lime);
}
.professional-dot {
  background: var(--cyan);
}
.project-card.professional {
  border-color: #73bfd1;
}
.project-card.professional .project-visual:before {
  content: "PRO";
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 3;
  color: var(--cyan);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .15em;
}
.project-meta em {
  display: block;
  margin-top: 12px;
  color: #70807f;
  font-size: 8px;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.floating-wa {
  background: #25d366;
  color: #fff;
  border-color: #fff;
  transition: transform .3s,box-shadow .3s;
}
.floating-wa svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}
.floating-wa:hover {
  transform: translateY(-5px) scale(1.06);
  box-shadow: 0 20px 45px #128c4b66;
}
.floating-wa i {
  border-color: #25d366;
}
.source-note {
  display: none;
}
.project-graphic {
  position: absolute;
  inset: 40px 22px 20px;
  z-index: 2;
  display: grid;
  place-items: center;
  color: var(--accent);
}
.project-graphic svg {
  width: 112px;
  height: 94px;
  overflow: visible;
  filter: drop-shadow(0 10px 12px #0008);
  transition: transform .55s cubic-bezier(.2,.8,.2,1);
}
.project-graphic path {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.project-card:hover .project-graphic svg {
  transform: translateY(-6px) scale(1.07);
}
.project-visual .topography {
  opacity: .055;
}
.project-visual:after {
  opacity: .2;
}
.project-card:hover .project-visual:after {
  opacity: .38;
}
@media(max-width:1000px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .experience-legend {
    margin-top: 0;
  }
  .hero-logo.medal {
    width: 240px;
    height: 240px;
  }
}
.experience-archive {
  padding: 120px 6vw;
  background: #eef0e9;
}
.archive-heading {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 55px;
}
.archive-heading h2 {
  margin: 0;
}
.archive-heading p:last-child {
  max-width: 700px;
  color: #5b6c69;
  line-height: 1.7;
}
.archive-controls {
  position: sticky;
  top: 105px;
  z-index: 8;
  background: #fff;
  border: 1px solid #d7ddd8;
  padding: 22px;
  box-shadow: 0 18px 45px #17323812;
}
.archive-controls label span {
  display: block;
  margin-bottom: 9px;
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #526765;
}
.archive-controls input {
  width: 100%;
  border: 0;
  border-bottom: 2px solid var(--ink);
  padding: 12px 2px;
  font: inherit;
  font-size: 18px;
  outline: none;
  background: transparent;
}
.archive-controls input:focus {
  border-color: var(--lime);
}
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.category-filters button {
  border: 1px solid #bdc9c4;
  border-radius: 30px;
  background: #fff;
  padding: 9px 13px;
  font-size: 9px;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: .25s;
}
.category-filters button:hover,.category-filters button.selected {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--lime);
}
.archive-summary {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 35px 0 18px;
}
.archive-summary strong {
  font-size: 38px;
}
.archive-summary span {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #657572;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
}
.archive-card {
  min-height: 220px;
  background: #fff;
  border: 1px solid #d7ddd8;
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: transform .3s,box-shadow .3s,border-color .3s;
}
.archive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px #17323818;
  border-color: #9dab9f;
}
.archive-card>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 27px;
}
.archive-card>div span {
  font-size: 11px;
  color: #7c8c89;
}
.archive-card>div b {
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #527400;
}
.archive-card small {
  font-size: 9px;
  letter-spacing: .08em;
  color: #657572;
}
.archive-card h3 {
  font-size: 16px;
  line-height: 1.32;
  margin: 12px 0 18px;
  font-weight: 600;
}
.archive-card em {
  margin-top: auto;
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-style: normal;
  color: #7b8986;
}
@media(max-width:1000px) {
  .archive-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .archive-heading {
    grid-template-columns: 1fr;
  }
  .archive-controls {
    position: relative;
    top: auto;
  }
}
@media(max-width:640px) {
  .experience-archive {
    padding: 80px 22px;
  }
  .archive-grid {
    grid-template-columns: 1fr;
  }
  .archive-card {
    min-height: 190px;
  }
  .category-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
  }
  .category-filters button {
    flex: 0 0 auto;
  }
}
.brand.brand-medal {
  width: 112px;
  height: 96px;
}
.brand.brand-medal:before {
  width: 82px;
  height: 82px;
  border-radius: 50%;
}
.brand.brand-medal img {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  filter: drop-shadow(0 9px 15px #06252b38);
}
.hero-logo.corporate {
  width: 345px;
  height: 275px;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px #000a);
}
.chapter-three-continuation {
  padding-top: 35px;
  border-top: 1px solid #d5dbd6;
}
.chapter-three-continuation .archive-heading {
  display: block;
  max-width: 950px;
}
.chapter-three-continuation .archive-heading>div {
  max-width: 850px;
}
@media(max-width:640px) {
  .brand.brand-medal {
    width: 82px;
    height: 82px;
  }
  .brand.brand-medal img {
    width: 68px;
    height: 68px;
  }
  .hero-logo.corporate {
    width: 260px;
    height: 220px;
  }
}
.brand.brand-medal {
  width: 255px;
  display: flex;
  justify-content: flex-start;
  gap: 13px;
}
.brand.brand-medal img {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  border: 1px solid #17323833;
}
.brand.brand-medal span {
  position: relative;
  z-index: 2;
  white-space: nowrap;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -.02em;
}
.hero-logo.corporate {
  width: 355px;
  height: 285px;
}
@media(max-width:1000px) {
  .brand.brand-medal {
    width: 210px;
  }
  .brand.brand-medal span {
    font-size: 13px;
  }
}
@media(max-width:640px) {
  .brand.brand-medal {
    width: 185px;
    height: 82px;
    gap: 9px;
  }
  .brand.brand-medal img {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }
  .brand.brand-medal span {
    font-size: 12px;
  }
  .nav-cta {
    margin-left: auto;
  }
}
.nav-shell {
  height: 134px;
  padding-left: 5vw;
  padding-right: 4vw;
}
.brand.brand-medal {
  width: clamp(480px,47vw,860px);
  height: 132px;
  gap: 25px;
}
.brand.brand-medal img {
  width: 110px;
  height: 110px;
  flex-basis: 110px;
}
.brand.brand-medal span {
  font-size: clamp(26px,2.25vw,40px);
  letter-spacing: -.035em;
}
.hero {
  min-height: calc(100svh - 134px);
}
.hero-panel {
  min-height: 760px;
  padding-top: 565px;
}
.hero-logo-wrap {
  top: 10px;
  width: 520px;
  height: 520px;
}
.hero-logo.corporate {
  width: 490px;
  height: 490px;
}
.hero-logo-wrap:after {
  width: 420px;
  bottom: 5px;
}
@media(max-width:1250px) {
  .nav-shell {
    gap: 20px;
  }
  .brand.brand-medal {
    width: clamp(365px,40vw,500px);
    gap: 16px;
  }
  .brand.brand-medal img {
    width: 94px;
    height: 94px;
    flex-basis: 94px;
  }
  .brand.brand-medal span {
    font-size: clamp(21px,2.2vw,30px);
  }
  .nav-shell nav {
    gap: 20px;
  }
}
@media(max-width:1000px) {
  .nav-shell {
    height: 108px;
  }
  .brand.brand-medal {
    width: 330px;
    height: 106px;
  }
  .brand.brand-medal img {
    width: 82px;
    height: 82px;
    flex-basis: 82px;
  }
  .brand.brand-medal span {
    font-size: 21px;
  }
  .hero {
    min-height: calc(100svh - 108px);
  }
}
@media(max-width:640px) {
  .nav-shell {
    height: 88px;
  }
  .brand.brand-medal {
    width: 190px;
    height: 86px;
    gap: 9px;
  }
  .brand.brand-medal img {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
  }
  .brand.brand-medal span {
    font-size: 13px;
  }
  .hero {
    min-height: 760px;
  }
}
.project-card.grouped-example {
  grid-column: 1/-1;
  grid-template-columns: 260px 1fr;
  min-height: 430px;
  border-color: #9aac9d;
}
.grouped-example .project-visual {
  height: 100%;
}
.grouped-example .project-meta {
  grid-template-columns: 1fr;
  padding: 32px 38px;
}
.grouped-example .project-meta>div:last-child {
  display: none;
}
.grouped-example .project-meta h3 {
  font-size: 30px;
  margin-bottom: 20px;
}
.group-projects {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  border-top: 1px solid #dce2dd;
}
.group-projects li {
  display: grid;
  grid-template-columns: 1.4fr 1fr 110px;
  gap: 18px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e3e7e3;
}
.group-projects li b {
  font-size: 13px;
}
.group-projects li span {
  font-size: 11px;
  color: #677773;
}
.group-projects li em {
  margin: 0!important;
  text-align: center;
  border: 1px solid #bec9c3;
  border-radius: 30px;
  padding: 6px 8px;
  color: #425651;
}
.group-projects li em.running {
  border-color: var(--lime);
  background: #eff8cb;
  color: #456100;
}
@media(max-width:640px) {
  .project-card.grouped-example {
    grid-template-columns: 1fr;
  }
  .grouped-example .project-visual {
    height: 180px;
  }
  .grouped-example .project-meta {
    padding: 24px;
  }
  .group-projects li {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 13px 0;
  }
  .group-projects li em {
    text-align: left;
    width: max-content;
  }
}
.grouped-list {
  align-items: stretch;
}
.project-card.grouped-card {
  grid-template-columns: 175px 1fr;
  min-height: 390px;
}
.grouped-card .project-visual {
  height: 100%;
  min-height: 390px;
}
.grouped-card .project-meta {
  display: block;
  padding: 25px 26px;
}
.grouped-card .project-meta h3 {
  font-size: 23px;
  margin: 10px 0 14px;
}
.grouped-card .group-projects {
  margin-bottom: 15px;
}
.grouped-card .group-projects li {
  grid-template-columns: minmax(145px,1.5fr) 82px 92px;
  gap: 9px;
  padding: 9px 0;
}
.grouped-card .group-projects li>div b {
  display: block;
  font-size: 12px;
}
.grouped-card .group-projects li>div small {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  line-height: 1.25;
  letter-spacing: 0;
  color: #6d7d79;
}
.grouped-card .group-projects li>span {
  font-size: 9px;
}
.grouped-card .group-projects li>em {
  font-size: 7px;
  padding: 5px 4px;
}
.grouped-card .project-meta>div>em {
  display: block;
  margin-top: 12px;
}
@media(max-width:1100px) {
  .project-card.grouped-card {
    grid-template-columns: 140px 1fr;
  }
  .grouped-card .group-projects li {
    grid-template-columns: 1fr 75px;
  }
  .grouped-card .group-projects li>em {
    grid-column: 2;
  }
}
@media(max-width:760px) {
  .project-card.grouped-card {
    grid-template-columns: 1fr;
  }
  .grouped-card .project-visual {
    height: 170px;
    min-height: 170px;
  }
  .grouped-card .group-projects li {
    grid-template-columns: 1fr 90px;
  }
  .grouped-card .group-projects li>em {
    grid-column: 2;
  }
}
@media(max-width:640px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: 390px;
  }
  .experience-legend {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .hero-logo.medal {
    width: 210px;
    height: 210px;
  }
}
/* Verde corporativo tomado del logo ZP. */
:root {
  --lime: #28bf3d;
}
.logo-halo {
  background: radial-gradient(circle,#28bf3d33 0,#00a8d21c 42%,transparent 72%);
}
/* Movimiento arquitectónico: flotación estable, respiración y destello sutil. */
.hero-logo {
  animation: heroLogoPremium 6.5s cubic-bezier(.45,0,.25,1) infinite;
  transform-origin: 50% 58%;
}
.logo-halo {
  animation: logoHaloPremium 5.8s ease-in-out infinite;
}
.hero-logo-wrap:before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 8%;
  pointer-events: none;
  background: linear-gradient(112deg,transparent 35%,#ffffff00 43%,#ffffff8c 49%,#ffffff14 54%,transparent 62%);
  background-size: 260% 100%;
  background-position: 140% 0;
  -webkit-mask: url('logo-zp-hero-new.png') center/contain no-repeat;
  mask: url('logo-zp-hero-new.png') center/contain no-repeat;
  animation: logoSheen 8.5s ease-in-out infinite;
}
@keyframes heroLogoPremium {
  0%,100% {
    transform: translateY(0) scale(1);
  }
  45% {
    transform: translateY(-9px) scale(1.012);
  }
  55% {
    transform: translateY(-9px) scale(1.012);
  }
}
@keyframes logoHaloPremium {
  0%,100% {
    transform: scale(.96);
    opacity: .58;
  }
  50% {
    transform: scale(1.12);
    opacity: .9;
  }
}
@keyframes logoSheen {
  0%,56% {
    background-position: 140% 0;
    opacity: 0;
  }
  63% {
    opacity: .72;
  }
  76% {
    background-position: -55% 0;
    opacity: .18;
  }
  77%,100% {
    background-position: -55% 0;
    opacity: 0;
  }
}
@media(prefers-reduced-motion:reduce) {
  .hero-logo,.logo-halo,.hero-logo-wrap:before {
    animation: none;
  }
}
/* Marco de lectura para que las fichas no se extiendan en pantallas amplias. */
.projects .project-heading,.projects .project-list {
  width: min(100%,1400px);
  margin-left: auto;
  margin-right: auto;
}
@media(min-width:1700px) {
  .projects .project-heading,.projects .project-list {
    width: min(100%,1360px);
  }
}
/* Fichas compactas: el contenido aprovecha todo el ancho y elimina vacíos. */
.project-card.grouped-card {
  min-height: 305px;
  grid-template-columns: 160px minmax(0,1fr);
}
.grouped-card .project-visual {
  min-height: 305px;
}
.grouped-card .project-meta {
  padding: 18px 22px;
}
.grouped-card .project-meta>div:last-child {
  text-align: left;
}
.grouped-card .project-meta h3 {
  margin: 7px 0 9px;
  font-size: 21px;
}
.grouped-card .group-projects {
  margin-bottom: 8px;
}
.grouped-card .group-projects li {
  grid-template-columns: minmax(150px,1.5fr) 76px 88px;
  gap: 8px;
  padding: 6px 0;
  min-height: 43px;
}
.grouped-card .group-projects li>div b {
  font-size: 11px;
}
.grouped-card .group-projects li>div small {
  margin-top: 1px;
  font-size: 8px;
  line-height: 1.15;
}
.grouped-card .project-meta>div>em {
  margin-top: 7px;
  text-align: right;
}
@media(max-width:1100px) {
  .project-card.grouped-card {
    grid-template-columns: 140px minmax(0,1fr);
    min-height: 330px;
  }
  .grouped-card .project-visual {
    min-height: 330px;
  }
  .grouped-card .group-projects li {
    grid-template-columns: 1fr 75px;
  }
  .grouped-card .group-projects li>em {
    grid-column: 2;
  }
}
@media(max-width:760px) {
  .project-card.grouped-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .grouped-card .project-visual {
    height: 150px;
    min-height: 150px;
  }
  .grouped-card .project-meta {
    padding: 20px;
  }
  .grouped-card .group-projects li {
    padding: 9px 0;
  }
}
/* Segunda compactación: cuadrícula justificada con columnas cortas. */
.projects .project-heading,.projects .project-list {
  width: min(100%,1180px);
}
.project-list.grouped-list {
  gap: 12px;
}
.project-card.grouped-card {
  grid-template-columns: 145px minmax(0,1fr);
  min-height: 270px;
}
.grouped-card .project-visual {
  min-height: 270px;
}
.grouped-card .project-meta {
  padding: 15px 18px;
}
.grouped-card .project-meta h3 {
  font-size: 19px;
  margin: 5px 0 7px;
}
.grouped-card .group-projects {
  width: 100%;
  margin-bottom: 5px;
}
.grouped-card .group-projects li {
  grid-template-columns: minmax(145px,190px) 62px 82px;
  justify-content: start;
  column-gap: 6px;
  padding: 4px 0;
  min-height: 38px;
}
.grouped-card .group-projects li>span {
  text-align: left;
  white-space: nowrap;
}
.grouped-card .group-projects li>em {
  width: 82px;
  white-space: nowrap;
}
.grouped-card .project-meta>div>em {
  margin-top: 5px;
}
@media(max-width:1100px) {
  .projects .project-heading,.projects .project-list {
    width: 100%;
  }
  .project-card.grouped-card {
    grid-template-columns: 135px minmax(0,1fr);
    min-height: 285px;
  }
  .grouped-card .project-visual {
    min-height: 285px;
  }
  .grouped-card .group-projects li {
    grid-template-columns: minmax(130px,1fr) 62px;
    row-gap: 3px;
  }
  .grouped-card .group-projects li>em {
    grid-column: 2;
    width: 82px;
  }
}
@media(max-width:760px) {
  .project-card.grouped-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .grouped-card .project-visual {
    height: 140px;
    min-height: 140px;
  }
  .grouped-card .group-projects li {
    grid-template-columns: minmax(0,1fr) 76px;
  }
  .grouped-card .group-projects li>em {
    grid-column: 2;
  }
}
/* Corrección responsive definitiva: sin anchos forzados ni altura sobrante. */
.project-list.grouped-list {
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: start;
}
.project-card.grouped-card {
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  grid-template-columns: 128px minmax(0,1fr);
  align-self: start;
}
.grouped-card .project-visual {
  height: 100%;
  min-height: 210px;
}
.grouped-card .project-meta,.grouped-card .project-meta>div,.grouped-card .group-projects,.grouped-card .group-projects li {
  min-width: 0;
}
.grouped-card .project-meta {
  padding: 14px 16px;
}
.grouped-card .group-projects li {
  grid-template-columns: minmax(0,190px) 62px 82px;
  justify-content: start;
  column-gap: 5px;
  min-height: 34px;
  padding: 3px 0;
}
.grouped-card .group-projects li>div {
  min-width: 0;
}
.grouped-card .group-projects li>div b,.grouped-card .group-projects li>div small {
  overflow-wrap: anywhere;
}
@media(max-width:1200px) {
  .project-list.grouped-list {
    grid-template-columns: 1fr;
  }
  .project-card.grouped-card {
    grid-template-columns: 145px minmax(0,1fr);
  }
  .grouped-card .group-projects li {
    grid-template-columns: minmax(180px,260px) 66px 84px;
  }
}
@media(max-width:760px) {
  .project-card.grouped-card {
    grid-template-columns: 1fr;
  }
  .grouped-card .project-visual {
    height: 135px;
    min-height: 135px;
  }
  .grouped-card .group-projects li {
    grid-template-columns: minmax(0,1fr) 76px;
  }
  .grouped-card .group-projects li>em {
    grid-column: 2;
  }
}
/* Columnas cerradas: ninguna ficha puede ensanchar la cuadrícula. */
.projects {
  overflow: hidden;
}
.project-list.grouped-list {
  width: min(100%,1180px);
  grid-template-columns: calc((100% - 12px)/2) calc((100% - 12px)/2);
  gap: 12px;
  overflow: hidden;
}
.project-card.grouped-card {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.grouped-card .project-meta {
  min-width: 0;
  overflow: hidden;
}
.grouped-card .project-meta h3 {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.grouped-card .project-meta>div>em {
  display: none;
}
@media(max-width:1200px) {
  .project-list.grouped-list {
    grid-template-columns: 100%;
    width: min(100%,900px);
  }
}
/* Distribución final: dos fichas reales por fila, sin cuadrícula implícita. */
.projects .project-heading,.projects .project-list {
  width: 100%;
  max-width: 1640px;
}
.project-list.grouped-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px;
  overflow: visible;
}
.project-card.grouped-card {
  flex: 0 0 calc(50% - 7px);
  width: auto;
  max-width: calc(50% - 7px);
  grid-template-columns: 190px minmax(0,1fr);
  min-height: 330px;
  overflow: hidden;
}
.grouped-card .project-visual {
  min-height: 330px;
  height: 100%;
}
.grouped-card .project-meta {
  padding: 18px 22px;
}
.grouped-card .group-projects li {
  grid-template-columns: minmax(170px,280px) 76px 108px;
  column-gap: 8px;
  min-height: 42px;
  padding: 5px 0;
}
.grouped-card .group-projects li>em {
  width: 108px;
}
@media(max-width:1200px) {
  .projects .project-heading,.projects .project-list {
    max-width: 900px;
  }
  .project-card.grouped-card {
    flex-basis: 100%;
    max-width: 100%;
    grid-template-columns: 170px minmax(0,1fr);
  }
  .grouped-card .group-projects li {
    grid-template-columns: minmax(180px,280px) 76px 108px;
  }
}
@media(max-width:760px) {
  .project-card.grouped-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .grouped-card .project-visual {
    height: 145px;
    min-height: 145px;
  }
  .grouped-card .group-projects li {
    grid-template-columns: minmax(0,1fr) 76px;
  }
  .grouped-card .group-projects li>em {
    grid-column: 2;
  }
}
/* Cuadrícula 2 × 9: filas internas únicamente con obra y fecha. */
.grouped-card .group-projects li {
  grid-template-columns: minmax(0,1fr) 98px;
  column-gap: 14px;
}
.grouped-card .group-projects li>span {
  text-align: right;
  white-space: nowrap;
}
.grouped-card .group-projects li>em {
  display: none!important;
}
@media(max-width:760px) {
  .grouped-card .group-projects li {
    grid-template-columns: minmax(0,1fr) 82px;
    column-gap: 8px;
  }
}
/* Plantilla definitiva: las 18 fichas replican la primera a ancho completo. */
.projects .project-heading,.projects .project-list {
  width: 100%;
  max-width: none;
}
.project-list.grouped-list {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 14px;
  overflow: visible;
}
.project-card.grouped-card {
  display: grid;
  grid-template-columns: 280px minmax(0,1fr);
  width: 100%;
  max-width: none;
  min-width: 0;
  height: 330px;
  min-height: 330px;
  flex: none;
  overflow: hidden;
}
.grouped-card .project-visual {
  width: 100%;
  height: 330px;
  min-height: 330px;
}
.grouped-card .project-meta {
  height: 330px;
  min-width: 0;
  padding: 22px 36px;
  display: flex;
  align-items: flex-start;
}
.grouped-card .project-meta>div {
  width: 100%;
}
.grouped-card .project-meta h3 {
  font-size: 26px;
  margin: 8px 0 12px;
}
.grouped-card .group-projects li {
  grid-template-columns: minmax(0,1fr) 120px;
  column-gap: 24px;
  min-height: 48px;
  padding: 7px 0;
}
.grouped-card .group-projects li>span {
  text-align: right;
}
@media(max-width:760px) {
  .project-card.grouped-card {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }
  .grouped-card .project-visual {
    height: 155px;
    min-height: 155px;
  }
  .grouped-card .project-meta {
    height: auto;
    min-height: 0;
    padding: 20px;
  }
  .grouped-card .project-meta h3 {
    font-size: 21px;
  }
  .grouped-card .group-projects li {
    grid-template-columns: minmax(0,1fr) 82px;
    column-gap: 8px;
  }
}
/* REGLA CANÓNICA DEL CAPÍTULO 3 — dos fichas 50/50 y dos columnas de datos. */
.projects .project-heading {
  width: 100%!important;
  max-width: none!important;
}
.projects .project-list {
  display: grid!important;
  width: 100%!important;
  max-width: none!important;
  grid-template-columns: repeat(2,minmax(0,1fr))!important;
  grid-auto-flow: row!important;
  gap: 16px!important;
  align-items: start!important;
  overflow: visible!important;
}
.projects .project-card.grouped-card {
  display: grid!important;
  width: 100%!important;
  max-width: 100%!important;
  min-width: 0!important;
  height: auto!important;
  min-height: 0!important;
  grid-template-columns: clamp(145px,11.5vw,205px) minmax(0,1fr)!important;
  align-self: start!important;
  flex: none!important;
  overflow: hidden!important;
}
.projects .grouped-card .project-visual {
  width: 100%!important;
  height: 100%!important;
  min-height: 0!important;
}
.projects .grouped-card .project-meta {
  width: 100%!important;
  min-width: 0!important;
  height: auto!important;
  min-height: 0!important;
  padding: 14px 20px!important;
  display: block!important;
  overflow: visible!important;
}
.projects .grouped-card .project-meta>div {
  width: 100%!important;
  min-width: 0!important;
}
.projects .grouped-card .project-meta h3 {
  font-size: 21px!important;
  line-height: 1.05!important;
  margin: 6px 0 8px!important;
  overflow-wrap: anywhere!important;
}
.projects .grouped-card .group-projects {
  width: 100%!important;
  margin: 0!important;
}
.projects .grouped-card .group-projects li {
  display: grid!important;
  width: 100%!important;
  min-width: 0!important;
  grid-template-columns: minmax(120px,220px) 82px!important;
  justify-content: start!important;
  column-gap: 10px!important;
  min-height: 40px!important;
  padding: 4px 0!important;
}
.projects .grouped-card .group-projects li>span {
  text-align: left!important;
  white-space: nowrap!important;
}
.projects .grouped-card .group-projects li>em,.projects .grouped-card .project-meta>div>em {
  display: none!important;
}
@media(max-width:1120px) {
  .projects .project-list {
    grid-template-columns: minmax(0,1fr)!important;
  }
  .projects .project-card.grouped-card {
    grid-template-columns: 190px minmax(0,1fr)!important;
  }
}
@media(max-width:700px) {
  .projects .project-card.grouped-card {
    height: auto!important;
    min-height: 0!important;
    grid-template-columns: 1fr!important;
  }
  .projects .grouped-card .project-visual {
    height: 140px!important;
    min-height: 140px!important;
  }
  .projects .grouped-card .project-meta {
    height: auto!important;
    min-height: 0!important;
    padding: 18px!important;
  }
  .projects .grouped-card .group-projects li {
    grid-template-columns: minmax(0,1fr) max-content!important;
    column-gap: 8px!important;
  }
}
/* Cierre del capítulo 4: cada bloque ocupa su propia fila y nunca se superpone. */
.method,.contact,footer {
  width: 100%;
  min-width: 0;
  clear: both;
}
.method {
  grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
  gap: clamp(48px,8vw,130px);
  overflow: hidden;
}
.method>* {
  min-width: 0;
}
.method ol {
  width: 100%;
  min-width: 0;
}
.method li>div {
  min-width: 0;
}
@media(max-width:1000px) {
  .method {
    grid-template-columns: minmax(0,1fr);
    gap: 48px;
  }
  .method-sticky {
    position: relative;
    top: auto;
  }
}
@media(max-width:640px) {
  .nav-shell {
    gap: 8px;
    padding: 0 12px;
  }
  .brand.brand-medal {
    width: min(60vw,190px);
    gap: 7px;
  }
  .brand.brand-medal img {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }
  .brand.brand-medal span {
    font-size: 12px;
  }
  .nav-cta {
    padding: 10px 11px;
    gap: 8px;
    font-size: 10px;
  }
  .method {
    display: grid;
    padding: 72px 22px;
    gap: 38px;
  }
  .method h2 {
    font-size: clamp(46px,14vw,64px);
  }
  .method li {
    min-height: 132px;
    grid-template-columns: 36px minmax(0,1fr) 18px;
    gap: 12px;
  }
  .contact {
    padding: 78px 22px;
  }
  .contact h2 {
    font-size: clamp(44px,13vw,62px);
  }
  .floating-wa {
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 56px;
  }
}

/* REGLA CANÓNICA MÓVIL DEL HERO — conserva texto, acciones, logo y trayectoria. */
@media(max-width:1120px) {
  .nav-shell nav {
    display: none;
  }
  .hero {
    min-height: auto!important;
    grid-template-columns: minmax(0,1fr)!important;
    align-items: start;
    gap: 56px;
    padding: 72px 6vw 100px;
    overflow: hidden;
  }
  .hero-copy {
    display: block!important;
    width: 100%;
    max-width: 850px;
    min-width: 0;
  }
  .hero-panel {
    display: flex!important;
    position: relative;
    width: min(100%,620px);
    max-width: 620px;
    min-height: 560px;
    margin: 0 auto;
    padding: 390px 32px 32px;
  }
  .hero-logo-wrap {
    top: 12px;
    left: 50%;
    width: 100%;
    height: 370px;
    transform: translateX(-50%);
  }
  .hero-logo.corporate {
    width: min(92%,390px);
    height: 360px;
  }
  .hero-logo-wrap:after {
    width: min(82%,420px);
    bottom: 6px;
  }
}
@media(max-width:640px) {
  .hero {
    min-height: auto!important;
    padding: 56px 18px 96px!important;
    gap: 42px;
  }
  .hero h1 {
    font-size: clamp(46px,14vw,64px);
  }
  .hero-panel {
    min-height: 455px;
    padding: 288px 22px 24px;
  }
  .hero-logo-wrap {
    top: 6px;
    height: 275px;
  }
  .hero-logo.corporate {
    width: min(96%,300px);
    height: 270px;
  }
  .hero-logo-wrap:after {
    width: 78%;
    bottom: 2px;
  }
  .hero-panel>strong {
    font-size: 32px;
  }
  .hero-panel>p {
    font-size: 8px;
  }
  .hero-panel>small {
    font-size: 12px;
  }
  .signal {
    font-size: 7px;
    letter-spacing: .11em;
  }
}
@media(max-width:420px) {
  .nav-shell {
    padding: 0 10px;
  }
  .brand.brand-medal {
    width: min(58vw,190px);
  }
  .brand.brand-medal span {
    font-size: 11px;
  }
  .nav-cta {
    padding: 10px;
    gap: 7px;
  }
}

/* IDENTIDAD DE CABECERA — verde corporativo y flecha consistente en todos los equipos. */
.nav-shell {
  background: var(--lime);
  border-bottom-color: #159b30;
  box-shadow: 0 8px 26px #071f2524;
}
.nav-shell nav a,.brand.brand-medal span {
  color: var(--ink);
}
.nav-shell nav a:after {
  background: var(--ink);
}
.nav-cta .css-arrow {
  display: inline-block;
  position: relative;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  color: var(--lime);
  font-size: 0;
  line-height: 0;
}
.nav-cta .css-arrow:before {
  content: "";
  position: absolute;
  left: 1px;
  top: 6px;
  width: 12px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: rotate(-45deg);
  transform-origin: center;
}
.nav-cta .css-arrow:after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

/* HERO — menor separación superior y trayectoria centrada con simetría visual. */
.hero-copy {
  align-self: start;
  margin-top: clamp(36px,4vw,72px);
}
.hero-panel {
  text-align: center;
}
.hero-panel>p,.hero-panel>strong,.hero-panel>small {
  width: 100%;
  text-align: center;
}
.hero-panel .signal {
  width: 100%;
  justify-content: center;
}
@media(max-width:1120px) {
  .hero-copy {
    margin-top: 0;
  }
}

/* REFINAMIENTO FINAL DE MARCA, MOVIMIENTO Y NAVEGACIÓN RESPONSIVA. */
.brand.brand-medal {
  width: clamp(620px,52vw,900px);
}
.brand.brand-medal span {
  font-size: clamp(52px,4.4vw,72px);
  line-height: .92;
}
.brand.brand-medal img {
  animation: brandFloatEnhanced 3.6s ease-in-out infinite;
}
@keyframes brandFloatEnhanced {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.025); }
}
.orbit-a { animation-duration: 12s; }
.orbit-b { animation-duration: 8s; }
.hero-logo { animation: heroLogoEnhanced 5.2s cubic-bezier(.45,0,.22,1) infinite; }
.logo-halo { animation: logoHaloEnhanced 4.6s ease-in-out infinite; }
@keyframes heroLogoEnhanced {
  0%,100% { transform: translateY(3px) scale(.99) rotate(-1deg); }
  45%,55% { transform: translateY(-19px) scale(1.035) rotate(1deg); }
}
@keyframes logoHaloEnhanced {
  0%,100% { transform: scale(.92); opacity: .5; }
  50% { transform: scale(1.18); opacity: 1; }
}
.vector-arrow {
  display: inline-block;
  position: relative;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  color: inherit;
  font-size: 0!important;
  line-height: 0;
  transform-origin: center;
}
.vector-arrow:before {
  content: "";
  position: absolute;
  left: 1px;
  top: 6px;
  width: 12px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.vector-arrow:after {
  content: "";
  position: absolute;
  right: 1px;
  top: 3px;
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.vector-arrow.up-right { transform: rotate(-45deg); }
.vector-arrow.right { transform: rotate(0); }
.vector-arrow.down { transform: rotate(90deg); }
.vector-arrow.down-right { transform: rotate(45deg); }
.nav-cta .vector-arrow,.service-card>a .vector-arrow,.button.dark .vector-arrow,.method .vector-arrow { color: var(--lime); }
.ghost-link .vector-arrow { color: var(--lime); }
.intro a .vector-arrow { color: #247d31; }
.project-graphic path { stroke-width: 3.5; }
@media(max-width:1250px) and (min-width:1001px) {
  .brand.brand-medal { width: clamp(500px,48vw,620px); }
  .brand.brand-medal span { font-size: clamp(38px,3.5vw,44px); }
}
@media(max-width:1000px) and (min-width:761px) {
  .brand.brand-medal { width: min(560px,56vw); }
  .brand.brand-medal span { font-size: clamp(30px,3.7vw,36px); }
}
@media(max-width:760px) {
  .nav-shell {
    height: 134px!important;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-rows: 88px 46px;
    gap: 0 8px;
    padding: 0 12px!important;
    align-items: center;
  }
  .brand.brand-medal {
    grid-column: 1;
    grid-row: 1;
    width: auto!important;
    min-width: 0;
    height: 88px!important;
    gap: 7px;
  }
  .brand.brand-medal img {
    width: 56px!important;
    height: 56px!important;
    flex-basis: 56px!important;
  }
  .brand.brand-medal span {
    font-size: clamp(17px,5.4vw,22px)!important;
    line-height: 1;
    overflow: visible;
  }
  .nav-cta {
    grid-column: 2;
    grid-row: 1;
    margin: 0!important;
    padding: 10px 12px!important;
    gap: 8px;
    font-size: 10px;
  }
  .nav-shell nav {
    grid-column: 1/-1;
    grid-row: 2;
    display: grid!important;
    grid-template-columns: repeat(4,minmax(0,1fr));
    width: 100%;
    height: 46px;
    margin: 0!important;
    gap: 0!important;
    border-top: 1px solid #071f2533;
  }
  .nav-shell nav a {
    display: grid;
    place-items: center;
    padding: 0 3px!important;
    font-size: 9px;
    letter-spacing: .01em;
    white-space: nowrap;
  }
  .nav-shell nav a+a { border-left: 1px solid #071f2526; }
  .nav-shell nav a:after { bottom: 5px; }
}
