:root {
  --cima-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --editorial: var(--cima-font);
  --reading: var(--cima-font);
  --interaction: cubic-bezier(.22, 1, .36, 1);
}
body, button, input, textarea, select { font-family: var(--reading); }
.hero h1, .section h2, .contact h2, dialog h2 {
  font-family: var(--editorial);
  font-weight: 300;
  letter-spacing: -.04em;
}
.hero { min-height: 600px; }
.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(88px, 8.8vw, 132px);
  line-height: .98;
}
#solutions-title, #process-title, #contact-title {
  font-family: var(--editorial);
  font-weight: 300;
  font-style: normal;
  letter-spacing: -.04em;
  line-height: 1.04;
}
.hero p { max-width: 300px; line-height: 1.45; font-size: 19px; }
.section h2, .contact h2, dialog h2 { font-size: clamp(38px, 4.2vw, 65px); line-height: 1.05; margin: 0; }
#soluciones { border-top: 1px solid var(--line); }
.section-head { margin-bottom: 28px; }
.card h3, .step h3 { font-family: var(--reading); font-weight: 400; letter-spacing: -.025em; }
.card h3 { font-size: 22px; line-height: 1.25; }
.card p, .step p, .section-intro, dialog p { font-size: 15px; line-height: 1.55; }
.card button, .text-link, .btn, nav, .switch button { font-family: var(--reading); font-size: 14px; }
.card button { gap: 8px; }
.card .iconbox::after { content: none; }
#contact-dialog h2 { font-size: 32px; }
.footer {
  display: block;
  padding: clamp(14px, 2vw, 28px) 0;
}
.footer-wordmark, .footer-wordmark svg {
  display: block;
  width: 100%;
  height: auto;
}
.footer-wordmark {
  width: 70%;
  margin-inline: auto;
  mix-blend-mode: multiply;
  transition: opacity 320ms var(--interaction);
}
.footer-wordmark:hover { opacity: .84; }
.arr {
  display: inline-block;
  width: .75em;
  height: .75em;
  line-height: 1;
  font-size: 18px;
  color: transparent;
  background: linear-gradient(var(--ink), var(--ink)) right top / 72% 1.5px no-repeat,
              linear-gradient(var(--ink), var(--ink)) right top / 1.5px 72% no-repeat,
              linear-gradient(135deg, transparent 46%, var(--ink) 46% 54%, transparent 54%);
}
nav a, .brand-art, .close, .card button, .field textarea {
  transition: opacity 320ms var(--interaction), transform 360ms var(--interaction),
              background-color 320ms var(--interaction), box-shadow 320ms var(--interaction);
}
nav a:hover, .brand-art:hover { opacity: .76; }
nav a:active, .brand-art:active, .close:active, .card button:active { transform: scale(.97); }
.close:hover { background: #dce5e4; border-radius: 50%; }
.field textarea:focus { box-shadow: var(--inset), 0 0 0 3px #00ffff40; }
@media (max-width: 760px) {
  .hero { min-height: auto; padding: 32px 0; }
  .hero h1 { font-size: clamp(76px, 17vw, 104px); }
  .hero p { font-size: 17px; max-width: 310px; }
  .visual { height: 340px; }
  .orbit { max-width: 100%; aspect-ratio: 1; height: auto; }
  .section h2, .contact h2 { font-size: 42px; }
  .footer-left { width: auto; }
  .footer .brand-art { max-width: 100%; }
  .switch { width: fit-content; max-width: 100%; }
  .switch button { padding: 12px; font-size: 13px; }
}

.hero-actions .btn.primary {
  color: var(--ink);
}
.hero-actions .btn.primary .arr { --ink: #253334; }

@media (prefers-reduced-motion: no-preference) {
  @keyframes cima-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 var(--float-height); }
  }
  .contact {
    --float-height: -5px;
    animation: cima-float 6s ease-in-out infinite;
  }
  #services > .card {
    --float-height: -4px;
    animation: cima-float 4.8s ease-in-out infinite;
  }
  #services > .card:nth-child(2) { animation-delay: .45s; }
  #services > .card:nth-child(3) { animation-delay: .9s; }
}
