:root {
  --navy: #201a4d;
  --navy-2: #17133b;
  --violet: #9292f5;
  --header-violet: #9a99ff;
  --violet-bright: #a2a1ff;
  --ice: #f1f3fa;
  --paper: #fbfbfd;
  --line: rgba(32, 26, 77, .14);
  --ink-soft: #5f6075;
  --radius: 1.35rem;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--navy); background: var(--paper); font-family: Inter, "Helvetica Neue", Arial, sans-serif; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 100; padding: .7rem 1rem; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 50; height: 120px; padding: 0 max(10vw, 1.25rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: white; background: var(--header-violet); box-shadow: 0 .35rem 1.2rem rgba(32,26,77,.08); }
.brand { display: block; width: 250px; }
.brand img { width: 100%; height: 50px; object-fit: contain; object-position: left center; transform: scale(2.05); transform-origin: left center; }
.main-nav { display: flex; align-items: center; gap: clamp(1.6rem, 3vw, 3.6rem); font-size: 1rem; font-weight: 700; }
.main-nav > a:not(.nav-cta) { padding: .65rem 0; border-bottom: 2px solid transparent; }
.main-nav > a:hover, .main-nav > a.active { color: var(--navy); border-color: var(--navy); }
.nav-cta { padding: .65rem 0; border-bottom: 2px solid transparent; }
.nav-cta span { display: none; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: calc(100svh - 120px); padding: clamp(4rem, 8vw, 7rem) max(4vw, 1.25rem) 0; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(370px, .92fr); column-gap: clamp(2.5rem, 7vw, 7rem); overflow: hidden; background: linear-gradient(122deg, #f8f8fc 0 63%, #ededfb 63% 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 49.9%, rgba(32,26,77,.055) 50%, transparent 50.1%); pointer-events: none; }
.hero-mark { position: absolute; width: min(73.6vw, 978px); height: auto; right: -18%; top: -16%; opacity: .75; transform: rotate(-8deg); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; align-self: center; padding-bottom: 8rem; }
.eyebrow { margin: 0 0 1.3rem; color: var(--violet); font-size: .76rem; line-height: 1; letter-spacing: .2em; font-weight: 900; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 1.6rem; max-width: 830px; font-size: clamp(3.35rem, 5vw, 5.8rem); line-height: .91; letter-spacing: -.065em; font-weight: 900; }
h1 em { color: var(--violet); font-style: normal; }
.hero-lead { max-width: 650px; margin-bottom: 2.2rem; color: var(--ink-soft); font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .85rem 1.4rem; border: 1px solid transparent; border-radius: 999px; font-weight: 800; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--navy); }
.button-primary span, .nav-cta span, .button-light span { margin-left: .65rem; }
.button-ghost { border-color: var(--navy); }

.hero-panel { position: relative; z-index: 2; align-self: center; min-height: 480px; padding: .65rem; color: white; background: var(--navy); border-radius: 12rem 1.5rem 1.5rem 1.5rem; box-shadow: 0 2rem 5rem rgba(32, 26, 77, .14); }
.panel-visual { height: 458px; display: grid; place-items: center; overflow: hidden; border-radius: 11.4rem 1.05rem 1.05rem 1.05rem; background: linear-gradient(145deg, var(--violet), #c7c7ff); }
.panel-photo { position: relative; background: #dfe2ef; }
.panel-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(32,26,77,.05), transparent 48%, rgba(154,153,255,.08)); }
.panel-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.panel-brand { position: relative; isolation: isolate; background-color: var(--violet); background-image: linear-gradient(rgba(32,26,77,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(32,26,77,.08) 1px, transparent 1px), radial-gradient(circle at 70% 30%, #c7c7ff 0, #9a99ff 52%, #8585eb 100%); background-size: 42px 42px, 42px 42px, auto; }
.panel-brand::before { content: ""; position: absolute; z-index: -1; width: 82%; aspect-ratio: 1; left: -17%; bottom: -46%; border: 1px solid rgba(255,255,255,.44); border-radius: 50%; }
.panel-brand::after { content: ""; position: absolute; z-index: -1; width: 70%; height: 1px; right: -18%; top: 24%; background: rgba(255,255,255,.55); transform: rotate(-34deg); transform-origin: right center; }
.brand-o { position: absolute; width: min(73%, 390px); aspect-ratio: 1; object-fit: contain; }
.brand-o-back { left: 15%; top: 13%; opacity: .22; transform: translate(-12%, -8%) scale(1.13); }
.brand-o-front { left: 50%; top: 50%; filter: drop-shadow(0 1.5rem 2rem rgba(32,26,77,.18)); transform: translate(-50%, -50%); animation: brand-float 7s ease-in-out infinite; }
.brand-axis { position: absolute; z-index: 2; left: 1.8rem; bottom: 1.7rem; display: flex; flex-direction: column; color: var(--navy); font-size: .7rem; line-height: 1.25; letter-spacing: .19em; font-weight: 900; }
.brand-axis span:last-child { color: rgba(32,26,77,.57); }
.brand-node { position: absolute; width: 12px; height: 12px; background: white; border: 3px solid var(--navy); border-radius: 50%; box-shadow: 0 0 0 7px rgba(255,255,255,.2); }
.brand-node-one { top: 22%; left: 18%; }
.brand-node-two { right: 12%; bottom: 17%; }
@keyframes brand-float { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 9px)); } }

.hero-stats { position: relative; z-index: 3; grid-column: 1 / -1; align-self: end; margin-inline: calc(max(4vw, 1.25rem) * -1); display: grid; grid-template-columns: repeat(3, 1fr); color: white; background: var(--navy); }
.hero-stats article { min-height: 140px; padding: 1.5rem max(4vw, 1.25rem); display: flex; align-items: baseline; gap: 1rem; border-right: 1px solid rgba(255,255,255,.15); }
.hero-stats strong { color: var(--violet-bright); font-size: clamp(2.3rem, 4vw, 4.25rem); line-height: 1; letter-spacing: -.05em; }
.hero-stats sup { font-size: .48em; }
.hero-stats article > span { max-width: 115px; color: rgba(255,255,255,.72); font-size: .78rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .08em; }

.section { position: relative; padding: clamp(5rem, 9vw, 9rem) max(5vw, 1.25rem); overflow: hidden; }
.intro { min-height: 680px; display: grid; grid-template-columns: minmax(360px, .8fr) minmax(420px, 1.2fr); align-items: center; gap: clamp(3rem, 8vw, 9rem); background: var(--paper); }
.intro-title, .intro-body { position: relative; z-index: 2; }
.intro h2, .support h2, .about h2, .contact h2 { margin-bottom: 0; font-size: clamp(2.8rem, 5.4vw, 6.25rem); line-height: .96; letter-spacing: -.055em; }
.intro h2 span, .support h2 span { color: var(--violet); }
.intro-body { max-width: 670px; padding-left: clamp(1.5rem, 4vw, 4rem); border-left: 5px solid var(--violet); }
.intro-body p { color: var(--ink-soft); }
.intro-lead { color: var(--navy) !important; font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.35; font-weight: 700; }
.text-link { display: inline-flex; gap: .7rem; margin-top: 1rem; padding-bottom: .3rem; border-bottom: 2px solid var(--violet); font-weight: 900; }
.section-mark { position: absolute; width: min(50vw, 630px); height: auto; right: -10%; bottom: -54%; opacity: .035; }

.services { color: white; background: var(--navy-2); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 4rem; }
.section-head h2 { margin: 0; font-size: clamp(3rem, 5.2vw, 5.9rem); line-height: .93; letter-spacing: -.055em; }
.section-head > p { max-width: 390px; margin: 0 0 .4rem; color: rgba(255,255,255,.65); font-size: 1.05rem; }
.eyebrow-light { color: var(--violet-bright); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.service-card { position: relative; min-height: 520px; padding: 1.4rem; display: flex; flex-direction: column; background: #282259; border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); transition: transform .25s ease, background .25s ease; }
.service-card:hover { transform: translateY(-7px); background: #30296a; }
.service-number { margin-bottom: .75rem; color: var(--violet-bright); font-size: .72rem; font-weight: 900; letter-spacing: .13em; }
.service-image { height: 240px; margin-bottom: 1.4rem; display: grid; place-items: center; overflow: hidden; background: var(--violet); border-radius: calc(var(--radius) - .4rem); }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.service-card:hover .service-image img { transform: scale(1.025); filter: saturate(1.04); }
.service-card h3 { margin-bottom: .75rem; font-size: clamp(1.35rem, 2vw, 2rem); line-height: 1.05; letter-spacing: -.03em; }
.service-card p { color: rgba(255,255,255,.63); }
.service-card a { margin-top: auto; font-size: .85rem; font-weight: 900; }
.service-card a span { float: right; }

.support { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 9rem); align-items: center; background: linear-gradient(115deg, #ececfb 0 42%, var(--paper) 42%); }
.support-copy p:last-child { max-width: 510px; margin-top: 2rem; color: var(--ink-soft); font-size: 1.12rem; }
.support-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.support-list li { padding: 1.45rem 0; display: grid; grid-template-columns: 55px 1fr; gap: 1rem; align-items: center; border-bottom: 1px solid var(--line); }
.support-list span { color: var(--violet); font-size: .8rem; font-weight: 900; }
.support-list strong { font-size: clamp(1.05rem, 1.8vw, 1.4rem); }

.about { min-height: 560px; display: grid; grid-template-columns: .35fr 1.1fr .55fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; color: white; background: var(--violet); }
.about-mark { position: absolute; width: min(48vw, 650px); height: auto; right: -9%; bottom: -45%; opacity: .12; filter: brightness(0) invert(1); }
.about-kicker { align-self: start; color: var(--navy); font-size: .72rem; letter-spacing: .16em; font-weight: 900; writing-mode: vertical-rl; transform: rotate(180deg); }
.about-copy { position: relative; z-index: 2; }
.about-copy p { max-width: 680px; margin-top: 2rem; font-size: 1.12rem; color: rgba(255,255,255,.83); }
.about-link { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.4rem; padding-bottom: .3rem; color: var(--navy); border-bottom: 2px solid var(--navy); font-weight: 900; transition: gap .2s ease, color .2s ease; }
.about-link:hover { gap: 1rem; color: white; }
.about-metrics { position: relative; z-index: 2; display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
.about-number { position: relative; z-index: 2; color: var(--navy); font-size: clamp(3.5rem, 7vw, 7.4rem); line-height: .8; font-weight: 900; letter-spacing: -.07em; }
.about-number sup { font-size: .38em; }
.about-number small { margin-top: 1.1rem; display: block; max-width: 110px; font-size: .72rem; line-height: 1.2; letter-spacing: .09em; text-transform: uppercase; }

.contact { min-height: 355px; padding-top: 5rem; padding-bottom: 2.7rem; display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 3rem; align-items: center; color: white; background: #202233; }
.contact-social { display: flex; align-items: center; justify-content: center; gap: 4.5rem; }
.contact-social a { display: grid; width: 46px; height: 46px; place-items: center; }
.contact-social svg { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.contact-social .social-dot { fill: currentColor; stroke: none; }
.linkedin-mark { font-size: 2.7rem; line-height: 1; font-weight: 800; letter-spacing: -.08em; }
.contact-copy { text-align: center; }
.contact-copy h2 { margin: 0; font-size: clamp(2.3rem, 3.5vw, 3.7rem); line-height: 1; letter-spacing: -.035em; }
.contact-copy p { margin: .8rem 0 2rem; font-size: .92rem; }
.contact-button { min-width: 190px; color: white; background: var(--violet); }
.contact-details { display: flex; flex-direction: column; gap: .4rem; font-size: 1rem; }
.contact-details a:hover { color: var(--violet-bright); }

.site-footer { padding: 0 max(5vw, 1.25rem) 3.6rem; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; color: white; background: #202233; text-align: center; }
.copyright { margin: 0; color: rgba(255,255,255,.82); font-size: .76rem; }
.footer-nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .65rem; color: var(--violet-bright); font-size: .78rem; }
.footer-nav a { text-decoration: underline; text-underline-offset: .18rem; }
.footer-nav a:hover { color: white; }
.footer-nav span { color: rgba(255,255,255,.4); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (min-width: 901px) {
  .contact { min-height: 310px; padding: 4.1rem max(9vw, 1.25rem) 2rem; gap: 2rem; }
  .contact-social { position: relative; gap: 3.5rem; padding-top: 1.7rem; }
  .contact-social::before { content: "SÍGUENOS"; position: absolute; top: 0; left: 50%; color: var(--violet-bright); font-size: .68rem; line-height: 1; letter-spacing: .2em; font-weight: 900; transform: translateX(-50%); }
  .site-footer { padding-top: 1.25rem; padding-bottom: 2.8rem; gap: 1.25rem; }
  .site-footer::before { content: ""; width: min(82vw, 1120px); height: 1px; margin-bottom: .25rem; background: rgba(255,255,255,.14); }
}

@media (max-width: 900px) {
  .site-header { height: 72px; }
  .brand { width: 168px; }
  .brand img { transform: scale(1.7); }
  .menu-toggle { width: 46px; height: 46px; padding: 11px; display: flex; flex-direction: column; justify-content: center; gap: 5px; color: white; background: var(--navy); border: 0; border-radius: 50%; }
  .menu-toggle span:not(.sr-only) { width: 100%; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: absolute; top: 72px; left: 0; right: 0; padding: 1.25rem; display: none; flex-direction: column; align-items: stretch; gap: 0; color: var(--navy); background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 1rem 2rem rgba(32,26,77,.08); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .9rem 0 !important; border-bottom: 1px solid var(--line) !important; }
  .main-nav .nav-cta { margin-top: 0; text-align: left; }
  .hero { min-height: auto; padding-top: 4rem; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .hero-copy { min-width: 0; padding-bottom: 0; }
  .hero-panel { min-height: 420px; }
  .panel-visual { height: 390px; }
  .hero-stats { margin-top: 1rem; grid-template-columns: 1fr; }
  .hero-stats article { min-height: 102px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .intro, .support { grid-template-columns: 1fr; }
  .intro { gap: 2.5rem; min-height: 0; }
  .intro-body { padding-left: 1.5rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 470px; }
  .section-head { align-items: start; flex-direction: column; }
  .support { background: linear-gradient(150deg, #ececfb 0 38%, var(--paper) 38%); }
  .about { grid-template-columns: .18fr 1fr; }
  .about-metrics { grid-column: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-number { font-size: clamp(3.5rem, 11vw, 6.5rem); }
  .contact { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-social { position: relative; padding-top: 1.7rem; }
  .contact-social::before { content: "SÍGUENOS"; position: absolute; top: 0; left: 50%; color: var(--violet-bright); font-size: .68rem; line-height: 1; letter-spacing: .2em; font-weight: 900; transform: translateX(-50%); }
  .contact-details { align-items: center; }
  .site-footer { padding-top: 1.25rem; }
  .site-footer::before { content: ""; width: min(82vw, 1120px); height: 1px; margin-bottom: .25rem; background: rgba(255,255,255,.14); }
}

@media (max-width: 560px) {
  .section { padding-block: 4.7rem; }
  h1 { max-width: 100%; font-size: clamp(2.65rem, 11vw, 3.35rem); }
  .hero { padding-inline: 1.1rem; gap: 0; }
  .hero-copy { grid-row: 1; margin-bottom: 1.5rem; }
  .hero-mark {
    position: relative;
    z-index: 1;
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
    width: min(78vw, 320px);
    height: auto;
    aspect-ratio: 1200 / 1220;
    margin: -3rem -24% -9rem 0;
    right: auto;
    top: auto;
    opacity: .17;
    object-fit: contain;
    transform: rotate(-8deg);
  }
  .hero-panel { grid-row: 3; }
  .hero-stats { grid-row: 4; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .contact-button { width: 190px; }
  .hero-panel { min-height: 340px; border-radius: 7rem 1.2rem 1.2rem 1.2rem; }
  .panel-visual { height: 310px; border-radius: 6rem .8rem .8rem .8rem; }
  .panel-photo img { object-position: 56% center; }
  .brand-axis { left: 1.2rem; bottom: 1.2rem; }
  .hero-stats article { padding-inline: 1.1rem; }
  .intro { grid-template-columns: 1fr; }
  .section-mark {
    width: min(76vw, 300px);
    height: auto;
    aspect-ratio: 1200 / 1220;
    right: -38%;
    bottom: -10%;
    opacity: .09;
    object-fit: contain;
    transform: rotate(12deg);
  }
  .intro h2, .support h2, .about h2, .contact h2 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .intro-body { padding-left: 1.1rem; border-left-width: 3px; }
  .service-card { min-height: 435px; }
  .service-image { height: 210px; }
  .about { grid-template-columns: 1fr; }
  .about-kicker { writing-mode: initial; transform: none; }
  .about-metrics { grid-column: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .about-number { font-size: clamp(3rem, 16vw, 4.7rem); }
  .contact { gap: 2rem; }
  .contact-social { gap: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
