@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --azul: #08718a;
  --azul-oscuro: #053847;
  --celeste: #23c6e8;
  --texto: #102b3a;
  --gris: #f5f8fa;
  --blanco: #ffffff;
  --header-alto: 86px;
  --hero-campo: url("../imagenes/Fondo principal.jpeg");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  color: var(--texto);
  background: var(--gris);
}

a {
  text-decoration: none;
  color: inherit;
}

.hero {
  min-height: 100vh;
  background: #08718a;
  color: white;
  overflow: hidden;
  position: relative;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  background-image: var(--hero-campo);
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.25) brightness(.72);
  opacity: .92;
}

.hero::after {
  background:
    linear-gradient(180deg, rgba(21, 204, 232, .48) 0%, rgba(8, 113, 138, .78) 74%),
    radial-gradient(circle at 55% 45%, rgba(255, 255, 255, .12), transparent 38%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 3px);
  mix-blend-mode: normal;
}

.nav {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  min-height: var(--header-alto);
  width: 100%;
  margin: 0;
  padding: 0 max(32px, calc((100vw - 1240px) / 2 + 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}

.nav.is-scrolled {
  background: rgba(0, 0, 0, .62);
  border-bottom-color: rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  width: 214px;
  height: 58px;
  flex: 0 0 auto;
  background: url("../imagenes/Logo-Creston-fdo-negro.png") left center / contain no-repeat;
}

.brand > * {
  display: none;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 8px;
  background: rgba(0, 0, 0, .18);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 999px;
  transition: .25s ease;
}

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

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

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

.menu a,
.menu-trigger {
  color: rgba(255, 255, 255, .94);
}

.menu a:hover,
.menu-trigger:hover {
  color: white;
}

.menu .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  width: 172px;
  padding: 10px 26px;
  border: 2px solid rgba(255, 255, 255, .92);
  border-radius: 9px;
  background: rgba(255, 255, 255, .02);
  color: white;
  font-weight: 400;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.menu .nav-cta:hover {
  background: rgba(255, 255, 255, .12);
  color: white;
  transform: scale(1.06);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
}

.menu-item {
  position: relative;
}

.menu-trigger {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  cursor: pointer;
  padding: 30px 0;
}

.menu-trigger::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
}

.submenu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 230px;
  max-height: calc(100vh - var(--header-alto) - 18px);
  overflow: auto;
  background: white;
  color: #344155;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .18);
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  transition: .2s ease;
}

.menu-item:hover .submenu,
.menu-item:focus-within .submenu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.submenu a {
  display: block;
  color: #344155;
  padding: 14px 20px;
  border-bottom: 1px solid #edf0f3;
  font-weight: 500;
}

.submenu a:hover {
  background: #f7fbfc;
  color: var(--azul);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: auto;
  min-height: 100vh;
  padding: calc(var(--header-alto) + 40px) 32px 80px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 60px;
}

.eyebrow {
  color: var(--celeste);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

h1 {
  font-size: clamp(44px, 6vw, 84px);
  line-height: .95;
  letter-spacing: -2px;
  margin-bottom: 28px;
}

.hero-content h1 {
  font-size: clamp(35px, 4.8vw, 67px);
}

h1 span {
  color: var(--celeste);
  display: block;
}

.hero p {
  font-size: 20px;
  line-height: 1.65;
  max-width: 500px;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 15px 26px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 999px;
  font-weight: 700;
  transition: .25s ease;
}

.btn:hover {
  background: white;
  color: var(--azul-oscuro);
  transform: translateY(-2px);
}

.orbit-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit {
  width: min(690px, 92vw);
  aspect-ratio: 1;
  position: relative;
  animation: slowSpin 95s linear infinite;
}

.ring {
  position: absolute;
  inset: 6.5%;
  border: 6px solid white;
  border-radius: 50%;
  opacity: .95;
}

.center-logo {
  position: absolute;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: transparent;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  box-shadow: none;
  overflow: hidden;
  z-index: 3;
}

.center-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: counterSpin 95s linear infinite;
}

.line {
  position: absolute;
  height: 6px;
  background: white;
  left: 50%;
  top: 50%;
  transform-origin: left center;
  opacity: .9;
  z-index: 1;
}

.node {
  position: absolute;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: white;
  display: grid;
  place-items: center;
  color: var(--azul);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  padding: 12px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, .18);
  transition: box-shadow .25s ease, scale .25s ease;
  z-index: 2;
}

.node span {
  animation: counterSpin 95s linear infinite;
}

.node:hover {
  scale: 1.12;
  box-shadow: 0 22px 48px rgba(0, 0, 0, .28);
}

.node img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 58px;
  max-height: 58px;
  object-fit: contain;
  animation: counterSpin 95s linear infinite;
}

.orbit-tooltip {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 8;
  padding: 9px 13px;
  background: rgba(0, 0, 0, .76);
  color: white;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -160%) scale(.96);
  transition: opacity .22s ease, transform .22s ease;
  animation: counterSpin 95s linear infinite;
}

.orbit-tooltip.is-visible {
  opacity: 1;
  transform: translate(-50%, -185%) scale(1);
}

@keyframes slowSpin {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}

@keyframes counterSpin {
  from { rotate: 0deg; }
  to { rotate: -360deg; }
}

.section {
  background: white;
  padding: 90px 32px;
}

.container {
  max-width: 1180px;
  margin: auto;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 55px;
}

h2 {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-header p,
.page-intro p {
  max-width: 620px;
  line-height: 1.65;
  color: #55707d;
  font-size: 18px;
}

.chain {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.step {
  text-align: center;
  padding: 24px 14px;
}

.step-icon {
  width: 92px;
  height: 92px;
  border: 1px solid rgba(35, 198, 232, .6);
  border-radius: 50%;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  font-size: 36px;
  background: #faffff;
  box-shadow: 0 10px 25px rgba(8, 113, 138, .08);
  color: var(--azul-oscuro);
}

.step-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step h3 {
  font-size: 16px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.step p {
  font-size: 14px;
  line-height: 1.55;
  color: #5a7280;
}

.companies {
  background: linear-gradient(180deg, #f7fbfc 0%, #ffffff 100%);
}

.company-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.company-card {
  flex: 0 1 calc((100% - 108px) / 7);
  min-height: 118px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(6, 50, 65, .08);
  display: flex;
  flex-direction: column;
  place-items: center;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 14px;
  font-weight: 900;
  color: var(--azul);
  text-align: center;
  transition: .25s ease;
}

.company-card:nth-child(n + 8) {
  flex-basis: calc((100% - 126px) / 8);
}

.company-card img {
  width: 100%;
  max-width: 108px;
  height: 48px;
  object-fit: contain;
}

.company-card span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
}

.company-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 42px rgba(6, 50, 65, .14);
}

.value-proposal {
  background: #f7fbfc;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  min-height: 260px;
  background: white;
  border: 1px solid rgba(8, 113, 138, .12);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(6, 50, 65, .06);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.value-card span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: rgba(35, 198, 232, .12);
  color: var(--azul);
  font-weight: 800;
  font-size: 14px;
}

.value-card h3 {
  margin-bottom: 14px;
  color: var(--azul-oscuro);
  font-size: 18px;
  line-height: 1.25;
  text-transform: uppercase;
}

.value-card p {
  color: #55707d;
  font-size: 15px;
  line-height: 1.65;
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(35, 198, 232, .35);
  box-shadow: 0 22px 44px rgba(6, 50, 65, .1);
}

.vision-section {
  background: white;
}

.vision-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.vision-copy {
  padding: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f7fbfc 0%, #ffffff 100%);
  border: 1px solid rgba(8, 113, 138, .12);
  box-shadow: 0 18px 44px rgba(6, 50, 65, .07);
}

.vision-copy h2 {
  margin-bottom: 22px;
}

.vision-copy h3 {
  margin-bottom: 12px;
  color: var(--azul-oscuro);
  font-size: 18px;
  line-height: 1.35;
}

.vision-copy p {
  color: #55707d;
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.vision-copy p:last-child {
  margin-bottom: 0;
}

.vision-copy strong {
  color: var(--azul-oscuro);
  font-weight: 800;
}

.vision-lead {
  color: var(--azul-oscuro) !important;
  font-size: 20px !important;
  font-weight: 700;
}

.vision-photos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 92px;
  gap: 14px;
}

.vision-photo {
  border-radius: 8px;
  overflow: hidden;
  background: #dceff3;
  box-shadow: 0 14px 34px rgba(6, 50, 65, .1);
  transition: transform .35s ease, box-shadow .35s ease;
  animation: photoFloat 5.8s ease-in-out infinite;
}

.vision-photo:nth-child(1) {
  grid-column: span 4;
  grid-row: span 2;
}

.vision-photo:nth-child(2) {
  grid-column: span 4;
  grid-row: span 2;
}

.vision-photo:nth-child(3) {
  grid-column: span 2;
  grid-row: span 2;
}

.vision-photo:nth-child(4) {
  grid-column: span 2;
  grid-row: span 3;
}

.vision-photo:nth-child(5) {
  grid-column: span 2;
  grid-row: span 2;
}

.vision-photo:nth-child(6) {
  grid-column: span 4;
  grid-row: span 2;
}

.vision-photo:nth-child(7) {
  grid-column: span 4;
  grid-row: span 2;
}

.vision-photo:nth-child(2n) {
  animation-delay: .45s;
}

.vision-photo:nth-child(3n) {
  animation-delay: .9s;
}

.vision-photo:nth-child(1) img {
  object-position: center bottom;
}

.vision-photo:nth-child(2) img {
  object-position: center center;
  scale: 1.04;
}

.vision-photo:nth-child(3) img {
  object-position: right center;
  scale: 1.16;
}

.vision-photo:nth-child(4) img {
  object-position: center top;
  scale: 1.1;
}

.vision-photo:nth-child(5) img {
  object-position: 35% 55%;
  scale: 1.2;
}

.vision-photo:nth-child(6) img {
  object-position: 70% 55%;
  scale: 1.12;
}

.vision-photo:nth-child(7) img {
  object-position: center center;
  scale: 1.04;
}

.vision-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.9) contrast(1.05);
  transition: transform .7s ease, filter .7s ease;
}

.vision-photo:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(6, 50, 65, .16);
}

.vision-photo:hover img {
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.08);
}

@keyframes photoFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}

.stats {
  background:
    linear-gradient(rgba(5, 45, 59, .35), rgba(5, 45, 59, .35)),
    url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?q=80&w=1800&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  padding: 90px 32px;
}

.site-footer {
  background: #032b34;
  color: white;
  padding: 48px 32px 26px;
}

.footer-inner {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr .8fr;
  gap: 42px;
  align-items: start;
}

.footer-logo {
  display: block;
  width: 220px;
  max-width: 100%;
  margin-bottom: 18px;
}

.footer-brand {
  display: inline-block;
}

.footer-inner p {
  max-width: 520px;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.55;
}

.footer-contact h2 {
  color: white;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0;
  margin-bottom: 4px;
}

.footer-contact p,
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, .78);
}

.footer-contact a:hover {
  color: white;
}

.contact-address {
  margin-bottom: 2px;
}

.contact-link {
  width: max-content;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.social-icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  color: var(--celeste);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px 24px;
  font-size: 14px;
  font-weight: 700;
}

.footer-links a {
  color: rgba(255, 255, 255, .82);
}

.footer-links a:hover {
  color: white;
}

.footer-menu-item {
  position: relative;
}

.footer-menu-trigger {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .82);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
}

.footer-menu-trigger::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
}

.footer-menu-trigger:hover {
  color: white;
}

.footer-submenu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  min-width: 240px;
  max-height: 320px;
  overflow: auto;
  background: white;
  color: #344155;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  transition: .2s ease;
}

.footer-menu-item:hover .footer-submenu,
.footer-menu-item:focus-within .footer-submenu,
.footer-menu-item.is-open .footer-submenu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.footer-submenu a {
  display: block;
  color: #344155;
  padding: 13px 18px;
  border-bottom: 1px solid #edf0f3;
  font-weight: 600;
}

.footer-submenu a:hover {
  background: #f7fbfc;
  color: var(--azul);
}

.footer-bottom {
  max-width: 1180px;
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
}

.stats-panel {
  max-width: 1180px;
  margin: auto;
  background: rgba(5, 45, 59, .78);
  color: white;
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.stat {
  padding: 40px;
  border-right: 1px solid rgba(255, 255, 255, .22);
}

.stat:last-child {
  border-right: none;
}

.stat strong {
  font-size: 42px;
  display: block;
  margin-bottom: 8px;
}

.stat span {
  color: rgba(255, 255, 255, .75);
  line-height: 1.45;
}

.page-hero {
  background: linear-gradient(135deg, #052d3b 0%, #08718a 100%);
  color: white;
}

.page-hero .nav {
  color: white;
}

.page-intro {
  max-width: 1180px;
  margin: auto;
  padding: calc(var(--header-alto) + 80px) 32px 100px;
}

.page-intro h1 {
  max-width: 820px;
}

.page-intro p {
  color: rgba(255, 255, 255, .82);
}

.company-page-hero {
  background:
    linear-gradient(135deg, rgba(5, 45, 59, .94), rgba(8, 113, 138, .9)),
    var(--hero-campo);
  background-size: cover;
  background-position: center;
  color: white;
}

.company-hero-content {
  max-width: 1180px;
  margin: auto;
  padding: calc(var(--header-alto) + 78px) 32px 96px;
  display: grid;
  grid-template-columns: 1.2fr 360px;
  gap: 54px;
  align-items: center;
}

.company-hero-content h1 {
  max-width: 820px;
}

.company-hero-content p {
  color: rgba(255, 255, 255, .82);
  max-width: 640px;
  font-size: 19px;
  line-height: 1.65;
}

.company-logo-panel {
  min-height: 260px;
  border-radius: 8px;
  background: white;
  display: grid;
  place-items: center;
  padding: 42px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, .22);
}

.company-logo-panel img {
  width: 100%;
  max-width: 230px;
  max-height: 150px;
  object-fit: contain;
}

.company-detail {
  background: #f7fbfc;
}

.company-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 28px;
  align-items: start;
}

.company-copy,
.company-facts,
.company-contact-card,
.company-note {
  background: white;
  border-radius: 8px;
  border: 1px solid rgba(8, 113, 138, .12);
  box-shadow: 0 12px 30px rgba(6, 50, 65, .06);
}

.company-copy {
  padding: 34px;
}

.company-copy h2,
.company-facts h2,
.company-contact-card h2,
.company-note h2 {
  font-size: 26px;
  margin-bottom: 18px;
  letter-spacing: 0;
}

.company-copy h3 {
  margin: 26px 0 10px;
  color: var(--azul-oscuro);
  font-size: 18px;
}

.company-copy p,
.company-copy li,
.company-note p {
  color: #55707d;
  font-size: 16px;
  line-height: 1.7;
}

.company-copy p + p {
  margin-top: 14px;
}

.company-copy ul {
  margin: 10px 0 0 20px;
}

.company-facts,
.company-contact-card,
.company-note {
  padding: 28px;
}

.company-contact-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin-top: 24px;
  display: grid;
  gap: 8px;
}

.company-contact-card h2 {
  font-size: 18px;
  margin-bottom: 2px;
  color: var(--azul-oscuro);
}

.company-contact-card p,
.company-contact-card a {
  color: #55707d;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.company-contact-card a {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--azul);
}

.company-contact-card a:hover {
  color: var(--azul-oscuro);
}

.company-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.company-photo {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background: #eaf3f5;
}

.company-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.fact-list {
  display: grid;
  gap: 14px;
}

.fact-item {
  border-bottom: 1px solid #edf0f3;
  padding-bottom: 14px;
}

.fact-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.fact-label {
  display: block;
  color: var(--azul);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.fact-value {
  color: var(--texto);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
}

.fact-value a {
  color: var(--azul);
  overflow-wrap: anywhere;
}

.fact-value a:hover {
  color: var(--azul-oscuro);
}

.placeholder-logo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(8, 113, 138, .18);
  display: grid;
  place-items: center;
  color: var(--azul);
  font-weight: 900;
  background: #faffff;
}

.placeholder-logo img {
  width: 78%;
  max-height: 78%;
  object-fit: contain;
}

.section-header,
.step,
.company-card,
.value-card,
.vision-copy,
.vision-photo,
.company-copy,
.company-facts,
.company-contact-card,
.company-note,
.stat {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1.05s ease, transform 1.05s ease;
}

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

.step:nth-child(2),
.company-card:nth-child(2),
.value-card:nth-child(2),
.vision-photo:nth-child(2),
.stat:nth-child(2) {
  transition-delay: .07s;
}

.step:nth-child(3),
.company-card:nth-child(3),
.value-card:nth-child(3),
.vision-photo:nth-child(3),
.stat:nth-child(3) {
  transition-delay: .14s;
}

.step:nth-child(4),
.company-card:nth-child(4),
.value-card:nth-child(4),
.vision-photo:nth-child(4),
.stat:nth-child(4) {
  transition-delay: .21s;
}

.step:nth-child(5),
.company-card:nth-child(5),
.value-card:nth-child(5),
.vision-photo:nth-child(5) {
  transition-delay: .28s;
}

.value-card:nth-child(6) {
  transition-delay: .35s;
}

.vision-photo:nth-child(n + 6) {
  transition-delay: .35s;
}

@media (max-width: 900px) {
  .nav {
    min-height: 76px;
    align-items: center;
    padding: 13px 18px;
    flex-direction: row;
    background: transparent;
    backdrop-filter: none;
  }

  .nav.is-scrolled,
  .nav.is-open {
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(10px);
  }

  .brand {
    width: 178px;
    height: 50px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px 18px;
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(12px);
  }

  .nav.is-open .menu {
    display: flex;
  }

  .menu > a,
  .menu-trigger {
    width: 100%;
    padding: 14px 0;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .menu .nav-cta {
    width: 100%;
    min-width: 0;
    margin-top: 14px;
    padding: 13px 18px;
    border-color: rgba(255, 255, 255, .86);
  }

  .menu-trigger {
    padding: 14px 0;
  }

  .submenu {
    position: static;
    min-width: 100%;
    max-height: 260px;
    margin: 0 0 10px;
    transform: none;
    box-shadow: none;
    display: none;
    opacity: 1;
    visibility: visible;
    right: auto;
    left: 0;
  }

  .menu-item:hover .submenu,
  .menu-item:focus-within .submenu {
    display: block;
    transform: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 28px;
    padding: calc(var(--header-alto) + 34px) 22px 58px;
  }

  .hero-content h1 {
    font-size: clamp(52px, 10vw, 57px);
  }

  .orbit {
    width: min(430px, 94vw);
  }

  .ring {
    border-width: 5px;
  }

  .center-logo {
    width: 96px;
    height: 96px;
  }

  .line {
    height: 4px;
  }

  .node {
    width: 66px;
    height: 66px;
    padding: 10px;
  }

  .node img {
    max-width: 46px;
    max-height: 46px;
  }

  .chain,
  .value-grid,
  .vision-layout,
  .company-hero-content,
  .company-content-grid,
  .company-photo-grid,
  .stats-panel {
    grid-template-columns: 1fr;
  }

  .company-hero-content {
    padding: calc(var(--header-alto) + 60px) 22px 60px;
  }

  .company-logo-panel {
    min-height: 190px;
    padding: 30px;
  }

  .vision-copy {
    padding: 28px;
  }

  .vision-photos {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 96px;
  }

  .vision-photo:nth-child(odd) {
    grid-column: span 1;
    grid-row: span 2;
  }

  .vision-photo:nth-child(even) {
    grid-column: span 1;
    grid-row: span 3;
  }

  .company-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .company-card,
  .company-card:nth-child(n + 8) {
    flex-basis: auto;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .22);
  }
}
