:root {
  --green: #00442f;
  --green-2: #008a5b;
  --pink: #f05d90;
  --paper: #f7f7f5;
  --ink: #073f2e;
  --black: #111;
  --hero-sweep-duration: 16s;
  --hero-sweep-easing: ease-in-out;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: #eef0f3;
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  margin: 0;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.page-shell {
  background: var(--paper);
  margin: 0 auto;
  max-width: none;
  overflow: hidden;
  position: relative;
}

.page-shell::before,
.news::before,
.contact::before {
  background-image: radial-gradient(rgba(0,0,0,.055) 1px, transparent 1px);
  background-size: 7px 7px;
  content: "";
  inset: 0;
  opacity: .28;
  pointer-events: none;
  position: absolute;
}

.hero {
  min-height: 100vh;
  overflow: hidden;
  padding: 34px clamp(54px, 5vw, 110px) 42px;
  position: relative;
}

.hero-blobs {
  height: 100%;
  left: 0;
  mix-blend-mode: multiply;
  opacity: .28;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 0;
}

.blob-set--top {
  animation: driftTopBlob var(--hero-sweep-duration) var(--hero-sweep-easing) infinite alternate;
  transform: translate(106px, -16px) scale(.9);
}

.blob-set--bottom {
  transform: translate(-58px, 16px) scale(.86);
}

.blob {
  transform-box: fill-box;
  transform-origin: center;
}

.blob--top-out {
  animation: rotateBlob 46s linear infinite;
  fill: #9bd8aa;
}

.blob--top-in {
  animation: rotateBlob 34s linear infinite reverse;
  fill: #9bd8aa;
}

.blob--bottom-out {
  animation: rotateBlob 58s linear infinite reverse;
  fill: #7fc58f;
}

.blob--bottom-in {
  animation: rotateBlob 42s linear infinite;
  fill: #e2f2e8;
}

@keyframes rotateBlob {
  to { transform: rotate(360deg); }
}

@keyframes driftTopBlob {
  from {
    transform: translate(106px, -16px) scale(.9);
  }

  to {
    transform: translate(82px, -10px) scale(.9);
  }
}

@media (prefers-reduced-motion: reduce) {
  .blob,
  .blob-set--top,
  .headline__accent { animation: none; }

  .rotating-words span {
    animation: none;
    opacity: 0;
    transform: none;
  }

  .rotating-words span:first-child {
    opacity: 1;
  }
}

.corner {
  display: none;
  position: absolute;
  z-index: 0;
}

.corner--top {
  background: linear-gradient(180deg, rgba(38,177,86,.7) 0%, rgba(38,177,86,.06) 86%);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  height: 350px;
  right: 0;
  top: 0;
  width: 180px;
}

.corner--left {
  background: linear-gradient(180deg, rgba(95,211,146,.18) 0%, rgba(74,188,111,.7) 100%);
  bottom: 0;
  clip-path: polygon(0 0, 100% 0, 45% 100%, 0 100%);
  height: 250px;
  left: 0;
  width: 170px;
}

.topbar {
  align-items: center;
  border-bottom: 1.5px solid #0b6f47;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) auto minmax(140px, 1fr);
  gap: 18px;
  padding: 0 8px 18px;
  position: relative;
  z-index: 20;
}

.topbar p {
  color: var(--green-2);
  font-size: 15px;
  font-style: italic;
  margin: 0;
  white-space: nowrap;
}

.rotating-copy {
  align-items: center;
  display: flex;
  gap: 5px;
  justify-content: flex-start;
}

.rotating-words {
  display: inline-grid;
  height: 1.25em;
  overflow: hidden;
  position: relative;
  vertical-align: bottom;
  width: 9.75em;
}

.rotating-words span {
  animation: rotateHeaderWords 6s infinite;
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(85%);
  white-space: nowrap;
}

.rotating-words span:nth-child(2) {
  animation-delay: 2s;
}

.rotating-words span:nth-child(3) {
  animation-delay: 4s;
}

@keyframes rotateHeaderWords {
  0% {
    opacity: 0;
    transform: translateY(85%);
  }
  8%, 28% {
    opacity: 1;
    transform: translateY(0);
  }
  36%, 100% {
    opacity: 0;
    transform: translateY(-85%);
  }
}

.topbar a {
  color: var(--pink);
  font-size: 15px;
  justify-self: end;
  white-space: nowrap;
}

.contact-link {
  display: inline-grid;
  position: relative;
}

.contact-link span {
  grid-area: 1 / 1;
}

.contact-link__accent {
  clip-path: inset(0 0 0 100%);
  color: var(--green-2);
  opacity: 0;
  pointer-events: none;
}

.contact-link__accent.is-synced {
  opacity: 1;
}

.brandline {
  align-items: center;
  display: flex;
  gap: 13px;
  justify-content: center;
}

.brandline span {
  background: var(--green);
  display: block;
  height: 38px;
  width: 2px;
}

.brandline img { max-height: 43px; width: auto; }

.brandline__impulso {
  max-height: 32px;
}

.hero-grid {
  display: grid;
  gap: 72px;
  grid-template-columns: 560px minmax(0, 1fr);
  margin-top: 46px;
  position: relative;
  z-index: 10;
}

.mobile-menu-toggle {
  display: none;
}

.pill-menu {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: 132px 148px 132px 148px;
  padding-left: 0;
}

.pill-menu.is-fixed {
  backface-visibility: hidden;
  background: rgba(0, 68, 47, var(--fixed-progress, 1));
  border-radius: 999px;
  box-shadow: 0 16px 38px rgba(0, 32, 22, var(--fixed-progress, 1));
  gap: 16px;
  left: var(--fixed-left, 50%);
  max-width: calc(100vw - 32px);
  padding: var(--fixed-padding, 10px);
  position: fixed;
  top: 16px;
  transform: translate3d(0, 0, 0);
  transition: none;
  width: max-content;
  will-change: transform;
  z-index: 1000;
}

.pill-menu-placeholder {
  visibility: hidden;
}

.pill-menu.is-fixed .nav-card button,
.pill-menu.is-fixed .nav-link {
  background: rgba(0, 68, 47, calc(1 - var(--fixed-progress, 1)));
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, calc(.28 * var(--fixed-progress, 1)));
  transition: background-color .12s linear, box-shadow .12s linear;
}

.pill-menu.is-fixed .nav-card.is-current > button,
.pill-menu.is-fixed .nav-link.is-current {
  background: var(--green-2);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .68);
}

.pill-menu.is-fixed .dropdown {
  background: white;
}

.nav-card,
.nav-link {
  color: var(--black);
  min-height: 30px;
  position: relative;
}

.nav-card:hover,
.nav-card:focus-within,
.nav-card.is-current {
  z-index: 40;
}

.nav-card button,
.nav-link {
  background: var(--green);
  border: 0;
  border-radius: 999px;
  color: white;
  cursor: pointer;
  display: grid;
  font-family: inherit;
  font-size: 13.25px;
  font-weight: 700;
  height: 36px;
  line-height: 1;
  padding: 0 8px;
  place-items: center;
  position: relative;
  text-align: center;
  white-space: nowrap;
  width: 100%;
  z-index: 3;
}

.nav-link {
  align-items: center;
  display: grid;
  text-decoration: none;
}

.nav-card.is-current > button {
  background: var(--green-2);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .68);
}

.nav-link.is-current {
  background: var(--green-2);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .68);
}

.dropdown {
  background: #f7f7f5;
  border: 1.5px solid var(--green);
  border-radius: 16px;
  left: -12px;
  min-height: 92px;
  opacity: 0;
  padding: 18px 10px 12px;
  pointer-events: none;
  position: absolute;
  right: -12px;
  top: calc(100% - 2px);
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 5;
}

.nav-card:hover .dropdown,
.nav-card.is-open .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown a {
  border-bottom: 1px dashed var(--green);
  color: var(--black);
  display: block;
  font-size: 10.5px;
  line-height: 1.22;
  margin: 0;
  padding: 5px 0;
  transition: color .15s ease, padding-left .15s ease, background-color .15s ease;
}

.dropdown a:hover {
  background: rgba(0, 68, 47, .06);
  color: var(--green-2);
  padding-left: 4px;
}

.dropdown a.is-active {
  color: var(--green-2);
  font-weight: 700;
}

.dropdown a:last-child {
  border-bottom: 0;
}

.headline {
  position: relative;
}

.headline h1 {
  color: var(--green);
  font-size: clamp(44px, 4.35vw, 72px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: .99;
  margin: 0;
  max-width: 680px;
}

.headline h1 span {
  display: block;
}

.headline__accent {
  color: #008a5b !important;
  clip-path: inset(0 0 0 100%);
  inset: 0 auto auto 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.headline__accent.is-synced {
  opacity: 1;
}

.headline p {
  color: var(--green-2);
  font-size: clamp(22px, 2vw, 32px);
  margin: 8px 0 0;
}

.hero-photo {
  margin: 46px 0 0;
  position: relative;
  z-index: 1;
}

.hero-photo img {
  height: clamp(380px, 43vh, 500px);
  object-fit: cover;
  object-position: center 44%;
  width: 100%;
}

.hero-scroll {
  align-items: center;
  animation: hero-scroll-bob 1.9s ease-in-out infinite;
  background: rgba(247, 247, 245, .82);
  border: 1px solid rgba(0, 68, 47, .22);
  border-radius: 50%;
  bottom: 30px;
  box-shadow: 0 12px 26px -22px rgba(0, 68, 47, .55);
  color: var(--green);
  display: grid;
  height: 38px;
  left: 50%;
  place-items: center;
  position: absolute;
  transform: translateX(-50%);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
  width: 38px;
  z-index: 12;
}

.hero-scroll:hover {
  background: rgba(247, 247, 245, .96);
  border-color: rgba(0, 138, 91, .42);
  color: var(--green-2);
}

.hero-scroll svg {
  height: 21px;
  width: 21px;
}

@keyframes hero-scroll-bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 7px); }
}

.intro-posadas {
  --intro-video-h: clamp(340px, 72vh, 900px);
  align-content: center;
  background: var(--green);
  color: white;
  display: grid;
  gap: clamp(16px, 1.6vw, 30px);
  grid-template-columns: 1fr;
  min-height: 100vh;
  padding: clamp(96px, 10vh, 118px) clamp(54px, 5vw, 110px) clamp(34px, 3.5vh, 66px);
  position: relative;
  scroll-margin-top: 0;
}

.intro-posadas__text {
  min-width: 0;
}

.intro-posadas__text p {
  font-size: clamp(19px, 1.35vw, 27px);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.34;
  margin: 0;
  max-width: 1320px;
}

.intro-posadas__text strong {
  color: #89e2ad;
  font-weight: 800;
}

.intro-posadas__text p.is-typing::after {
  animation: typing-caret .9s steps(1) infinite;
  color: #89e2ad;
  content: "|";
  display: inline-block;
  font-weight: 600;
  margin-left: 2px;
}

.intro-posadas__text p.is-typed::after {
  content: "";
}

@keyframes typing-caret {
  50% { opacity: 0; }
}

.intro-posadas__media {
  justify-self: center;
  min-width: 0;
  width: 100%;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.news-card:nth-child(2),
.sector-card:nth-child(2),
.infra-card:nth-child(2),
.guide-item:nth-child(2) {
  transition-delay: .08s;
}

.news-card:nth-child(3),
.sector-card:nth-child(3),
.infra-card:nth-child(3),
.guide-item:nth-child(3) {
  transition-delay: .16s;
}

.sector-card:nth-child(4),
.infra-card:nth-child(4),
.guide-item:nth-child(4) {
  transition-delay: .24s;
}

.sector-card:nth-child(5),
.guide-item:nth-child(5) {
  transition-delay: .32s;
}

.sector-card:nth-child(6),
.guide-item:nth-child(6) {
  transition-delay: .4s;
}

.guide-item:nth-child(7) {
  transition-delay: .48s;
}

.guide-contact-card:nth-child(2) {
  transition-delay: .1s;
}

.guide-contact-card:nth-child(3) {
  transition-delay: .2s;
}

.video-block {
  aspect-ratio: 16 / 9;
  background: #06251c;
  box-shadow: 0 36px 78px -38px rgba(0, 0, 0, .62);
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  width: min(100%, calc(var(--intro-video-h, 62vh) * 16 / 9));
}

.local-video {
  background: #06251c;
  border: 0;
  display: block;
  height: 100%;
  margin: 0 auto;
  object-fit: cover;
  width: 100%;
}

.news {
  background: var(--paper);
  color: var(--black);
  min-height: 720px;
  padding: 56px 84px 88px;
  position: relative;
}

.news h2,
.partners h2,
.contact h2 {
  font-size: clamp(46px, 6vw, 68px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.05;
  margin: 0;
}

.news-layout {
  display: grid;
  gap: 0 50px;
  grid-template-columns: 215px repeat(3, 1fr);
  margin: 58px 0 0;
  max-width: 1180px;
  position: relative;
  z-index: 2;
}

.news-card {
  cursor: pointer;
  min-width: 0;
  transition: transform .22s ease;
}

.news-card:first-child {
  grid-column: 2;
}

.news-card img {
  aspect-ratio: .82 / 1;
  filter: grayscale(1);
  height: 360px;
  object-fit: cover;
  transition: filter .24s ease, transform .28s ease;
  width: 100%;
}

.news-card:hover,
.news-card:focus-within {
  transform: translateY(-6px);
}

.news .news-card:hover,
.news .news-card:focus-within {
  transform: none;
}

.news-card:hover img,
.news-card:focus-within img {
  filter: grayscale(.15) saturate(1.04) brightness(.94);
  transform: scale(1.025);
}

.news-card:hover p,
.news-card:focus-within p {
  color: var(--green);
}

.news-card p {
  transition: color .18s ease;
}

.news-card p {
  font-size: 13px;
  line-height: 1.45;
  margin: 20px 0 16px;
}

.news-card a {
  font-size: 11px;
}

.more-button {
  background: var(--green);
  border-radius: 10px;
  color: white;
  font-size: 22px;
  font-weight: 800;
  grid-column: 4;
  justify-self: end;
  margin-top: 16px;
  padding: 12px 18px;
}

.partners {
  background: white;
  padding: 86px 84px 122px;
}

.partners h2 {
  color: var(--green);
  margin-bottom: 80px;
}

.logo-carousel {
  overflow: hidden;
  position: relative;
}

.logo-track {
  display: flex;
  transition: transform .45s ease;
  will-change: transform;
}

.logo-slide {
  align-items: center;
  display: flex;
  flex: 0 0 25%;
  justify-content: center;
  min-height: 118px;
  padding: 0 24px;
}

.logo-slide img {
  filter: saturate(.95);
  max-height: 104px;
  max-width: 240px;
  object-fit: contain;
}

.logo-dots {
  align-items: center;
  display: flex;
  gap: 9px;
  justify-content: center;
  margin-top: 42px;
  min-height: 18px;
  overflow: visible;
  padding: 4px 0;
}

.logo-dots button {
  background: rgba(0, 68, 47, .28);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  height: 9px;
  padding: 0;
  transition: background-color .2s ease, transform .2s ease;
  width: 9px;
}

.logo-dots button.is-active {
  background: var(--green-2);
  transform: scale(1.25);
}

.contact {
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 285px;
  padding: 56px 84px;
  position: relative;
}

.contact h2 {
  color: var(--green);
  position: relative;
  z-index: 2;
}

.contact a {
  align-self: center;
  background: var(--green);
  color: white;
  font-size: 20px;
  font-weight: 800;
  justify-self: center;
  padding: 11px 18px;
  position: relative;
  z-index: 2;
}

.footer {
  align-items: center;
  background: #24804f;
  color: white;
  display: flex;
  justify-content: center;
  min-height: 288px;
  padding: 58px 92px;
  position: relative;
}

.footer-credit {
  bottom: 18px;
  color: rgba(255, 255, 255, .78);
  font-size: 11px;
  left: clamp(18px, 5vw, 92px);
  margin: 0;
  position: absolute;
}

.footer-credit a {
  color: white;
  /* font-weight: 700; */
  text-decoration: none;
}

.footer-credit a:hover {
  text-decoration: underline;
}

.footer-inner {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: 360px 420px 430px;
  margin: 0 auto;
  max-width: 1340px;
  width: 100%;
}

.footer-title {
  border-left: 0;
  padding-left: 0;
}

.footer-title img {
  max-height: 60px;
  width: auto;
}

.footer-contact {
  justify-self: start;
  width: 430px;
}

.footer-brand {
  text-align: center;
}

.footer-brand img {
  margin: 0 auto 20px;
  max-height: 64px;
  width: auto;
}

.footer p,
.footer address {
  /* font-size: 14px; */
  font-style: normal;
  /* font-weight: 700; */
  line-height: 1.45;
  margin: 0 0 14px;
}

.footer-contact a {
  align-items: center;
  color: white;
  display: flex;
  gap: 10px;
  margin: 9px 0;
  text-decoration: none;
  transition: opacity .15s ease;
}

.footer-contact a:hover {
  opacity: .78;
}

.footer-contact img {
  flex: 0 0 auto;
  height: 25px;
  width: 25px;
}

.page-shell--subpage {
  background: white;
}

.page-shell--news-article {
  overflow: visible;
}

.sector-hero {
  align-items: center;
  background:
    linear-gradient(118deg, rgba(0, 138, 91, .55) 0 12%, transparent 12% 100%),
    linear-gradient(118deg, transparent 0 82%, rgba(0, 138, 91, .55) 82% 100%),
    var(--green);
  color: white;
  display: grid;
  min-height: 320px;
  overflow: hidden;
  padding: 34px 84px 54px;
  position: relative;
}

.sector-hero::before,
.sector-hero::after {
  background: rgba(3, 36, 27, .28);
  content: "";
  height: 140%;
  position: absolute;
  top: -20%;
  transform: skewX(-28deg);
  width: 210px;
}

.sector-hero::before {
  left: 70px;
}

.sector-hero::after {
  right: 80px;
}

.subpage-pill-menu {
  margin: 0 auto 92px;
  max-width: 610px;
  position: relative;
  width: 100%;
  z-index: 30;
}

.subpage-pill-menu .nav-card button,
.subpage-pill-menu .nav-link {
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .28);
}

.subpage-pill-menu .dropdown {
  background: white;
}

.sector-hero h1 {
  font-size: clamp(42px, 4.6vw, 62px);
  font-weight: 800;
  justify-self: center;
  line-height: 1.05;
  margin: 0;
  position: relative;
  text-align: center;
  z-index: 1;
}

.sector-intro {
  background: white;
  color: #777;
  padding: 46px 84px 34px;
  text-align: center;
}

.sector-intro p {
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.45;
  margin: 0 auto;
  max-width: 1170px;
}

.sector-grid {
  background: white;
  display: grid;
  gap: 58px 74px;
  grid-template-columns: repeat(3, minmax(0, 250px));
  justify-content: center;
  padding: 28px 84px 76px;
}

.sector-card {
  aspect-ratio: .86 / 1;
  cursor: pointer;
  margin: 0;
  overflow: hidden;
  position: relative;
  transition: transform .22s ease, box-shadow .22s ease;
}

.sector-card img {
  height: 100%;
  object-fit: cover;
  transition: filter .22s ease, transform .28s ease;
  width: 100%;
}

.sector-card:hover,
.sector-card:focus-within {
  box-shadow: 0 18px 34px rgba(0, 68, 47, .16);
  transform: translateY(-6px);
}

.sector-card:hover img,
.sector-card:focus-within img {
  filter: saturate(1.08) brightness(.92);
  transform: scale(1.035);
}

.sector-card span {
  background: var(--green-2);
  border-radius: 5px;
  bottom: 14px;
  color: white;
  display: block;
  font-size: 12px;
  font-weight: 800;
  left: 50%;
  line-height: 1.15;
  max-width: calc(100% - 32px);
  padding: 7px 10px;
  position: absolute;
  text-align: center;
  transform: translateX(-50%);
  transition: background-color .18s ease, transform .22s ease;
  width: max-content;
}

.sector-card:hover span,
.sector-card:focus-within span {
  background: var(--green);
  transform: translateX(-50%) translateY(-3px);
}

.companies {
  background: #f4f4f4;
  padding: 66px 84px 92px;
  text-align: center;
}

.companies h2 {
  color: var(--green);
  font-size: clamp(46px, 6vw, 68px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.05;
  margin: 0 0 56px;
}

.companies .logo-slide {
  flex-basis: 20%;
  padding: 0 12px;
}

.companies .logo-slide img {
  max-height: 116px;
  max-width: 245px;
}

.companies .logo-dots {
  margin-top: 34px;
}

.infra-intro {
  background: var(--paper);
  color: #333;
  padding: 42px 84px 34px;
  text-align: center;
}

.infra-intro p {
  font-size: clamp(20px, 1.85vw, 28px);
  font-weight: 400;
  line-height: 1.4;
  margin: 0 auto;
  max-width: 790px;
}

.infra-grid {
  background: var(--paper);
  display: grid;
  gap: 40px 84px;
  grid-template-columns: repeat(2, minmax(0, 560px));
  justify-content: center;
  padding: 8px 84px 80px;
}

.infra-card {
  aspect-ratio: 1.86 / 1;
  cursor: pointer;
  display: block;
  margin: 0;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease;
}

.infra-card img {
  height: 100%;
  object-fit: cover;
  transition: filter .22s ease, transform .28s ease;
  width: 100%;
}

.infra-card:hover,
.infra-card:focus-within {
  box-shadow: 0 18px 34px rgba(0, 68, 47, .16);
  transform: translateY(-6px);
}

.infra-card:hover img,
.infra-card:focus-within img {
  filter: saturate(1.08) brightness(.92);
  transform: scale(1.035);
}

.infra-card span {
  background: var(--green-2);
  border-radius: 5px;
  bottom: 16px;
  color: white;
  display: block;
  font-size: 16px;
  font-weight: 800;
  left: 50%;
  line-height: 1.12;
  max-width: calc(100% - 44px);
  padding: 9px 13px;
  position: absolute;
  text-align: center;
  transform: translateX(-50%);
  transition: background-color .18s ease, transform .22s ease;
  width: max-content;
}

.infra-card:hover span,
.infra-card:focus-within span {
  background: var(--green);
  transform: translateX(-50%) translateY(-3px);
}

.cae-content {
  background: var(--paper);
  color: #14233d;
  padding: 76px 84px 76px;
}

.cae-services {
  display: grid;
  gap: 54px 92px;
  margin: 0 auto;
  max-width: 1120px;
}

.cae-service {
  align-items: center;
  display: grid;
  gap: clamp(40px, 6vw, 96px);
  grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
}

.cae-service img {
  aspect-ratio: 1.9 / 1;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.cae-service__text h2 {
  color: #14233d;
  font-size: clamp(28px, 2.65vw, 39px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.08;
  margin: 0 0 12px;
}

.cae-service__text p {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 14px;
}

.cae-service__text ul {
  color: #111;
  font-size: 15px;
  line-height: 1.2;
  margin: 0;
  padding-left: 18px;
}

.cae-service__text li + li {
  margin-top: 3px;
}

.cae-service__text li {
  hyphens: auto;
  text-align: justify;
  text-align-last: left;
}

.cae-summary {
  border-bottom: 2px solid rgba(20, 35, 61, .72);
  color: #14233d;
  font-size: clamp(20px, 1.8vw, 27px);
  line-height: 1.25;
  margin: 62px auto 0;
  max-width: 1120px;
  padding: 0 0 24px;
  text-align: center;
}

.cae-content .guide-contact {
  border-top: 0;
  margin-top: 44px;
  padding-top: 0;
}

.news-content {
  background: var(--paper);
  color: #111;
  padding: 74px 84px 76px;
}

.news-explorer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto 28px;
  max-width: 1120px;
}

.news-explorer__label {
  color: var(--green);
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 700;
  margin: 0;
}

.news-explorer__controls {
  align-items: center;
  display: flex;
  gap: 18px;
}

.news-explorer__button {
  align-items: center;
  background: var(--green);
  border: 0;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: inline-flex;
  font-size: 22px;
  height: 40px;
  justify-content: center;
  transition: background-color .18s ease, transform .18s ease;
  width: 40px;
}

.news-explorer__button:hover {
  background: var(--green-2);
  transform: translateY(-2px);
}

.news-explorer__button:focus-visible {
  outline: 3px solid rgba(0, 138, 91, .3);
  outline-offset: 3px;
}

.news-explorer__button:disabled {
  background: #b8c3be;
  cursor: default;
  opacity: .7;
  transform: none;
}

.news-explorer__status {
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.news-viewport {
  margin: 0 auto;
  max-width: 1120px;
}

.news-grid--page {
  display: grid;
  gap: 54px 46px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card--page[hidden] { display: none; }

.news-card--page {
  color: #111;
  display: flex;
  flex-direction: column;
  grid-column: auto;
  min-width: 0;
  transition: transform .22s ease;
}

.news-grid--page > .news-card--page:first-child {
  grid-column: auto;
}

.news-card--page img {
  aspect-ratio: 500 / 535;
  filter: grayscale(1) contrast(1.04);
  height: auto;
  object-fit: cover;
  width: 100%;
}

.news-card__image-link {
  display: block;
  overflow: hidden;
  position: relative;
}

.news-card__image-button {
  background: rgba(0, 68, 47, .94);
  border-radius: 999px;
  bottom: 18px;
  color: white;
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  padding: 11px 16px;
  position: absolute;
  right: 18px;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}

.news-card__image-link:hover .news-card__image-button,
.news-card__image-link:focus-visible .news-card__image-button {
  opacity: 1;
  transform: translateY(0);
}

.news-card__image-link:focus-visible {
  outline: 3px solid var(--green-2);
  outline-offset: 3px;
}

@media (hover: none) {
  .news-card__image-button {
    opacity: 1;
    transform: none;
  }
}

.news-card--page div {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.news-card--page p {
  font-size: 16px;
  line-height: 1.35;
  margin: 18px 4px 12px;
}

.news-card--page a {
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  margin: auto 4px 0;
}

.news-card--page:hover img,
.news-card--page:focus-within img {
  filter: grayscale(.15) saturate(1.04) brightness(.94);
  transform: scale(1.025);
}

.news-article {
  align-items: start;
  background: var(--paper);
  color: #14233d;
  display: grid;
  gap: clamp(42px, 7vw, 100px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  margin: 0 auto;
  max-width: 1120px;
  padding: 84px 0 110px;
}

.news-article img {
  filter: grayscale(1);
  max-height: calc(100vh - 132px);
  object-fit: contain;
  object-position: top center;
  position: sticky;
  top: 96px;
  width: 100%;
}

.news-article__date {
  color: #68766f;
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: capitalize;
}

.news-article h2 {
  color: var(--green);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  margin: 0 0 28px;
}

.news-article p {
  color: #111;
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 20px;
  text-align: justify;
}

.news-article__body,
.news-article__body p,
.news-article__body li {
  hyphens: auto;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
}

.news-article a {
  color: var(--green);
  font-weight: 800;
}

.news-article__source,
.news-article__back {
  display: block;
  margin-top: 26px;
  width: fit-content;
}

.news-article__source {
  border-bottom: 1px solid currentColor;
}

.about-content {
  background: var(--paper);
  color: #14233d;
  padding: 58px 84px 76px;
}

.about-image,
.about-copy,
.about-content .guide-contact {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 1120px;
}

.about-image {
  aspect-ratio: 2.36 / 1;
  object-fit: cover;
  width: 100%;
}

.about-copy {
  font-size: clamp(20px, 1.7vw, 28px);
  line-height: 1.48;
  margin-bottom: 82px;
  margin-top: 76px;
}

.about-content .guide-contact {
  margin-top: 0;
}

.events-content {
  background: var(--paper);
  color: #14233d;
  padding: 74px 84px 76px;
}

.events-lead,
.events-intro,
.events-agenda,
.events-content .guide-contact {
  margin-left: auto;
  margin-right: auto;
  max-width: 1120px;
}

.events-lead {
  font-size: clamp(20px, 1.7vw, 27px);
  line-height: 1.4;
  margin-bottom: 72px;
  text-align: center;
}

.events-intro {
  align-items: center;
  display: grid;
  gap: clamp(42px, 6vw, 86px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  margin-bottom: 116px;
}

.events-intro p {
  font-size: clamp(22px, 0.8vw, 25px);
  line-height: 1.45;
  margin: 0;
  text-align: justify;
}

.events-intro img {
  aspect-ratio: 2 / 1;
  object-fit: cover;
  width: 100%;
}

.events-agenda h2 {
  color: var(--green);
  font-size: clamp(46px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1;
  margin: 0 0 36px;
}

.events-grid {
  display: grid;
  gap: 28px 42px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.event-card {
  aspect-ratio: 1.48 / 1;
  overflow: hidden;
  position: relative;
}

.event-card img {
  height: 100%;
  object-fit: cover;
  transition: filter .22s ease, transform .28s ease;
  width: 100%;
}

.event-card span {
  background: var(--green-2);
  border-radius: 999px;
  bottom: 16px;
  color: white;
  font-size: clamp(14px, 1.25vw, 20px);
  font-weight: 800;
  left: 50%;
  line-height: 1;
  max-width: calc(100% - 24px);
  padding: 13px 20px;
  position: absolute;
  text-align: center;
  transform: translateX(-50%);
  transition: background-color .18s ease, transform .22s ease;
  white-space: normal;
  width: max-content;
}

.event-card:hover img {
  filter: brightness(.9) saturate(1.08);
  transform: scale(1.035);
}

.event-card:hover span {
  background: var(--green);
  transform: translateX(-50%) translateY(-3px);
}

.events-content .guide-contact {
  margin-top: 84px;
}

.digital-content {
  background: var(--paper);
  color: #14233d;
  padding: 64px 84px 76px;
}

.digital-hero-copy,
.digital-steps,
.digital-diagnosis,
.digital-why,
.digital-content .guide-contact {
  margin-left: auto;
  margin-right: auto;
  max-width: 1120px;
}

.digital-hero-copy {
  align-items: center;
  display: grid;
  gap: clamp(48px, 8vw, 120px);
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr);
  margin-bottom: 54px;
}

.digital-hero-copy h2 {
  color: var(--green);
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.05;
  margin: 0;
}

.digital-hero-copy h2 span {
  white-space: nowrap;
}

.digital-benefits {
  display: grid;
  gap: 18px;
}

.page-digital .digital-benefits p {
  align-items: center;
  display: flex;
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 800;
  gap: 12px;
  line-height: 1.1;
  margin: 0;
  text-align: left;
  text-justify: auto;
}

.digital-benefits img {
  flex: 0 0 auto;
  height: 40px;
  width: 40px;
}

.digital-steps {
  border-bottom: 2px solid rgba(20, 35, 61, .72);
  padding-bottom: 38px;
}

.digital-steps h2,
.digital-diagnosis h2,
.digital-why h2 {
  background: var(--green-2);
  border-radius: 999px;
  color: white;
  display: table;
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 800;
  line-height: 1;
  margin: 0 auto 28px;
  padding: 10px 38px 12px;
}

.digital-steps-grid {
  display: grid;
  gap: 64px 120px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0 110px;
}

.digital-steps-grid article {
  align-items: end;
  display: grid;
  gap: 10px 18px;
  grid-template-columns: 1fr auto;
}

.digital-steps-grid h3 {
  font-size: clamp(24px, 2.2vw, 33px);
  font-weight: 800;
  grid-column: 1 / -1;
  line-height: 1.05;
  margin: 0;
}

.digital-steps-grid p {
  color: #111;
  font-size: 15px;
  line-height: 1.22;
  margin: 0;
}

.digital-steps-grid a,
.digital-diagnosis-button {
  background: var(--green-2);
  border-radius: 999px;
  color: white;
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 12px 24px;
  text-align: center;
  transition: background-color .18s ease, transform .18s ease;
  white-space: nowrap;
}

.digital-steps-grid a:hover,
.digital-diagnosis-button:hover {
  background: var(--green);
  transform: translateY(-2px);
}

.digital-diagnosis,
.digital-why {
  align-items: center;
  display: grid;
  gap: clamp(48px, 7vw, 96px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding-top: 62px;
}

.digital-diagnosis img,
.digital-why img {
  aspect-ratio: 1.92 / 1;
  object-fit: cover;
  width: 100%;
}

.digital-diagnosis h2,
.digital-why h2 {
  margin-left: 0;
  margin-right: 0;
}

.digital-diagnosis ul {
  color: #111;
  font-size: 16px;
  line-height: 1.38;
  list-style: none;
  margin: 0;
  padding: 0;
}

.digital-diagnosis li {
  align-items: center;
  display: flex;
  gap: 10px;
}

.digital-diagnosis li::before {
  align-items: center;
  background: #16b58c;
  border-radius: 50%;
  color: white;
  content: "✓";
  display: inline-flex;
  flex: 0 0 18px;
  font-size: 12px;
  font-weight: 900;
  height: 18px;
  justify-content: center;
  width: 18px;
}

.digital-why {
  border-bottom: 2px solid rgba(20, 35, 61, .72);
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  padding-bottom: 60px;
}

.digital-why h2 {
  font-size: clamp(28px, 2.35vw, 36px);
}

.digital-why__text p {
  color: #111;
  font-size: 16px;
  line-height: 1.45;
  margin: 0 0 24px;
}

.digital-why__text p + p {
  font-size: 15px;
  margin-bottom: 14px;
}

.digital-diagnosis-button {
  align-items: center;
  background: linear-gradient(90deg, var(--green) 0%, #0b8d61 100%);
  box-shadow: 7px 7px 0 #14233d;
  color: white;
  column-gap: 22px;
  display: flex;
  font-size: 25px;
  font-weight: 900;
  grid-column: 1 / -1;
  justify-content: center;
  justify-self: center;
  letter-spacing: .06em;
  margin: 8px auto 0;
  min-height: 68px;
  min-width: min(100%, 420px);
  outline: none;
  padding: 12px 42px;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  transform: skewX(-13deg);
  transition: box-shadow .3s ease, transform .3s ease;
}

.digital-diagnosis-button__label {
  display: inline-block;
  transform: skewX(13deg);
}

.digital-diagnosis-button:hover,
.digital-diagnosis-button:focus {
  box-shadow: 11px 11px 0 var(--green-2);
  transform: translateY(-6px) skewX(-13deg);
}

.digital-diagnosis-button:hover .digital-diagnosis-button__arrow,
.digital-diagnosis-button:focus .digital-diagnosis-button__arrow {
  margin-right: 34px;
}

.digital-diagnosis-button__arrow {
  display: inline-flex;
  margin-left: 4px;
  position: relative;
  transform: skewX(13deg);
  transition: margin-right .3s ease;
}

.digital-diagnosis-button__arrow path {
  fill: white;
}

.digital-diagnosis-button__arrow .arrow-one {
  transform: translateX(-60%);
  transition: transform .4s ease;
}

.digital-diagnosis-button__arrow .arrow-two {
  transform: translateX(-30%);
  transition: transform .5s ease;
}

.digital-diagnosis-button:hover .arrow-one,
.digital-diagnosis-button:focus .arrow-one,
.digital-diagnosis-button:hover .arrow-two,
.digital-diagnosis-button:focus .arrow-two {
  transform: translateX(0);
}

.digital-diagnosis-button:hover .arrow-three,
.digital-diagnosis-button:focus .arrow-three {
  animation: digital-arrow-color 1s infinite .2s;
}

.digital-diagnosis-button:hover .arrow-two,
.digital-diagnosis-button:focus .arrow-two {
  animation: digital-arrow-color 1s infinite .4s;
}

.digital-diagnosis-button:hover .arrow-one,
.digital-diagnosis-button:focus .arrow-one {
  animation: digital-arrow-color 1s infinite .6s;
}

@keyframes digital-arrow-color {
  0%, 100% { fill: white; }
  50% { fill: #89e2ad; }
}

.digital-content .guide-contact {
  border-top: 0;
  margin-top: 44px;
  padding-top: 0;
}

.guides {
  background: var(--paper);
  padding: 76px 84px 76px;
}

.guides-list {
  counter-reset: guide;
  margin: 0 auto;
  max-width: 1120px;
}

.guide-item {
  align-items: center;
  border-bottom: 1px solid rgba(20, 35, 61, .16);
  counter-increment: guide;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr auto;
  padding: 16px 0;
}

.guide-title {
  align-items: center;
  color: #14233d;
  display: flex;
  font-size: clamp(22px, 2.35vw, 32px);
  font-weight: 700;
  gap: 18px;
  letter-spacing: -.02em;
  line-height: 1.2;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}

.guide-title::before {
  align-items: center;
  border: 1.5px solid rgba(0, 138, 91, .46);
  border-radius: 50%;
  color: var(--green-2);
  content: counter(guide, decimal-leading-zero);
  display: inline-flex;
  flex: 0 0 38px;
  font-size: 12px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  letter-spacing: 0;
  width: 38px;
}

.guide-item:hover .guide-title {
  color: var(--green-2);
  transform: translateX(4px);
}

.guide-download {
  background: var(--green-2);
  border-radius: 999px;
  color: white;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  padding: 16px 27px;
  text-align: center;
  transition: background-color .18s ease, transform .18s ease;
  white-space: nowrap;
}

.guide-download:hover {
  background: var(--green);
  transform: translateY(-2px);
}

.guide-contact {
  border-top: 2px solid rgba(20, 35, 61, .72);
  margin: 84px auto 0;
  max-width: 1120px;
  padding-top: 46px;
}

.guide-contact h2 {
  color: #14233d;
  font-size: clamp(36px, 4vw, 50px);
  font-weight: 800;
  line-height: 1;
  margin: 0 0 56px 60px;
}

.guide-contact-grid {
  display: grid;
  gap: 54px;
  grid-template-columns: repeat(3, 1fr);
}

.guide-contact-card {
  align-items: center;
  color: #2f3850;
  display: flex;
  flex-direction: column;
  font-size: 18px;
  font-weight: 500;
  gap: 22px;
  line-height: 1.25;
  min-width: 0;
  text-align: center;
  transition: color .18s ease, transform .18s ease;
}

.guide-contact-card:hover {
  color: var(--green-2);
  transform: translateY(-4px);
}

.guide-contact-card img {
  height: 96px;
  object-fit: contain;
  width: 116px;
}

/* Criterio tipográfico compartido para todos los textos de contenido. */
.page-shell section:not(.hero) p {
  hyphens: auto;
  overflow-wrap: break-word;
  text-align: justify;
  text-justify: inter-word;
}

/* Los beneficios son líneas destacadas, no párrafos corridos: no separar sus palabras. */
.page-shell section:not(.hero) .digital-benefits p {
  text-align: left;
  text-justify: auto;
}

@media (min-width: 1800px) {
  .hero-grid {
    align-items: start;
    grid-template-columns: minmax(720px, 42vw) minmax(920px, 1fr);
  }

  .pill-menu {
    gap: 24px;
    grid-template-columns: 188px 218px 188px 218px;
  }

  .nav-card button,
  .nav-link {
    font-size: 17px;
    height: 52px;
    font-weight: 700;
    padding: 0 20px;
  }

  .dropdown {
    min-height: 132px;
    padding: 24px 16px 18px;
  }

  .dropdown a {
    font-size: 12px;
    padding: 6px 0;
  }

  .headline h1 {
    font-size: clamp(76px, 4.25vw, 104px);
    max-width: 1100px;
  }

  .headline p {
    font-size: clamp(32px, 2vw, 42px);
  }

  .hero-photo img {
    height: clamp(440px, 45vh, 560px);
  }
}

@media (max-width: 1280px) {
  .hero {
    display: flex;
    flex-direction: column;
    height: 100svh;
    min-height: 0;
    overflow: hidden;
  }

  .hero-grid {
    flex: 0 0 auto;
    gap: 20px;
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .hero-grid .pill-menu {
    justify-self: center;
    max-width: 680px;
    width: 100%;
  }

  .headline {
    justify-self: center;
    max-width: 780px;
    text-align: center;
    width: 100%;
  }

  .headline h1 {
    font-size: clamp(44px, 5.4vw, 64px);
    margin-left: auto;
    margin-right: auto;
  }

  .headline p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-photo {
    flex: 1 1 auto;
    margin-top: 20px;
    min-height: 0;
    overflow: hidden;
  }

  .hero-photo img {
    height: 100%;
    min-height: 0;
  }

  .footer {
    padding-left: 36px;
    padding-right: 36px;
  }

  .footer-inner {
    gap: 34px;
    grid-template-columns: 1fr;
    padding-bottom: 24px;
    text-align: center;
  }

  .footer-title,
  .footer-contact {
    justify-self: center;
  }

  .footer-contact {
    width: min(100%, 430px);
  }
}

@media (max-width: 1100px) {
  .hero {
    padding: 28px 32px 44px;
  }

  .topbar {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
  }

  .topbar p,
  .topbar a {
    justify-self: center;
  }

  .brandline {
    order: -1;
  }

  .hero-grid {
    gap: 18px;
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .pill-menu {
    grid-template-columns: repeat(4, minmax(100px, 1fr));
    max-width: 620px;
  }

  .headline {
    justify-self: center;
    text-align: center;
  }

  .headline h1 {
    font-size: clamp(42px, 6.6vw, 62px);
  }

  .hero-photo {
    margin-top: 18px;
  }

  .hero-photo img {
    height: 100%;
  }

  .hero-blobs {
    opacity: .16;
  }

  .intro-posadas {
    gap: 36px;
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 60px 36px 72px;
  }

  .intro-posadas__text p {
    max-width: none;
  }

  .news,
  .partners,
  .contact {
    padding-left: 36px;
    padding-right: 36px;
  }

  .news-layout {
    gap: 0 28px;
    grid-template-columns: repeat(3, 1fr);
  }

  .news-card:first-child {
    grid-column: auto;
  }

  .more-button {
    grid-column: 3;
  }

  .footer {
    padding-left: 36px;
    padding-right: 36px;
  }

  .footer-inner {
    gap: 34px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-title,
  .footer-contact {
    justify-self: center;
  }

  .sector-hero {
    min-height: 300px;
    padding: 28px 32px 50px;
  }

  .subpage-pill-menu {
    max-width: 620px;
  }

  .sector-grid {
    gap: 42px;
    grid-template-columns: repeat(2, minmax(0, 250px));
    padding-left: 32px;
    padding-right: 32px;
  }

  .sector-intro,
  .infra-intro,
  .companies {
    padding-left: 32px;
    padding-right: 32px;
  }

  .infra-grid {
    gap: 34px;
    grid-template-columns: minmax(0, 620px);
    padding-left: 32px;
    padding-right: 32px;
  }

  .cae-content,
  .about-content,
  .events-content,
  .news-content,
  .digital-content,
  .guides {
    padding-left: 32px;
    padding-right: 32px;
  }

  .digital-hero-copy,
  .digital-diagnosis,
  .digital-why {
    gap: 38px;
    grid-template-columns: 1fr;
  }

  .digital-steps-grid {
    padding: 0;
  }

  .digital-diagnosis img {
    max-width: 620px;
  }

  .events-intro {
    gap: 34px;
    grid-template-columns: 1fr;
  }

  .events-intro img {
    max-width: 620px;
  }

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

  .cae-service {
    gap: 34px;
    grid-template-columns: minmax(0, 1fr);
  }

  .cae-service img {
    max-width: 620px;
  }

  .guide-contact-grid {
    gap: 28px;
  }

  .companies .logo-slide {
    flex-basis: 25%;
  }
}

@media (max-width: 720px) {
  .hero {
    height: 100svh;
    min-height: 0;
    padding: 18px 18px 20px;
  }

  .topbar {
    gap: 8px;
    padding-bottom: 12px;
  }

  .topbar p,
  .topbar a {
    font-size: 13px;
  }

  .rotating-copy {
    flex-direction: column;
    gap: 2px;
    justify-content: center;
    line-height: 1.25;
    width: 100%;
  }

  .rotating-words {
    width: 100%;
  }

  .rotating-words span {
    text-align: center;
  }

  .brandline {
    gap: 10px;
  }

  .brandline img {
    max-height: 34px;
  }

  .brandline__impulso {
    max-height: 26px;
  }

  .pill-menu {
    gap: 10px;
    grid-template-columns: 1fr;
    max-width: none;
    width: 100%;
  }

  .mobile-menu-toggle {
    align-items: center;
    align-self: center;
    background: var(--green);
    border: 0;
    border-radius: 999px;
    color: white;
    cursor: pointer;
    display: inline-flex;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    gap: 10px;
    height: 44px;
    justify-content: center;
    padding: 0 22px;
    width: min(100%, 210px);
  }

  .mobile-menu-toggle__icon {
    display: grid;
    gap: 4px;
    width: 20px;
  }

  .mobile-menu-toggle__icon span {
    background: currentColor;
    border-radius: 2px;
    display: block;
    height: 2px;
    transition: opacity .2s ease, transform .2s ease;
    width: 100%;
  }

  .mobile-menu-toggle.is-open .mobile-menu-toggle__icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-menu-toggle.is-open .mobile-menu-toggle__icon span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.is-open .mobile-menu-toggle__icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 14px;
  }

  .hero-grid .pill-menu {
    background: rgba(247, 247, 245, .98);
    border: 1px solid rgba(0, 68, 47, .18);
    border-radius: 20px;
    box-shadow: 0 18px 38px rgba(0, 45, 31, .2);
    left: 0;
    max-height: calc(100svh - 170px);
    opacity: 0;
    overflow-y: auto;
    padding: 12px;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 52px;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    visibility: hidden;
    z-index: 80;
  }

  .hero-grid .pill-menu.is-mobile-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .nav-card button,
  .nav-link {
    font-size: 12px;
    height: 44px;
  }

  .dropdown {
    display: none;
  }

  .nav-card.is-open .dropdown {
    background: white;
    border-radius: 0 0 16px 16px;
    display: block;
    left: 10px;
    margin-bottom: 4px;
    min-height: 0;
    opacity: 1;
    padding: 18px 14px 10px;
    pointer-events: auto;
    position: relative;
    right: auto;
    top: -8px;
    transform: none;
    width: calc(100% - 20px);
  }

  .dropdown a {
    font-size: 12px;
    padding: 9px 4px;
  }

  .headline h1 {
    font-size: clamp(30px, 9.2vw, 40px);
    line-height: 1.02;
    max-width: none;
  }

  .headline h1 span {
    white-space: nowrap;
  }

  .headline p {
    font-size: clamp(17px, 4.8vw, 22px);
    margin-top: 5px;
    max-width: none;
    white-space: nowrap;
  }

  .headline__accent,
  .hero-blobs {
    display: none;
  }

  .hero-photo img {
    height: 100%;
    min-height: 0;
  }

  .hero-scroll {
    bottom: 20px;
    height: 40px;
    width: 40px;
  }

  .intro-posadas {
    min-height: auto;
    padding: 48px 18px 56px;
  }

  .intro-posadas__text p {
    font-size: clamp(16px, 4.6vw, 24px);
  }

  .video-block {
    border-radius: 0;
  }

  .news h2,
  .partners h2,
  .contact h2 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .news-layout {
    grid-template-columns: 1fr;
    max-width: 390px;
  }

  .more-button,
  .news-card:first-child {
    grid-column: auto;
  }

  .more-button {
    justify-self: end;
  }

  .news-card img {
    height: auto;
  }

  .logo-slide {
    flex-basis: 50%;
  }

  .logo-slide img {
    max-height: 88px;
    max-width: 190px;
  }

  .sector-hero {
    min-height: 270px;
    padding: 24px 18px 42px;
  }

  .sector-hero h1 {
    font-size: clamp(27px, 7vw, 46px);
    hyphens: auto;
    overflow-wrap: break-word;
  }

  .subpage-pill-menu {
    margin-bottom: 34px;
  }

  .sector-intro {
    padding: 34px 18px 24px;
  }

  .infra-intro {
    padding: 34px 18px 24px;
  }

  .infra-intro p {
    font-size: clamp(14px, 5vw, 24px);
  }

  .sector-grid {
    gap: 28px;
    grid-template-columns: minmax(0, 250px);
    padding: 22px 18px 56px;
  }

  .infra-grid {
    gap: 24px;
    grid-template-columns: 1fr;
    padding: 8px 18px 56px;
  }

  .infra-card span {
    bottom: 12px;
    font-size: 12px;
    max-width: calc(100% - 28px);
    padding: 7px 10px;
  }

  .cae-content,
  .about-content,
  .events-content,
  .news-content,
  .digital-content,
  .guides {
    padding: 44px 18px 56px;
  }

  .digital-hero-copy {
    margin-bottom: 38px;
  }

  .digital-hero-copy h2 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .digital-benefits p {
    font-size: clamp(20px, 6vw, 26px);
  }

  .digital-steps h2,
  .digital-diagnosis h2,
  .digital-why h2 {
    font-size: clamp(24px, 7vw, 32px);
    padding-left: 22px;
    padding-right: 22px;
  }

  .digital-steps-grid {
    gap: 34px;
    grid-template-columns: 1fr;
  }

  .digital-steps-grid article {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .digital-diagnosis,
  .digital-why {
    gap: 26px;
    padding-top: 44px;
  }

  .digital-why {
    padding-bottom: 44px;
  }

  .digital-diagnosis-button {
    box-shadow: 5px 5px 0 #14233d;
    column-gap: 10px;
    font-size: clamp(17px, 5.4vw, 22px);
    justify-content: space-between;
    max-width: 100%;
    min-height: 58px;
    min-width: 0;
    padding: 11px 16px 11px 22px;
    transform: none;
    width: calc(100% - 6px);
  }

  .digital-diagnosis-button__label,
  .digital-diagnosis-button__arrow {
    transform: none;
  }

  .digital-diagnosis-button__label {
    min-width: 0;
    white-space: normal;
  }

  .digital-diagnosis-button__arrow {
    flex: 0 0 auto;
    margin-left: 0;
  }

  .digital-diagnosis-button__arrow svg {
    height: 28px;
    width: 43px;
  }

  .digital-diagnosis-button:hover,
  .digital-diagnosis-button:focus {
    box-shadow: 7px 7px 0 var(--green-2);
    transform: translateY(-2px);
  }

  .digital-diagnosis-button:hover .digital-diagnosis-button__arrow,
  .digital-diagnosis-button:focus .digital-diagnosis-button__arrow {
    margin-right: 0;
  }

  .page-digital .sector-hero {
    min-height: 210px;
    padding: 16px 14px 28px;
  }

  .page-digital .subpage-pill-menu {
    gap: 6px;
    margin-bottom: 22px;
  }

  .page-digital .subpage-pill-menu .nav-card button,
  .page-digital .subpage-pill-menu .nav-link {
    font-size: 10px;
    height: 38px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .page-digital .sector-hero h1 {
    font-size: clamp(23px, 6.5vw, 28px);
  }

  .page-digital .digital-content {
    padding: 30px 18px 44px;
  }

  .page-digital .digital-hero-copy {
    gap: 24px;
    margin-bottom: 28px;
  }

  .page-digital .digital-hero-copy h2 {
    font-size: clamp(23px, 7.2vw, 30px);
    line-height: 1.02;
    white-space: nowrap;
  }

  .page-digital .digital-hero-copy h2 br {
    display: none;
  }

  .page-digital .digital-hero-copy h2 span {
    display: block;
  }

  .page-digital .digital-benefits {
    gap: 11px;
  }

  .page-digital .digital-benefits p {
    font-size: clamp(15px, 4.4vw, 18px);
    gap: 9px;
    hyphens: none;
    line-height: 1.1;
    overflow-wrap: normal;
    text-align: left;
  }

  .page-digital .digital-benefits img {
    height: 31px;
    width: 31px;
  }

  .page-digital .digital-steps {
    padding-bottom: 28px;
  }

  .page-digital .digital-steps h2,
  .page-digital .digital-diagnosis h2,
  .page-digital .digital-why h2 {
    font-size: clamp(19px, 5.4vw, 23px);
    padding: 8px 16px 9px;
  }

  .page-digital .digital-steps-grid {
    gap: 22px;
  }

  .page-digital .digital-steps-grid article {
    gap: 6px;
  }

  .page-digital .digital-steps-grid h3 {
    font-size: clamp(19px, 5.4vw, 23px);
  }

  .page-digital .digital-steps-grid p,
  .page-digital .digital-diagnosis ul,
  .page-digital .digital-why__text p,
  .page-digital .digital-why__text p + p {
    font-size: 14px;
  }

  .page-digital .digital-diagnosis,
  .page-digital .digital-why {
    gap: 18px;
    padding-top: 32px;
  }

  .page-digital .digital-diagnosis li {
    gap: 8px;
  }

  .page-digital .digital-diagnosis li::before {
    height: 16px;
    width: 16px;
  }

  .page-digital .digital-why {
    padding-bottom: 34px;
  }

  .page-digital .digital-why__text p {
    margin-bottom: 16px;
  }

  .page-digital .digital-diagnosis-button {
    font-size: clamp(14px, 4.2vw, 17px);
    min-height: 50px;
    padding: 9px 13px 9px 18px;
  }

  .page-digital .digital-diagnosis-button__arrow svg {
    height: 23px;
    width: 36px;
  }

  .page-digital .digital-content .guide-contact {
    margin-top: 38px;
    padding-top: 28px;
  }

  .page-digital .digital-content .guide-contact h2 {
    font-size: 30px;
    margin-bottom: 30px;
  }

  .page-digital .guide-contact-grid {
    gap: 26px;
  }

  .page-digital .guide-contact-card img {
    height: 68px;
    width: 82px;
  }

  .page-digital .whatsapp-btn {
    bottom: 14px;
    height: 50px;
    right: 14px;
    width: 50px;
  }

  .page-digital .whatsapp-btn i {
    font-size: 20px;
  }

  .footer {
    min-height: 0;
    padding: 42px 18px 64px;
  }

  .footer-inner {
    gap: 24px;
    padding-bottom: 26px;
  }

  .footer-title img {
    max-height: 46px;
    max-width: min(100%, 290px);
  }

  .footer-brand img {
    margin-bottom: 12px;
    max-height: 58px;
    max-width: min(100%, 260px);
  }

  .footer-brand p {
    font-size: 12px;
    line-height: 1.35;
    margin-bottom: 8px;
  }

  .footer-contact {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-self: center;
    max-width: 330px;
    width: 100%;
  }

  .footer-contact a {
    background: rgba(255, 255, 255, .1);
    border-radius: 999px;
    box-sizing: border-box;
    clip-path: inset(0 calc(100% - 44px) 0 0 round 999px);
    font-size: 11px;
    gap: 10px;
    height: 44px;
    margin: 4px 0;
    max-width: 100%;
    overflow: hidden;
    overflow-wrap: normal;
    padding: 5px;
    white-space: nowrap;
    width: 100%;
    will-change: clip-path;
    transition: background-color .28s ease, clip-path .32s ease, opacity .15s ease;
  }

  .footer-contact a:hover,
  .footer-contact a:focus,
  .footer-contact a:focus-visible,
  .footer-contact a.is-expanded {
    background: rgba(255, 255, 255, .18);
    clip-path: inset(0 0 0 0 round 999px);
    opacity: 1;
    outline: none;
  }

  .footer-contact img {
    height: 34px;
    width: 34px;
  }

  .footer-credit {
    bottom: 16px;
    font-size: 9px;
    left: 18px;
    right: 18px;
    text-align: center;
  }

  .cae-services {
    gap: 38px;
  }

  .events-content {
    padding-top: 44px;
  }

  .news-content {
    padding-top: 44px;
  }

  .news-grid--page {
    gap: 42px 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-content {
    padding-top: 44px;
  }

  .about-copy {
    font-size: 16px;
    margin-bottom: 52px;
    margin-top: 42px;
  }

  .events-lead {
    margin-bottom: 48px;
  }

  .events-intro {
    margin-bottom: 64px;
  }

  .events-intro p {
    font-size: 20px;
  }

  .events-agenda h2 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .events-grid {
    gap: 20px;
    grid-template-columns: 1fr;
  }

  .news-grid--page {
    gap: 34px;
    grid-template-columns: 1fr;
  }

  .news-explorer {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .news-explorer__label {
    max-width: none;
  }

  .news-explorer__controls {
    justify-content: flex-end;
  }

  .news-article {
    gap: 32px;
    grid-template-columns: 1fr;
    padding: 52px 18px 72px;
  }

  .news-article img {
    max-height: none;
    position: static;
  }

  .event-card span {
    font-size: 15px;
  }

  .cae-service {
    gap: 18px;
  }

  .cae-service__text h2 {
    font-size: clamp(24px, 6vw, 32px);
  }

  .cae-service__text ul {
    font-size: 14px;
  }

  .cae-summary {
    font-size: 18px;
    margin-top: 44px;
  }

  .guide-item {
    gap: 14px;
    grid-template-columns: 1fr;
    padding: 18px 0;
  }

  .guide-title {
    font-size: clamp(16px, 5vw, 25px);
    gap: 12px;
  }

  .guide-title::before {
    flex-basis: 32px;
    font-size: 10px;
    height: 32px;
    width: 32px;
  }

  .guide-download {
    justify-self: end;
    padding: 13px 22px;
    font-size: 13px;
  }

  .guide-contact {
    margin-top: 52px;
    padding-top: 34px;
  }

  .guide-contact h2 {
    margin: 0 0 38px;
  }

  .guide-contact-grid {
    grid-template-columns: 1fr;
  }

  .guide-contact-card img {
    height: 82px;
    width: 100px;
  }

  .guide-contact-card span,
  .footer-contact a {
    overflow-wrap: anywhere;
  }

  .guide-contact-card {
    font-size: 12px;
    gap: 16px;
  }

  .guide-contact-card[href*="mail"] span {
    letter-spacing: -.045em;
    overflow-wrap: normal;
    white-space: nowrap;
  }

  .sector-card span {
    font-size: 11px;
  }

  .companies {
    padding: 48px 18px 68px;
  }

  .companies .logo-slide {
    flex-basis: 50%;
  }

  .companies .logo-slide img {
    max-height: 96px;
    max-width: 190px;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: left;
  }

  .contact a {
    justify-self: start;
  }

  .footer-contact {
    max-width: 100%;
    width: auto;
  }
}

@media (max-width: 430px) {
  .brandline {
    transform: scale(.86);
  }

  .pill-menu {
    grid-template-columns: 1fr;
  }

  .footer-contact a {
    font-size: 12px;
  }
}

/*Estilos generales del boton whatsapp*/
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  animation: breathe 2s ease-in-out infinite;
}

/*Estilos solo al icono whatsapp*/
.whatsapp-btn i {
  color: #fff;
  font-size: 24px;
  animation: beat 2s ease-in-out infinite;
  text-decoration: none;
}

/*Estilos con animation contorno respirando*/
@keyframes breathe {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

/*Estilos de animacion del icono latiendo*/
@keyframes beat {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
