:root {
  --yellow: #fdc000;
  --purple: #582c83;
  --ink: #333;
  --muted: #606060;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Arial, sans-serif; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--purple); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; }
h1, h2, h3, summary, nav, .button { font-family: Raleway, 'Trebuchet MS', Arial, sans-serif; }
h1, h2, h3 { line-height: 1.28; }
h1 { font-size: clamp(30px, 3vw, 43px); margin: 0 0 24px; }
h2 { font-size: clamp(26px, 2.3vw, 34px); margin: 0 0 24px; }
h3 { font-size: 23px; margin: 0 0 18px; }
p { margin: 0 0 22px; }
mark {
  color: inherit;
  background-color: transparent;
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat;
  background-position: left 88%;
  background-size: 100% 37%;
  padding: 0 3px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.motion-enabled mark {
  background-size: 0% 37%;
  transition: background-size 3s ease;
}
.motion-enabled mark.is-visible { background-size: 100% 37%; }
.motion-enabled .illustration[src$="/jovenVR.svg"].has-entered {
  animation: vr-entry 2s ease-out both;
}
.motion-enabled .illustration[src$="/dron.svg"] {
  animation: drone-flight 10s ease-in-out infinite;
  animation-play-state: paused;
}
.motion-enabled .illustration[src$="/dron.svg"].is-visible {
  animation-play-state: running;
}
html.motion-enabled.is-page-hidden .illustration[src] {
  animation-play-state: paused;
}
@keyframes vr-entry {
  from { opacity: 0; transform: scale(1.12); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes drone-flight {
  0%, 100% { transform: translate(-3%, -3%); }
  25% { transform: translate(3%, -3%); }
  50% { transform: translate(3%, 3%); }
  75% { transform: translate(-3%, 3%); }
}
.container { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; top: -80px; left: 20px; background: white; padding: 12px; z-index: 20; }
.skip:focus { top: 8px; }
.site-header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid #ededed; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand img { width: 112px; height: 47px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { text-decoration: none; font-size: 15px; padding-block: 23px; }
.nav-links a[aria-current] { box-shadow: inset 0 -4px var(--yellow); font-weight: bold; }
.mobile-nav { display: none; }
.split { display: grid; grid-template-columns: 1fr 1.35fr; align-items: center; gap: 65px; padding-block: 90px; }
.hero { min-height: 650px; }
.hero .copy { max-width: 430px; }
.lead { font-size: 20px; line-height: 1.6; }
.art { position: relative; isolation: isolate; min-width: 0; }
.art .shape { position: absolute; width: 112%; max-width: none; left: -6%; top: 0; height: 100%; object-fit: contain; z-index: -1; }
.art .illustration { width: 100%; max-height: 510px; object-fit: contain; }
.reverse { grid-template-columns: 1.35fr 1fr; }
.reverse .copy { order: 2; }
.reverse .art { order: 1; }
.button {
  display: inline-block;
  border: 1px solid #929292;
  border-radius: 32px;
  padding: 10px 28px;
  margin-top: 8px;
  font-size: 15px;
  text-decoration: none;
  line-height: 1.5;
  background: white;
  color: var(--ink);
  transition: border-color .2s;
}
.button:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}
.button:focus-visible { outline-color: var(--ink); }
.down { display: flex; justify-content: center; padding: 0 0 38px; }
.down a { padding: 12px; }
.down img { width: 23px; }
.center { text-align: center; }
.section { padding-block: 85px; }
.intro { max-width: 760px; margin: auto; padding-block: 100px 45px; text-align: center; }
.equation { max-width: 750px; margin: 45px auto 25px; }
.equation-text { font-size: 28px; }
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; align-items: center; margin-top: 50px; }
.clients img { width: 175px; height: 110px; object-fit: contain; margin: auto; }
.client-title { max-width: 510px; }
.cta { position: relative; isolation: isolate; margin-block: 70px 40px; padding: 110px 24px 80px; text-align: center; }
.cta::before { content: ''; position: absolute; z-index: -1; inset: 0; background: url('../img/forma5.svg') center / contain no-repeat; opacity: .65; }
.cta .balloon { width: 95px; margin: 0 auto 24px; }
.cta h2, .cta p { max-width: 640px; margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.principle { padding: 30px 16px; text-align: center; }
.principle h2 { font-size: 25px; }
.principle:last-child { grid-column: 1 / -1; max-width: 520px; margin: auto; }
.methodology { grid-template-columns: 1fr 1fr; max-width: 900px; margin: auto; gap: 20px 90px; }
.testimonials-art { width: min(860px, 100%); margin: 40px auto; }
.testimonial { border-top: 3px solid var(--yellow); padding: 24px 12px; }
.testimonial summary { cursor: pointer; margin-bottom: 16px; font-weight: bold; }
.testimonial blockquote { margin: 0; }
.partners { grid-template-columns: repeat(4, 1fr); margin-top: 45px; text-align: center; }
.partners img { height: 150px; width: 100%; object-fit: contain; margin: 0 auto 24px; }
.history { max-width: 850px; margin-inline: auto; }
.history h2 { margin-bottom: 35px; }
.work { background: #fcf8ff; border-radius: 24px; margin-top: 65px; padding: 45px; }
.work img { max-height: 350px; }
.video-preview { background: #faf8fc; border-radius: 24px; padding: 45px; text-align: center; }
.video-preview img { max-height: 280px; margin: auto auto 25px; }
.plans { grid-template-columns: 1fr 1fr; align-items: start; }
.plan { border: 1px solid #e1d8eb; border-top: 5px solid var(--purple); border-radius: 14px; padding: 36px; }
.plan:nth-child(2) { border-top-color: var(--yellow); }
.plan ul { padding-left: 22px; }
.plan li { margin-bottom: 12px; }
.gift { width: 180px; max-height: 220px; object-fit: contain; margin: 0 auto 30px; }
.benefits { grid-template-columns: 1fr 1fr; }
.benefits img { width: 130px; height: 130px; object-fit: contain; margin-bottom: 24px; }
.contact-page { min-height: 65vh; max-width: 800px; margin: auto; text-align: center; padding-block: 95px; }
.contact-page .contact-art { width: 150px; margin: 0 auto 35px; }
.contact-address { display: block; font-size: clamp(21px, 4vw, 32px); margin-block: 25px; overflow-wrap: anywhere; }
.contact-secondary { margin-top: 45px; }
.catalog-header {
  max-width: 820px;
  margin: auto;
  padding-block: 55px 30px;
  text-align: center;
}
.catalog-header h1 { margin-bottom: 16px; }
.catalog-header p { margin-bottom: 0; }
.catalog-viewer {
  overflow: hidden;
  border: 1px solid #e1d8eb;
  border-radius: 16px;
  background: #faf8fc;
}
.catalog-viewer iframe {
  display: block;
  width: 100%;
  height: clamp(480px, calc(100svh - 260px), 850px);
  border: 0;
}
.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.catalog-external {
  justify-content: center;
  margin-top: 24px;
  text-align: center;
}
.prose { max-width: 860px; padding-block: 70px; margin: auto; }
.prose h1 { margin-bottom: 45px; }
.prose h2 { font-size: 25px; margin-top: 45px; }
.prose h3 { font-size: 19px; margin-top: 30px; }
.prose li { margin-bottom: 10px; }
.archive-note { background: #f6f2fa; border-left: 4px solid var(--purple); padding: 20px 24px; margin-bottom: 40px; }
.site-footer { border-top: 1px solid #eee; padding-block: 45px 28px; margin-top: 60px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 45px; }
.footer-brand { width: 100px; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; align-items: start; gap: 8px; }
.footer-links a { text-decoration: none; }
.copyright { color: var(--muted); margin-top: 40px; font-size: 12px; }
@media (max-width: 900px) {
  .container { width: calc(100% - 40px); }
  .nav-links { gap: 18px; }
  .split { gap: 30px; padding-block: 65px; }
  .hero { min-height: 530px; }
  .lead { font-size: 18px; }
  .plan { padding: 25px; }
}
@media (max-width: 680px) {
  .container { width: calc(100% - 36px); }
  .header-inner { min-height: 68px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { cursor: pointer; padding: 12px 6px; }
  .mobile-nav .nav-links { position: absolute; top: 68px; left: 0; right: 0; background: white; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid #ddd; padding: 14px 24px; box-shadow: 0 10px 20px #0000000d; }
  .mobile-nav a { padding: 12px; }
  .split, .reverse { grid-template-columns: 1fr; gap: 38px; padding-block: 55px; }
  .hero { min-height: auto; padding-top: 65px; }
  .hero .copy { max-width: none; }
  .reverse .copy, .reverse .art { order: initial; }
  .art { width: min(480px, 96%); margin-inline: auto; }
  .art .illustration { max-height: 360px; }
  h1 { font-size: 32px; }
  h2 { font-size: 27px; }
  .section { padding-block: 50px; }
  .intro { padding-block: 65px 25px; }
  .grid, .methodology, .plans, .benefits { grid-template-columns: 1fr; gap: 22px; }
  .principle { padding: 22px 8px; }
  .partners, .clients { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .clients img { height: 80px; }
  .partners img { height: 120px; }
  .partners h3 { font-size: 18px; }
  .equation { margin-block: 30px; }
  .equation-text { font-size: 23px; }
  .cta { margin-top: 30px; padding: 65px 10px; }
  .cta::before { background-size: cover; }
  .work { padding: 30px 22px; }
  .video-preview { padding: 30px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .contact-page { padding-block: 65px 25px; }
  .catalog-header { padding-block: 40px 25px; }
  .catalog-viewer iframe { height: max(480px, calc(100svh - 240px)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .motion-enabled mark { background-size: 100% 37%; }
}
