:root {
  color-scheme: dark;
  --page: #090910;
  --panel: #10101a;
  --text: #f5f2fc;
  --muted: #b2aec5;
  --line: #29263b;
  --violet: #c7a8ff;
  --heading: "Geist", system-ui, sans-serif;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--page);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--violet); outline-offset: 5px; }
.wrap { width: min(100% - 96px, 1240px); margin-inline: auto; }
.skip { position: absolute; z-index: 2; left: 12px; top: 12px; transform: translateY(-150%); padding: 10px; background: var(--panel); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 20px; }
.brand { position: relative; display: block; width: 152px; height: 44px; overflow: hidden; flex: none; }
.brand img { position: absolute; width: 183px; height: auto; left: -16px; top: -70px; mix-blend-mode: lighten; }
nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
nav a { white-space: nowrap; }
nav a:hover, .footer a:hover { color: var(--violet); }
nav .internal { color: var(--muted); }
nav span { margin-left: 3px; color: var(--violet); }
.nav-copilot { border: 1px solid #564077; padding: 10px 15px; border-radius: 8px; background: #171124; }
.hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(30px, 5vw, 72px); align-items: center; padding-block: 76px 84px; }
.hero-copy { min-width: 0; }
.eyebrow { margin: 0 0 20px; color: var(--violet); font-size: 12px; letter-spacing: .17em; font-weight: 700; }
h1, h2, h3 { font-family: var(--heading); margin: 0; }
h1 { font-size: clamp(44px, 5.8vw, 83px); line-height: .99; font-weight: 650; letter-spacing: -.069em; }
h1 span { display: block; color: var(--violet); }
.hero-description { max-width: 35ch; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.6; margin: 24px 0 0; color: var(--muted); }
.hero-actions, .contact-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button { min-height: 46px; padding: 0 15px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; font-size: 14px; font-weight: 700; border: 1px solid transparent; }
.button-primary { background: #c19bff; color: #130b22; }
.button-primary:hover { background: #dcc7ff; }
.button-secondary { border-color: #443750; background: #15111e; }
.button-secondary:hover, .nav-copilot:hover { background: #251735; }
.hero-media { position: relative; margin: 0; overflow: hidden; isolation: isolate; aspect-ratio: 1.28; border: 1px solid #443152; border-radius: 16px; background: #191023; box-shadow: 0 20px 75px #401b6529; }
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-media::after { content: ""; position: absolute; inset: 58% 0 0; background: linear-gradient(transparent,#090713e0); pointer-events: none; }
.hero-media figcaption { position: absolute; z-index: 1; inset: auto 22px 19px; font-size: 13px; color: #eee8f5; }
.solutions { border-top: 1px solid var(--line); padding-block: 64px; }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
h2 { font-size: clamp(31px, 4vw, 53px); line-height: 1.06; font-weight: 600; letter-spacing: -.05em; }
.section-intro h2 { max-width: 17ch; }
.section-intro p, .contact-panel p { max-width: 36ch; margin: 0; color: var(--muted); line-height: 1.55; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.services article { background: var(--panel); min-height: 155px; padding: 23px; }
.services h3 { font-size: 20px; letter-spacing: -.027em; font-weight: 600; }
.services p { margin: 9px 0 0; max-width: 35ch; line-height: 1.55; color: var(--muted); }
.services a { display: inline-flex; gap: 6px; margin-top: 13px; color: var(--violet); font-size: 14px; font-weight: 700; }
.services a:hover { text-decoration: underline; }
.contact { padding-bottom: 64px; }
.contact-panel { display: flex; justify-content: space-between; align-items: center; gap: 25px; background: radial-gradient(ellipse at top right,#32204b,transparent 80%), #14101d; border: 1px solid #4b345e; border-radius: 14px; padding: 32px; }
.contact-panel p { margin-top: 12px; }
.contact-links { margin: 0; }
.footer { border-top: 1px solid var(--line); padding-block: 22px 28px; display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 13px; }
@media (max-width: 940px) {
  .wrap { width: calc(100% - 56px); }
  .hero { padding-block: 62px; gap: 28px; }
  .contact-panel { align-items: flex-start; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 66px; gap: 9px; }
  .brand { width: 104px; height: 34px; }
  .brand img { width: 128px; left: -12px; top: -47px; }
  nav { gap: 12px; font-size: 13px; }
  nav .internal { display: none; }
  .nav-copilot { padding: 8px 10px; }
  .hero { grid-template-columns: 1fr; padding-block: 46px; }
  .hero-media { aspect-ratio: 1.4; }
  .hero-description { max-width: 45ch; margin-top: 18px; }
  .solutions { padding-block: 42px; }
  .section-intro, .contact-panel { flex-direction: column; align-items: flex-start; gap: 15px; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services article { padding: 18px; }
  .contact { padding-bottom: 42px; }
  .contact-panel { padding: 24px; }
  .footer { flex-wrap: wrap; }
}
@media (max-width: 440px) {
  .services { grid-template-columns: 1fr; }
  .services article { min-height: auto; }
}
.arrow-out { display: inline-block; position: relative; width: 10px; height: 10px; flex: none; }
.arrow-out::before { content: ""; position: absolute; top: 1px; right: 1px; width: 6px; height: 6px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; }
.arrow-out::after { content: ""; position: absolute; right: 1px; top: 1px; width: 11px; height: 1.5px; background: currentColor; transform-origin: right center; transform: rotate(-45deg); }

.header-inner > nav:first-of-type { margin-left: auto; }
.language-switch { gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; }
.language-switch a { padding: 6px 8px; border-radius: 5px; color: var(--muted); font-size: 12px; }
.language-switch a[aria-current="page"] { background: #281b3b; color: var(--violet); }
:lang(es) h1 { font-size: clamp(42px, 5.1vw, 74px); }
@media (max-width: 560px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 10px 8px; padding-block: 10px; }
  .brand { grid-column: 1 / -1; }
  .header-inner > nav:first-of-type { margin-left: 0; }
  .language-switch a { padding-inline: 6px; }
}
