/* Iteración visual basada en la referencia Framer. Candidato privado. */

body {
  background:
    radial-gradient(circle at 12% 10%, rgb(190 247 234 / 48%), transparent 24rem),
    radial-gradient(circle at 90% 34%, rgb(23 167 183 / 12%), transparent 30rem),
    var(--paper);
  color: #0b3540;
  font-size: 18px;
  line-height: 1.68;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 5.2vw, 5.15rem);
  line-height: 0.99;
}

h2 {
  font-size: clamp(2.45rem, 4.5vw, 4rem);
  line-height: 1.04;
}

h3 {
  font-size: clamp(1.32rem, 2.2vw, 1.82rem);
  line-height: 1.18;
}

.section-heading > p:last-child,
.section-intro p:not(.eyebrow),
.service-card > p,
.method-grid p,
.manifest-grid > div:first-child > p:not(.eyebrow) {
  color: #154e5a;
}

.eyebrow {
  color: var(--teal-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.review-ribbon {
  background: linear-gradient(90deg, var(--mint-mid), #dcfff6, var(--mint-mid));
}

.site-header {
  box-shadow: 0 9px 28px rgb(13 27 42 / 7%);
}

.header-inner {
  width: min(100%, 1440px);
  margin-inline: auto;
}

.desktop-nav {
  gap: clamp(12px, 1.55vw, 27px);
}

.desktop-nav a,
.nav-pending {
  color: var(--petrol);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-pending {
  cursor: default;
  opacity: 0.56;
}

.mobile-nav .nav-pending {
  padding: 12px 10px;
  color: #41646a;
  font-size: 0.88rem;
}

.button {
  border-radius: 10px;
  box-shadow: 0 9px 24px rgb(13 143 158 / 12%);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgb(13 143 158 / 22%);
}

.hero {
  position: relative;
  grid-template-columns: minmax(0, 1.06fr) minmax(380px, 0.94fr);
  max-width: 1540px;
  margin-inline: auto;
  padding: clamp(62px, 7vw, 106px) clamp(36px, 6vw, 92px) 0;
  column-gap: clamp(48px, 6vw, 96px);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 2%;
  left: -12%;
  width: 55%;
  height: 54%;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(190 247 234 / 80%), rgb(190 247 234 / 0) 68%);
  filter: blur(20px);
}

.hero-copy {
  align-self: center;
}

.hero-copy .eyebrow {
  margin-bottom: 24px;
}

.hero-copy h1 {
  max-width: 780px;
  text-shadow: 0 12px 34px rgb(13 27 42 / 8%);
}

.hero-copy h1 span {
  display: inline-block;
  background: linear-gradient(100deg, var(--teal-deep), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 18px rgb(23 167 183 / 15%));
}

.hero-lede {
  max-width: 720px;
  margin-top: 30px;
  color: #174f5b;
  font-size: clamp(1.12rem, 1.45vw, 1.32rem);
  font-weight: 520;
  line-height: 1.65;
}

.hero-quote {
  max-width: 690px;
  margin: 26px 0 0;
  padding: 19px 22px;
  border-left: 4px solid var(--teal);
  border-radius: 0 12px 12px 0;
  background: linear-gradient(100deg, rgb(190 247 234 / 72%), rgb(240 253 250 / 74%));
  color: var(--petrol);
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.55;
  box-shadow: 0 12px 34px rgb(23 167 183 / 9%);
}

.hero-actions {
  margin-top: 30px;
}

.hero-visual {
  min-height: 590px;
  padding: 0 18px 56px;
}

.hero-visual::before {
  inset: -30px -18px 26px 8%;
  background: linear-gradient(145deg, var(--mint-mid), rgb(23 167 183 / 30%));
  filter: blur(16px);
}

.hero-photo-frame {
  position: relative;
  z-index: 1;
  height: 550px;
  margin: 0;
  overflow: hidden;
  border: 2px solid rgb(255 255 255 / 85%);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 32px 72px rgb(13 27 42 / 21%);
}

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

.floating-note-top {
  top: 24px;
  right: -4px;
  width: 238px;
  border: 1px solid var(--teal);
}

.floating-note-top strong {
  color: var(--mint-mid);
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
}

.floating-note-top span {
  font-size: 0.87rem;
  line-height: 1.35;
}

.floating-note-bottom {
  bottom: 13px;
  width: 260px;
  border: 1px solid var(--teal);
}

.floating-note-bottom strong {
  color: var(--teal-deep);
  font-size: 1.04rem;
}

.floating-note-bottom span {
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.035em;
}

.hero-chips {
  margin-top: 12px;
}

.hero-chips a {
  border-color: rgb(23 167 183 / 30%);
  box-shadow: 0 8px 18px rgb(13 27 42 / 5%);
}

.sector-band {
  margin-top: 4px;
  background:
    radial-gradient(circle at 18% 50%, rgb(23 167 183 / 22%), transparent 26%),
    var(--navy);
}

.about {
  position: relative;
  background: linear-gradient(180deg, #fff, #f5fbfb);
}

.about-grid {
  gap: clamp(48px, 7vw, 92px);
}

.section-intro p:not(.eyebrow) {
  font-size: 1.04rem;
  line-height: 1.72;
}

.metric-card {
  min-height: 146px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 25px;
  border: 1px solid rgb(23 167 183 / 23%);
  border-radius: var(--radius-sm);
  background: linear-gradient(140deg, var(--white), var(--mint));
  box-shadow: var(--shadow-sm);
}

.metric-card strong {
  color: var(--teal-deep);
  font-family: var(--font-serif);
  font-size: 2.65rem;
  line-height: 1;
}

.metric-card span {
  color: #174f5b;
  font-weight: 650;
  line-height: 1.35;
}

.about-statement {
  gap: 15px;
  padding: 32px;
  border: 1px solid var(--teal);
  background: linear-gradient(135deg, var(--teal-deep), #20afbd);
  box-shadow: 0 20px 50px rgb(13 143 158 / 22%);
}

.about-statement h3,
.about-statement p {
  color: var(--white);
}

.about-statement h3 {
  font-size: 1.42rem;
}

.about-statement p {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 520;
  line-height: 1.62;
}

.team {
  background:
    radial-gradient(circle at 82% 35%, rgb(190 247 234 / 36%), transparent 23rem),
    var(--paper);
}

.team-grid {
  align-items: stretch;
}

.profile-card {
  min-height: 680px;
  grid-template-columns: 34% 1fr;
  border-color: rgb(23 167 183 / 26%);
}

.profile-photo {
  background:
    radial-gradient(circle at center 28%, rgb(190 247 234 / 75%), transparent 18%),
    linear-gradient(155deg, #153444, #0d1b2a);
}

.profile-photo-light {
  background:
    radial-gradient(circle at center 28%, rgb(23 167 183 / 24%), transparent 21%),
    linear-gradient(155deg, var(--mint), #d8f7f0);
}

.profile-photo span {
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  border: 2px solid var(--teal);
  border-radius: 50%;
  background: rgb(255 255 255 / 8%);
  color: var(--mint-mid);
  font-size: 2rem;
}

.profile-photo-light span {
  background: var(--white);
  color: var(--teal-deep);
}

.profile-copy {
  padding: 42px 34px;
}

.profile-copy p:not(.profile-role) {
  margin-top: 18px;
  font-size: 0.96rem;
  line-height: 1.65;
}

.profile-card:not(.profile-card-dark) .profile-copy p {
  color: #174f5b;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.profile-tags li {
  padding: 5px 10px;
  border: 1px solid var(--teal);
  border-radius: 999px;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1.2;
}

.mid-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 72px);
  border: 1px solid rgb(23 167 183 / 22%);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgb(190 247 234 / 82%), transparent 58%),
    var(--white);
  box-shadow: 0 20px 60px rgb(13 27 42 / 9%);
}

.mid-cta h3 {
  max-width: 800px;
  margin-inline: auto;
  font-size: clamp(1.8rem, 3.1vw, 2.75rem);
}

.tools {
  position: relative;
  padding-block: clamp(78px, 9vw, 126px);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgb(255 255 255 / 13%), transparent 28rem),
    linear-gradient(125deg, #16a3b3, #209fb2 55%, #158c9f);
}

.tools-inner {
  min-height: auto;
  padding: 0;
}

.tools .section-heading {
  margin-bottom: 45px;
}

.logo-marquee {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid rgb(255 255 255 / 22%);
  background: rgb(13 27 42 / 15%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.logo-marquee-track {
  width: max-content;
  display: flex;
  animation: stack-scroll 62s linear infinite;
  will-change: transform;
}

.logo-marquee:hover .logo-marquee-track {
  animation-play-state: paused;
}

.logo-set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 16px;
  padding: 22px 8px;
}

.logo-chip {
  min-width: 144px;
  height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border: 1px solid rgb(255 255 255 / 38%);
  border-radius: 15px;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 16px 28px rgb(13 27 42 / 13%);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.logo-chip:hover {
  border-color: var(--teal-deep);
  transform: translateY(-4px);
  box-shadow: 0 20px 38px rgb(13 27 42 / 20%);
}

.logo-chip img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.logo-chip span {
  color: var(--petrol);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.tools-note {
  margin-top: 34px;
  color: var(--white);
  font-size: 0.82rem;
  line-height: 1.55;
  opacity: 0.9;
}

@keyframes stack-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.services {
  background:
    radial-gradient(circle at 8% 14%, rgb(190 247 234 / 42%), transparent 23rem),
    var(--white);
}

.service-grid {
  gap: 24px;
}

.service-card {
  min-height: 0;
  padding: 34px;
  border-color: rgb(23 167 183 / 22%);
  background: linear-gradient(160deg, #fff, #f9fdfd);
}

.service-card h3 {
  min-height: 2.4em;
  margin-top: 4px;
}

.service-card > p {
  margin-top: 18px;
  font-size: 0.96rem;
  line-height: 1.66;
}

.service-card .example {
  padding: 16px 18px;
  border-left: 3px solid var(--teal);
  border-radius: 0 8px 8px 0;
  background: var(--mint);
  color: var(--petrol);
}

.method {
  margin-top: clamp(82px, 10vw, 132px);
  border: 1px solid var(--teal);
  background:
    radial-gradient(circle at 50% 0%, rgb(23 167 183 / 22%), transparent 34rem),
    var(--navy);
  box-shadow: 0 32px 74px rgb(13 27 42 / 18%);
}

.method .section-heading > p:last-child {
  color: #d6f8f2;
  font-size: 1.08rem;
  line-height: 1.6;
}

.method-grid {
  gap: 16px;
}

.method-grid article {
  min-height: 0;
  padding: 27px;
  border: 1px solid rgb(23 167 183 / 55%);
  background: linear-gradient(145deg, rgb(255 255 255 / 9%), rgb(23 167 183 / 10%));
}

.method-grid h3 {
  color: var(--mint-mid);
  font-size: 1.19rem;
}

.method-grid p {
  margin-top: 14px;
  color: #e7f8f5;
  font-size: 0.9rem;
  line-height: 1.62;
}

.services-cta {
  padding: 72px 20px 12px;
}

.services-cta p {
  max-width: 690px;
  margin-inline: auto;
  color: #174f5b;
  font-size: 1.1rem;
}

.manifest {
  background:
    linear-gradient(110deg, rgb(240 253 250 / 86%), rgb(247 248 249 / 96%)),
    var(--paper);
}

.manifest-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 70px;
}

.manifest-grid > div:first-child > p:not(.eyebrow) {
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.72;
}

.manifest-stats {
  gap: 13px;
}

.manifest-stats div {
  min-height: 138px;
  padding: 24px;
  border-color: rgb(23 167 183 / 25%);
  background: rgb(255 255 255 / 88%);
}

.manifest-stats strong {
  min-width: 92px;
  font-size: 2.15rem;
}

.manifest-stats span {
  color: #174f5b;
  font-size: 0.92rem;
  line-height: 1.52;
}

.contact {
  background:
    radial-gradient(circle at 82% 18%, rgb(190 247 234 / 50%), transparent 25rem),
    var(--white);
}

.contact-grid {
  align-items: start;
}

.contact-cards div,
.contact-form {
  border-color: rgb(23 167 183 / 24%);
}

.contact-cards div {
  background: linear-gradient(145deg, #fff, var(--mint));
}

.contact-cards span {
  color: var(--teal-deep);
  font-size: 0.78rem;
}

.contact-cards strong {
  color: var(--petrol);
  overflow-wrap: anywhere;
}

.contact-cards strong small {
  display: block;
  margin-top: 5px;
  color: #45666e;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.45;
}

.contact-cards a {
  text-decoration: none;
}

.contact-cards a:hover {
  color: var(--teal-deep);
  text-decoration: underline;
}

.contact-form {
  box-shadow: 0 26px 62px rgb(13 27 42 / 12%);
}

.contact-form h3 {
  margin-bottom: 18px;
  font-size: 2rem;
}

.form-notice {
  border-left-color: var(--teal);
  background: var(--mint);
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  border-color: rgb(23 167 183 / 32%);
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-color: var(--teal);
  box-shadow: 0 0 0 5px rgb(23 167 183 / 10%);
}

.required-note {
  margin: 15px 0;
  color: #42656b;
  font-size: 0.8rem;
}

.call-summary {
  border: 1px solid var(--teal);
  background:
    radial-gradient(circle at 80% 0%, rgb(23 167 183 / 23%), transparent 30rem),
    var(--navy);
}

.faq {
  background:
    radial-gradient(circle at 50% 82%, rgb(190 247 234 / 48%), transparent 28rem),
    var(--paper);
}

.faq-item {
  border-color: rgb(23 167 183 / 21%);
  box-shadow: 0 8px 22px rgb(13 27 42 / 4%);
}

.faq-item:focus-within {
  border-color: var(--teal);
  box-shadow: 0 12px 28px rgb(23 167 183 / 13%);
}

.faq-answer {
  color: #345c64;
  font-size: 0.88rem;
  font-style: italic;
}

.faq-cta {
  background:
    radial-gradient(circle at 50% 10%, rgb(190 247 234 / 75%), transparent 24rem),
    var(--white);
}

.faq-footnote {
  margin-top: 18px !important;
  font-size: 0.82rem !important;
}

.site-footer {
  border-top: 3px solid var(--teal);
  background:
    radial-gradient(circle at 15% 20%, rgb(23 167 183 / 15%), transparent 26rem),
    var(--navy);
}

.footer-grid {
  grid-template-columns: 1.45fr repeat(4, minmax(0, 1fr));
  gap: 34px;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-grid a,
.footer-grid .unpublished {
  display: block;
  color: #c9e2df;
  font-size: 0.82rem;
  line-height: 1.45;
  text-decoration: none;
}

.footer-grid .unpublished {
  opacity: 0.62;
  cursor: default;
}

.footer-grid > div:not(.footer-brand) p {
  margin-top: 0;
  color: #c9e2df;
  font-size: 0.82rem;
}

.social-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding-block: 26px;
  border-top: 1px solid rgb(255 255 255 / 10%);
  color: #c9e2df;
  font-size: 0.82rem;
}

.social-note p {
  flex-basis: 100%;
}

.social-note span {
  color: var(--mint-mid);
  font-weight: 750;
  opacity: 0.7;
}

.reactive-card {
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.reactive-card:hover,
.reactive-card:focus-within {
  border-color: var(--teal) !important;
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgb(13 143 158 / 17%);
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.84fr);
    padding-inline: 42px;
    column-gap: 42px;
  }

  .hero-photo-frame {
    height: 510px;
  }

  .profile-card {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    min-height: 230px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  h1 {
    font-size: clamp(2.8rem, 7.2vw, 4.4rem);
  }

  .hero {
    grid-template-columns: 1fr;
    padding-inline: 32px;
  }

  .hero-visual {
    width: min(100%, 700px);
    min-height: 580px;
    margin-inline: auto;
  }

  .hero-photo-frame {
    height: 545px;
  }

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

@media (max-width: 699px) {
  body {
    font-size: 16px;
  }

  h2 {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .hero {
    padding: 42px 20px 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.55rem, 13vw, 3.5rem);
  }

  .hero-quote {
    font-size: 0.92rem;
  }

  .hero-visual {
    min-height: 492px;
    padding: 0 0 52px;
  }

  .hero-photo-frame {
    height: 445px;
    border-radius: 16px;
  }

  .floating-note-top {
    width: 182px;
    padding: 14px;
  }

  .floating-note-bottom {
    width: 220px;
  }

  .about-proof {
    grid-template-columns: 1fr 1fr;
  }

  .metric-card {
    min-height: 130px;
    padding: 18px;
  }

  .metric-card strong {
    font-size: 2.15rem;
  }

  .about-statement {
    grid-column: 1 / -1;
  }

  .profile-card {
    min-height: 0;
  }

  .profile-copy {
    padding: 30px 24px 36px;
  }

  .mid-cta {
    padding: 44px 24px;
  }

  .logo-chip {
    min-width: 118px;
    height: 98px;
  }

  .logo-chip img {
    width: 40px;
    height: 40px;
  }

  .service-card {
    padding: 27px 24px;
  }

  .service-card h3 {
    min-height: 0;
  }

  .method {
    padding-inline: 20px;
  }

  .method-grid article {
    padding: 23px;
  }

  .manifest-stats div {
    align-items: flex-start;
  }

  .contact-form {
    padding: 28px 22px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 430px) {
  .about-proof,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-statement,
  .footer-brand {
    grid-column: auto;
  }

  .hero-photo-frame {
    height: 410px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .logo-marquee-track {
    animation: none;
  }

  .logo-set[aria-hidden="true"] {
    display: none;
  }
}

/* Matiz visual 02: navegación por scroll, hero compacto y escenas ligeras. */

.viewport-menu {
  position: absolute;
  z-index: 130;
  top: 48px;
  right: clamp(20px, 4vw, 58px);
  font-family: "Aptos", "Source Sans 3", system-ui, sans-serif;
  transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 0s;
}

.viewport-menu.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
}

.viewport-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 0 10px 14px;
  border: 0;
  background: transparent;
  color: var(--petrol);
  cursor: pointer;
  font: inherit;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.viewport-menu-trigger span {
  color: var(--teal-deep);
  font-size: 0.78em;
  transition: transform 180ms ease;
}

.viewport-menu-trigger[aria-expanded="true"] span {
  transform: rotate(180deg);
}

.viewport-menu-trigger:hover,
.viewport-menu-trigger:focus-visible {
  color: var(--teal-deep);
}

.viewport-menu-panel {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px;
  border: 1px solid rgb(23 167 183 / 30%);
  border-radius: 14px;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 22px 48px rgb(13 27 42 / 15%);
  backdrop-filter: blur(12px);
}

.viewport-menu-panel[hidden] {
  display: none;
}

.viewport-menu-panel a,
.viewport-menu-panel .nav-pending {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--petrol);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.viewport-menu-panel a:hover,
.viewport-menu-panel a:focus-visible {
  background: var(--mint);
  color: var(--teal-deep);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-100%);
  border-bottom: 1px solid transparent;
  background: var(--navy);
  box-shadow: none;
  transition: opacity 220ms ease, transform 260ms ease, visibility 0s linear 260ms, box-shadow 220ms ease;
}

.site-header.site-header--scrolled {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  border-bottom-color: rgb(23 167 183 / 35%);
  box-shadow: 0 9px 28px rgb(13 27 42 / 16%);
  transition: opacity 220ms ease, transform 260ms ease, visibility 0s linear 0s, box-shadow 220ms ease;
}

.site-header .header-inner {
  height: 64px;
  padding-inline: clamp(20px, 4vw, 58px);
}

.site-header .brand-link {
  opacity: 0;
  transform: translateX(32px) scale(1.2);
  transition: opacity 220ms ease 80ms, transform 320ms cubic-bezier(.2,.7,.2,1) 40ms;
}

.site-header--scrolled .brand-link {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.site-header .brand-link img {
  width: 44px;
  height: 44px;
}

.site-header .desktop-nav {
  gap: clamp(24px, 3vw, 46px);
}

.site-header .desktop-nav a,
.site-header .desktop-nav .nav-pending,
.site-header .mobile-nav a,
.site-header .mobile-nav .nav-pending {
  font-family: "Aptos", "Source Sans 3", system-ui, sans-serif;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.site-header .desktop-nav a {
  color: var(--white);
}

.site-header .desktop-nav a:hover,
.site-header .desktop-nav a[aria-current="location"] {
  color: var(--mint-mid);
}

.site-header .desktop-nav .nav-pending {
  color: #9cb7b6;
  opacity: 0.62;
}

.site-header .menu-toggle span {
  background: var(--white);
}

.hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.88fr);
  align-items: start;
  padding-top: clamp(20px, 3vw, 42px);
  column-gap: clamp(48px, 6vw, 92px);
}

.hero-copy {
  align-self: start;
  padding-top: clamp(4px, 1vw, 12px);
}

.hero-copy .eyebrow {
  margin-bottom: 14px;
}

.hero-copy h1 {
  max-width: 19ch;
  font-size: clamp(1.9rem, 2.6vw, 2.65rem);
  line-height: 1.07;
  letter-spacing: -0.025em;
  text-shadow: 0 9px 26px rgb(13 27 42 / 7%);
}

.hero-lede {
  max-width: 610px;
  margin-top: 20px;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.58;
}

.hero-actions {
  gap: 13px;
  margin-top: 24px;
}

.hero-actions .button {
  min-width: 0;
  padding: 12px 22px;
  font-size: 0.82rem;
}

.button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 999px;
}

.button-spark::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: -45% auto -45% -42%;
  width: 26%;
  pointer-events: none;
  background: linear-gradient(105deg, transparent, rgb(255 255 255 / 68%), transparent);
  opacity: 0;
  transform: translateX(0) skewX(-18deg);
  animation: button-spark 4.2s ease-in-out infinite;
}

@keyframes button-spark {
  0%, 66% { opacity: 0; transform: translateX(0) skewX(-18deg); }
  70% { opacity: 1; }
  86% { opacity: 0.8; transform: translateX(590%) skewX(-18deg); }
  100% { opacity: 0; transform: translateX(590%) skewX(-18deg); }
}

.hero-visual {
  min-height: 500px;
  padding: 72px 26px 42px;
  transform: translateY(-14px);
}

.hero-logo {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 50%;
  display: block;
  transform: translateX(-50%);
  transition: transform 220ms ease, filter 220ms ease;
}

.hero-logo:hover,
.hero-logo:focus-visible {
  transform: translateX(-50%) scale(1.05);
  filter: drop-shadow(0 9px 16px rgb(23 167 183 / 24%));
}

.hero-logo img {
  width: 78px;
  height: 68px;
  object-fit: contain;
}

.hero-photo-frame {
  height: 440px;
  border-radius: 18px;
}

.floating-note {
  gap: 5px;
  border-radius: 10px;
}

.floating-note-top {
  top: 104px;
  right: -2px;
  width: 178px;
  padding: 13px 15px;
}

.floating-note-top strong {
  font-size: 1.48rem;
}

.floating-note-top span {
  font-size: 0.69rem;
  line-height: 1.32;
}

.floating-note-bottom {
  bottom: 18px;
  left: -2px;
  width: 196px;
  padding: 12px 14px;
}

.floating-note-bottom strong {
  font-size: 0.82rem;
}

.floating-note-bottom span {
  font-size: 0.62rem;
}

.capability-marquee {
  grid-column: 1 / -1;
  margin: 0 clamp(-92px, -6vw, -36px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.capability-track {
  width: max-content;
  display: flex;
  animation: capability-scroll 58s linear infinite;
}

.capability-set {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  padding: 10px 5px 22px;
}

.capability-set span {
  padding: 7px 14px;
  border: 1px solid rgb(23 167 183 / 38%);
  border-radius: 999px;
  background: rgb(255 255 255 / 74%);
  color: var(--petrol);
  box-shadow: 0 7px 18px rgb(13 27 42 / 5%);
  font-size: 0.73rem;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.capability-marquee:hover .capability-track {
  animation-play-state: paused;
}

@keyframes capability-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.about-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(46px, 6vw, 78px);
}

.about-proof {
  align-self: start;
  gap: 8px;
  margin-top: 88px;
}

.metric-card {
  min-height: 82px;
  gap: 4px;
  padding: 12px 15px;
  border-radius: 9px;
}

.metric-card strong {
  font-size: 1.55rem;
}

.metric-card span {
  font-size: 0.72rem;
  line-height: 1.22;
}

.about-statement {
  min-height: 0;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 11px;
}

.about-statement h3 {
  font-size: 1.03rem;
  line-height: 1.24;
}

.about-statement p {
  font-size: 0.76rem;
  line-height: 1.42;
}

.profile-card {
  position: relative;
  min-height: 0;
  grid-template-columns: 38% 1fr;
}

.profile-photo,
.profile-photo.profile-photo-light {
  min-height: 360px;
  overflow: hidden;
  background: var(--navy);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center 28%;
}

.profile-photo-light img {
  object-position: center 40%;
}

.profile-copy {
  padding: 30px 28px 26px;
}

.profile-copy h3 {
  padding-right: 28px;
}

.profile-role {
  margin-top: 7px;
  font-size: 0.72rem;
  line-height: 1.35;
}

.profile-details {
  position: relative;
  max-height: 8.1rem;
  overflow: hidden;
  transition: max-height 360ms cubic-bezier(.2,.7,.2,1);
}

.profile-details::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3.6rem;
  pointer-events: none;
  background: linear-gradient(transparent, var(--white));
  transition: opacity 180ms ease;
}

.profile-card-dark .profile-details::after {
  background: linear-gradient(transparent, var(--navy));
}

.profile-card.is-expanded .profile-details::after {
  opacity: 0;
}

.profile-copy .profile-details p {
  margin-top: 13px;
  font-size: 0.82rem;
  line-height: 1.53;
}

.profile-more {
  margin-top: 16px;
  padding: 8px 16px;
  border: 1px solid var(--teal);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.profile-more:hover,
.profile-more:focus-visible {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.profile-card {
  grid-template-columns: 224px minmax(0, 1fr);
}

.profile-media {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 0 24px 24px;
}

.profile-media .profile-photo,
.profile-media .profile-photo.profile-photo-light {
  width: 176px;
  height: 230px;
  margin: 0;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--teal);
  border-radius: 999px;
  color: var(--mint-mid);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.linkedin-link:hover,
.linkedin-link:focus-visible {
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-2px);
}

.linkedin-mark {
  position: static;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  background: var(--teal);
  -webkit-mask: url("../assets/source/logos%20banda%20movil/linkedin.svg") center / contain no-repeat;
  mask: url("../assets/source/logos%20banda%20movil/linkedin.svg") center / contain no-repeat;
  filter: drop-shadow(0 5px 10px rgb(23 167 183 / 20%));
}

.linkedin-link:hover .linkedin-mark,
.linkedin-link:focus-visible .linkedin-mark {
  background: currentcolor;
}

.mid-cta {
  width: calc(100% + 96px);
  max-width: none;
  margin-left: -48px;
  padding: 34px clamp(34px, 6vw, 72px);
}

.mid-cta h3 {
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
}

.mid-cta > p:not(.eyebrow) {
  margin-top: 12px;
}

.mid-cta .button {
  margin-top: 18px;
}

.tools {
  padding-block: 58px 48px;
}

.tools-inner {
  min-height: 0;
  padding: 0;
}

.tools-kicker {
  color: var(--white);
  font-family: "Aptos", "Source Sans 3", system-ui, sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.logo-marquee {
  margin-top: 28px;
  border: 0;
  background: transparent;
}

.logo-marquee-track {
  animation-duration: 48s;
}

.logo-set {
  gap: clamp(34px, 5vw, 72px);
  padding: 20px clamp(17px, 2.5vw, 36px);
}

.logo-chip {
  min-width: 58px;
  height: 66px;
  gap: 0;
  padding: 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.logo-chip:hover {
  border: 0;
  transform: translateY(-4px) scale(1.08);
  box-shadow: none;
  filter: drop-shadow(0 10px 16px rgb(13 27 42 / 24%));
}

.logo-chip img {
  width: 52px;
  height: 52px;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.logo-chip span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.tools-note {
  margin-top: 22px;
  text-align: center;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 26px;
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 5.5vw, 3rem);
  }

  .hero-visual {
    transform: none;
  }

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

  .about-proof {
    margin-top: 0;
  }

  .profile-card {
    grid-template-columns: 38% 1fr;
  }

  .mid-cta {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 699px) {
  .viewport-menu {
    top: 42px;
    right: 16px;
  }

  .site-header .header-inner {
    height: 60px;
  }

  .site-header .mobile-nav {
    border-top-color: rgb(255 255 255 / 12%);
    background: var(--navy);
  }

  .site-header .mobile-nav a {
    color: var(--white);
  }

  .hero-copy h1 {
    font-size: clamp(1.9rem, 9vw, 2.5rem);
  }

  .hero-lede {
    font-size: 0.98rem;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-actions .button {
    width: auto;
    flex: 1 1 170px;
  }

  .hero-visual {
    min-height: 432px;
    padding-top: 68px;
  }

  .hero-logo img {
    width: 70px;
    height: 61px;
  }

  .hero-photo-frame {
    height: 370px;
  }

  .floating-note-top {
    top: 98px;
    right: -5px;
    width: 156px;
  }

  .floating-note-bottom {
    bottom: 12px;
    left: -5px;
    width: 178px;
  }

  .capability-marquee {
    margin-inline: -20px;
  }

  .capability-set span {
    font-size: 0.69rem;
  }

  .about-proof {
    grid-template-columns: 1fr 1fr;
  }

  .profile-card {
    grid-template-columns: 1fr;
  }

  .profile-photo,
  .profile-photo.profile-photo-light,
  .profile-photo img {
    min-height: 260px;
    height: 260px;
  }

  .profile-copy {
    padding: 26px 22px 24px;
  }

  .linkedin-mark {
    top: 282px;
    right: 22px;
  }

  .mid-cta {
    padding: 30px 22px;
  }

  .logo-set {
    gap: 32px;
  }

  .logo-chip {
    min-width: 48px;
    height: 58px;
  }

  .logo-chip img {
    width: 46px;
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button-spark::before {
    animation: none;
  }

  .capability-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .capability-track {
    animation: none;
  }

  .capability-set[aria-hidden="true"] {
    display: none;
  }
}

/* Matiz visual 03: vuelo del logo, cards compactas y manifiesto editorial. */

.viewport-menu {
  top: 18px;
}

.site-header .brand-link,
.site-header--scrolled .brand-link {
  opacity: 1;
  transform: none;
  transition: none;
}

.hero-logo.is-logo-hidden,
.brand-link.is-logo-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
}

.logo-flight {
  position: fixed;
  z-index: 180;
  display: block;
  margin: 0;
  pointer-events: none;
  object-fit: contain;
  filter: drop-shadow(0 9px 16px rgb(23 167 183 / 18%));
  will-change: left, top, width, height;
}

.hero {
  padding-top: clamp(12px, 2vw, 28px);
}

.hero-visual {
  min-height: 494px;
  padding: 108px 26px 32px;
}

.hero-logo {
  top: 6px;
}

.hero-photo-frame {
  height: 420px;
}

.hero-claims {
  max-width: 610px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 11px;
  margin-top: 22px;
}

.hero-claims .floating-note {
  position: relative;
  inset: auto;
  width: auto;
  min-height: 76px;
  display: flex;
  justify-content: center;
  padding: 12px 15px;
  border: 1px solid rgb(23 167 183 / 30%);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgb(13 27 42 / 8%);
}

.hero-claims .floating-note-top {
  background: var(--navy);
}

.hero-claims .floating-note-bottom {
  background: rgb(255 255 255 / 86%);
}

.hero-claims .floating-note-top strong {
  font-size: 1.25rem;
}

.hero-claims .floating-note-top span,
.hero-claims .floating-note-bottom span {
  font-size: 0.64rem;
  line-height: 1.3;
}

.hero-claims .floating-note-bottom strong {
  font-size: 0.78rem;
}

.profile-card {
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
}

.profile-photo,
.profile-photo.profile-photo-light {
  width: 176px;
  height: 230px;
  min-height: 0;
  margin: 24px 0 24px 24px;
  overflow: hidden;
  border: 1px solid rgb(23 167 183 / 24%);
  border-radius: 12px;
}

.profile-photo img,
.profile-photo.profile-photo-light img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.service-grid {
  gap: 16px;
}

.services {
  overflow-x: clip;
}

.service-card {
  min-height: 0;
  gap: 12px;
  padding: 20px;
  border-radius: 11px;
}

.card-mark {
  min-height: 48px;
  gap: 15px;
  padding: 9px 16px;
  border-radius: 8px;
}

.card-mark img {
  width: 29px;
  height: 29px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.service-symbol {
  width: 29px;
  height: 29px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.service-symbol-make {
  font-size: 1.05rem;
  font-style: italic;
  letter-spacing: -0.12em;
  transform: skewX(-12deg);
}

.service-symbol-spark {
  font-size: 1.75rem;
}

.service-symbol-bolt {
  font-size: 1.9rem;
}

.service-card h3 {
  min-height: 2.42em;
  margin: 1px 4px 0;
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
  line-height: 1.21;
}

.service-card > p {
  margin: 0 4px;
  font-size: 0.83rem;
  line-height: 1.5;
}

.service-card .example {
  margin-top: auto;
  padding: 11px 13px;
  font-size: 0.75rem;
  line-height: 1.45;
}

.cdi-product {
  position: relative;
  width: 100vw;
  margin: clamp(54px, 7vw, 88px) calc(50% - 50vw) 0;
  overflow: clip;
  border: 0;
  border-block: 1px solid rgb(23 167 183 / 58%);
  border-radius: 0;
  background:
    radial-gradient(circle at 13% 18%, rgb(23 167 183 / 32%), transparent 22rem),
    radial-gradient(circle at 88% 72%, rgb(9 129 176 / 20%), transparent 28rem),
    linear-gradient(135deg, #142535, var(--navy) 58%, #08131f);
  color: var(--white);
  box-shadow: inset 0 1px rgb(255 255 255 / 5%), 0 28px 70px rgb(13 27 42 / 16%);
}

.cdi-product.reactive-card:hover,
.cdi-product.reactive-card:focus-within {
  border-color: var(--teal);
  box-shadow: inset 0 1px rgb(255 255 255 / 8%), 0 32px 86px rgb(13 27 42 / 24%), 0 0 42px rgb(23 167 183 / 13%);
  transform: none;
}

.cdi-product-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 96px), 1240px);
  margin-inline: auto;
  padding: clamp(54px, 7vw, 88px) 0;
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.55fr);
  gap: clamp(44px, 7vw, 92px);
  align-items: start;
}

.cdi-product-brand {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.cdi-logo-panel {
  width: min(100%, 320px);
  padding: 18px;
  border: 1px solid rgb(23 167 183 / 52%);
  border-radius: 24px;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 24px 54px rgb(0 0 0 / 25%), 0 0 42px rgb(23 167 183 / 16%);
}

.cdi-logo-panel img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.cdi-site-link {
  width: min(100%, 320px);
}

.cdi-product-copy .eyebrow {
  margin-bottom: 11px;
  color: var(--teal);
}

.cdi-product-copy h2 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(2.35rem, 5.2vw, 4.9rem);
  line-height: 0.98;
}

.cdi-product-copy > p:not(.eyebrow):not(.cdi-sectors) {
  max-width: 830px;
  margin-top: 18px;
  color: rgb(255 255 255 / 82%);
  font-size: 0.96rem;
  line-height: 1.62;
}

.cdi-product-copy .cdi-intro {
  color: var(--white);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.cdi-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid rgb(190 247 234 / 16%);
  border-radius: 14px;
  background: rgb(190 247 234 / 16%);
}

.cdi-feature-grid > div {
  min-height: 150px;
  padding: 20px;
  border: 1px solid transparent;
  background: rgb(13 27 42 / 80%);
}

.cdi-feature-grid > div:hover {
  border-color: var(--teal);
  background: rgb(23 167 183 / 22%);
}

.cdi-feature-grid span {
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.cdi-feature-grid h3 {
  margin-top: 6px;
  color: var(--white);
  font-size: 1rem;
}

.cdi-feature-grid p {
  margin-top: 8px;
  color: rgb(255 255 255 / 70%);
  font-size: 0.78rem;
  line-height: 1.48;
}

.cdi-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.cdi-flow li {
  position: relative;
  flex: 1 1 120px;
  padding: 10px 28px 10px 14px;
  border: 1px solid rgb(23 167 183 / 36%);
  border-radius: 8px;
  color: var(--mint-mid);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.cdi-flow li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: 9px;
  color: var(--teal);
  transform: translateY(-50%);
}

.cdi-flow li:hover {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}

.cdi-sectors {
  margin-top: 24px;
  padding: 17px 19px;
  border-left: 3px solid var(--teal);
  background: rgb(23 167 183 / 10%);
  color: rgb(255 255 255 / 84%);
  font-size: 0.86rem;
  line-height: 1.55;
}

.cdi-sectors strong {
  color: var(--white);
}

.method {
  margin-top: clamp(66px, 8vw, 104px);
  padding: 48px 32px;
}

.method .section-heading {
  margin-bottom: 30px;
}

.method .section-heading h2 {
  max-width: 820px;
  margin-inline: auto;
  font-size: clamp(1.8rem, 3.1vw, 2.45rem);
  line-height: 1.08;
}

.method .section-heading > p:last-child {
  max-width: 850px;
  margin-inline: auto;
  font-size: 0.92rem;
  line-height: 1.48;
}

.method-grid {
  gap: 12px;
}

.method-grid article {
  min-height: 0;
  padding: 19px;
}

.method-grid h3 {
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 0.95rem;
  line-height: 1.25;
}

.method-grid p {
  margin-top: 0;
  font-size: 0.77rem;
  line-height: 1.48;
}

.manifest .section-shell {
  width: min(calc(100% - 72px), 1240px);
}

.manifest-grid {
  grid-template-columns: minmax(0, 0.84fr) minmax(560px, 1.16fr);
  gap: clamp(44px, 5vw, 68px);
  align-items: start;
}

.manifest-stats {
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 108px;
}

.manifest-stats div {
  min-height: 78px;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border: 0;
  border-left: 4px solid var(--teal);
  border-radius: 10px;
  background: linear-gradient(100deg, #e4f3f2, #edf6f7);
  box-shadow: 0 9px 24px rgb(13 27 42 / 5%);
}

.manifest-stats strong {
  min-width: 0;
  color: var(--teal-deep);
  font-size: 1.7rem;
  line-height: 1;
}

.manifest-stats span {
  color: var(--petrol);
  font-size: 0.8rem;
  line-height: 1.35;
}

@media (min-width: 981px) {
  .manifest-grid h2 {
    font-size: clamp(2.35rem, 3.6vw, 3rem);
    white-space: nowrap;
  }
}

@media (max-width: 980px) {
  .hero-visual {
    min-height: 500px;
    padding-top: 110px;
  }

  .cdi-product-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .cdi-product-brand {
    z-index: 3;
    top: calc(var(--header-height) + 16px);
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    align-items: center;
    padding: 14px;
    border: 1px solid rgb(23 167 183 / 42%);
    border-radius: 20px;
    background: rgb(13 27 42 / 94%);
    box-shadow: 0 18px 42px rgb(0 0 0 / 24%);
    backdrop-filter: blur(12px);
  }

  .cdi-logo-panel {
    grid-row: span 2;
  }

  .manifest .section-shell {
    width: min(calc(100% - 64px), var(--max-width));
  }

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

  .manifest-stats {
    margin-top: 0;
  }
}

@media (max-width: 699px) {
  .viewport-menu {
    top: 12px;
  }

  .hero-claims {
    grid-template-columns: 1fr 1fr;
  }

  .hero-claims .floating-note {
    min-height: 82px;
    padding: 11px 12px;
  }

  .hero-visual {
    min-height: 422px;
    padding-top: 96px;
  }

  .hero-photo-frame {
    height: 326px;
  }

  .profile-card {
    grid-template-columns: 1fr;
  }

  .profile-media {
    width: 150px;
    margin: 24px auto 0;
    padding: 0;
  }

  .profile-media .profile-photo,
  .profile-media .profile-photo.profile-photo-light,
  .profile-media .profile-photo img,
  .profile-media .profile-photo.profile-photo-light img {
    width: 150px;
    height: 190px;
    min-height: 0;
  }

  .profile-media .profile-photo,
  .profile-media .profile-photo.profile-photo-light {
    margin: 0;
  }

  .linkedin-link {
    align-self: flex-start;
  }

  .cdi-product-inner {
    width: calc(100% - 40px);
    padding-block: 48px;
  }

  .cdi-product-brand {
    top: calc(var(--header-height) + 10px);
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 10px;
  }

  .cdi-logo-panel {
    grid-row: auto;
    width: 92px;
    padding: 7px;
    border-radius: 14px;
  }

  .cdi-logo-panel img {
    border-radius: 9px;
  }

  .cdi-product-brand .button {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 0.78rem;
  }

  .cdi-product-copy h2 {
    font-size: clamp(2.25rem, 12vw, 3.55rem);
    text-align: center;
  }

  .cdi-product-copy .eyebrow {
    text-align: center;
  }

  .cdi-feature-grid {
    grid-template-columns: 1fr;
  }

  .cdi-feature-grid > div {
    min-height: 0;
  }

  .cdi-flow {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cdi-flow li {
    padding-right: 14px;
  }

  .cdi-flow li::after {
    display: none;
  }

  .service-card {
    min-height: 0;
    padding: 18px;
  }

  .service-card h3 {
    min-height: 0;
  }

  .method {
    padding: 40px 18px;
  }

  .method-grid article {
    min-height: 0;
  }

  .manifest .section-shell {
    width: calc(100% - 40px);
  }

  .manifest-stats div {
    min-height: 88px;
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 13px 14px;
  }

  .manifest-stats strong {
    font-size: 1.48rem;
  }

  .manifest-stats span {
    font-size: 0.77rem;
  }
}

.form-mail-draft {
  margin-top: 10px;
}

.form-mail-draft[hidden] {
  display: none;
}

.form-mail-link {
  width: 100%;
}

.form-mail-draft p {
  margin-top: 10px;
  color: #42656b;
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
}

.legal-page,
.not-found-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 85% 10%, rgb(190 247 234 / 42%), transparent 28rem),
    var(--paper);
}

.legal-page-header {
  border-bottom: 1px solid rgb(23 167 183 / 28%);
  background: var(--navy);
  color: var(--white);
}

.legal-page-header-inner {
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-page-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-page-brand img {
  width: 44px;
  height: 38px;
}

.legal-page-back {
  color: var(--mint-mid);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-page-brand:hover,
.legal-page-back:hover {
  color: var(--teal);
}

.legal-main {
  padding-block: clamp(54px, 8vw, 96px);
}

.legal-content {
  width: min(calc(100% - 48px), 900px);
  margin-inline: auto;
  padding: clamp(30px, 5vw, 62px);
  border: 1px solid rgb(23 167 183 / 24%);
  border-radius: 18px;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 26px 64px rgb(13 27 42 / 10%);
}

.legal-content h1 {
  margin-bottom: clamp(32px, 5vw, 52px);
  font-size: clamp(2.45rem, 6vw, 4.6rem);
}

.legal-content h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  color: var(--teal-deep);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
}

.legal-content p,
.legal-content li {
  color: #264f58;
  font-size: 0.98rem;
  line-height: 1.72;
}

.legal-content p + p {
  margin-top: 14px;
}

.legal-content ul {
  margin: 0;
  padding-left: 1.25rem;
}

.legal-content li + li {
  margin-top: 7px;
}

.legal-content a {
  color: var(--teal-deep);
  font-weight: 700;
}

.legal-page-footer,
.not-found-footer {
  padding: 24px;
  border-top: 1px solid rgb(23 167 183 / 22%);
  color: #56747a;
  font-size: 0.78rem;
  text-align: center;
}

.not-found-main {
  min-height: calc(100svh - 69px);
  display: grid;
  place-items: center;
  padding: 48px 24px;
}

.not-found-card {
  width: min(100%, 760px);
  padding: clamp(38px, 7vw, 72px);
  border: 1px solid rgb(23 167 183 / 30%);
  border-radius: 24px;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 30px 74px rgb(13 27 42 / 13%);
  text-align: center;
}

.not-found-card img {
  width: 78px;
  margin: 0 auto 24px;
}

.not-found-code {
  color: var(--teal-deep);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.not-found-card h1 {
  margin-top: 10px;
  font-size: clamp(2.5rem, 7vw, 4.8rem);
}

.not-found-card > p:not(.not-found-code) {
  max-width: 570px;
  margin: 18px auto 0;
  color: #365d65;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

@media (max-width: 699px) {
  .legal-page-header-inner {
    width: calc(100% - 32px);
  }

  .legal-page-brand span {
    display: none;
  }

  .legal-content {
    width: calc(100% - 32px);
    padding: 28px 22px;
    border-radius: 14px;
  }

  .legal-content p,
  .legal-content li {
    font-size: 0.92rem;
  }

  .not-found-actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-flight {
    display: none;
  }
}
