@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --ink: #f4f8ff;
  --muted: #9aacca;
  --muted-strong: #c0d0e8;
  --navy: #030b1d;
  --navy-soft: #06132d;
  --surface: rgba(7, 22, 49, .74);
  --line: rgba(103, 168, 255, .22);
  --blue: #138cff;
  --cyan: #2fd8ff;
  --violet: #7267ff;
  --max: 1180px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-blue: 0 18px 60px rgba(11, 116, 255, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 75% 0%, rgba(25, 107, 255, .15), transparent 30rem),
    var(--navy);
  font-family: 'DM Sans', Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .13;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 50; padding: .7rem 1rem; border-radius: 8px; background: var(--cyan); color: #031126; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.container { width: min(var(--max), calc(100% - 3rem)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid transparent; transition: .25s ease; }
.site-header.is-scrolled { background: rgba(3, 11, 29, .84); border-color: rgba(111, 177, 255, .15); backdrop-filter: blur(18px); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 2rem; }
.brand img { width: 176px; height: auto; mix-blend-mode: screen; }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a { position: relative; color: var(--muted-strong); font-size: .93rem; transition: color .2s ease; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -.55rem; height: 2px; background: var(--cyan); transition: right .25s ease; }
.main-nav a:hover, .main-nav a[aria-current='page'] { color: #fff; }
.main-nav a[aria-current='page']::after, .main-nav a:hover::after { right: 0; }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; border: 0; border-radius: 999px; padding: .92rem 1.35rem; color: #02132c; background: linear-gradient(110deg, var(--cyan), #0ea5ff); box-shadow: 0 8px 26px rgba(30, 190, 255, .2); font-weight: 800; font-size: .92rem; transition: transform .2s ease, box-shadow .2s ease; }
.nav-cta:hover, .button:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(30, 190, 255, .32); }
.button.secondary { color: var(--ink); background: transparent; border: 1px solid rgba(141, 204, 255, .34); box-shadow: none; }
.button.secondary:hover { border-color: var(--cyan); background: rgba(23, 154, 255, .09); }
.menu-toggle { display: none; color: #fff; background: transparent; border: 1px solid var(--line); border-radius: 10px; padding: .55rem; }

.hero { position: relative; min-height: 650px; display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid rgba(102, 171, 255, .13); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(3, 11, 29, .88) 37%, rgba(3, 11, 29, .12) 74%, rgba(3, 11, 29, .1)); pointer-events: none; }
.hero-media { position: absolute; inset: 0; background: url('/assets/hero-creaciond.png') 63% center / cover no-repeat; opacity: .94; }
.hero-content { position: relative; z-index: 1; width: min(620px, 100%); padding-block: 7rem 6rem; }
.eyebrow { display: flex; align-items: center; gap: .6rem; margin: 0 0 1.2rem; color: var(--cyan); font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; font-weight: 800; }
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--cyan); }
h1, h2, h3, h4 { margin: 0; font-family: Manrope, Arial, sans-serif; line-height: 1.08; letter-spacing: -.04em; }
h1 { max-width: 720px; font-size: clamp(3rem, 7vw, 6.2rem); }
h1 span, .gradient-text { color: var(--cyan); }
.hero-lede { max-width: 540px; margin: 1.7rem 0 2rem; color: var(--muted-strong); font-size: 1.1rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem; }
.micro-proof { margin-top: 2rem; color: var(--muted); font-size: .86rem; }
.scroll-cue { position: absolute; left: 50%; bottom: 1.3rem; z-index: 2; color: var(--muted); font-size: .73rem; letter-spacing: .14em; text-transform: uppercase; transform: translateX(-50%); }

.section { padding: 7.2rem 0; position: relative; }
.section-tight { padding-top: 3.5rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.8rem; }
.section-heading h2, .page-intro h1 { max-width: 680px; font-size: clamp(2.4rem, 4.5vw, 4.4rem); }
.section-heading p { max-width: 360px; margin: 0; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--cyan); font-weight: 700; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.service-card { min-height: 270px; display: flex; flex-direction: column; justify-content: space-between; padding: 1.45rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: linear-gradient(155deg, rgba(15, 42, 82, .62), rgba(3, 13, 31, .7)); transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.service-card:hover { transform: translateY(-8px); border-color: rgba(51, 213, 255, .62); background: linear-gradient(155deg, rgba(18, 59, 112, .7), rgba(3, 13, 31, .7)); }
.service-icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(50, 197, 255, .55); border-radius: 13px; color: var(--cyan); background: rgba(13, 128, 255, .12); font-size: 1.2rem; }
.service-card h3 { margin: 2.5rem 0 .6rem; font-size: 1.25rem; letter-spacing: -.025em; }
.service-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.service-card .text-link { margin-top: 1.2rem; font-size: .86rem; }

.project-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 1rem; }
.project-card { position: relative; min-height: 330px; display: flex; flex-direction: column; justify-content: end; overflow: hidden; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #071a39; }
.project-card::before { content: ''; position: absolute; inset: 0; background: var(--project-image, radial-gradient(circle at 80% 20%, rgba(38, 211, 255, .4), transparent 40%), linear-gradient(130deg, #07204b, #071023)); background-size: cover; background-position: center; transition: transform .5s ease; }
.project-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(2, 8, 21, .9) 90%); }
.project-card:hover::before { transform: scale(1.06); }
.project-card > * { position: relative; z-index: 1; }
.project-card h3 { max-width: 330px; font-size: 1.6rem; }
.project-card p { margin: .5rem 0 0; color: var(--muted-strong); font-size: .9rem; }
.project-card .project-arrow { width: 35px; height: 35px; display: grid; place-items: center; margin-top: 1rem; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: var(--cyan); }
.project-card.large { min-height: 400px; }
.project-card.wide { grid-column: span 2; min-height: 260px; }
.project-one { --project-image: linear-gradient(135deg, rgba(6, 27, 60, .2), rgba(8, 30, 63, .25)), url('/assets/hero-creaciond.png'); }
.project-two { --project-image: radial-gradient(circle at 80% 30%, #29d7ff 0 3%, transparent 4%), linear-gradient(135deg, #151c68, #07132f 55%, #0486d3); }
.project-three { --project-image: radial-gradient(ellipse at 70% 70%, rgba(107, 92, 255, .8), transparent 38%), linear-gradient(130deg, #11265d, #021127); }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.process-step { position: relative; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.process-step::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(47, 216, 255, .08); }
.process-step .number { color: var(--cyan); font-size: .85rem; font-weight: 800; }
.process-step h3 { margin: .65rem 0 .6rem; font-size: 1.25rem; }
.process-step p { margin: 0; color: var(--muted); font-size: .9rem; }

.cta-band { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.5rem 2.8rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(105deg, rgba(5, 25, 61, .96), rgba(8, 46, 100, .7)); }
.cta-band::after { content: ''; position: absolute; width: 440px; height: 220px; right: -80px; bottom: -110px; border: 1px solid rgba(48, 210, 255, .5); border-radius: 50%; transform: rotate(-18deg); box-shadow: 0 0 80px rgba(23, 169, 255, .25); }
.cta-band h2 { max-width: 540px; font-size: clamp(1.8rem, 4vw, 3.2rem); }
.cta-band p { margin: .8rem 0 0; color: var(--muted-strong); }
.cta-band > * { position: relative; z-index: 1; }

.page-intro { padding: 8.5rem 0 4.5rem; border-bottom: 1px solid var(--line); }
.page-intro p { max-width: 700px; margin: 1.6rem 0 0; color: var(--muted-strong); font-size: 1.1rem; }
.about-layout { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 6rem; }
.about-orb { position: relative; min-height: 480px; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius-lg); background: radial-gradient(circle at 50% 40%, rgba(31, 199, 255, .4), transparent 22%), linear-gradient(145deg, #071e46, #040d24 70%); }
.about-orb::before, .about-orb::after { content: ''; position: absolute; width: 74%; height: 48%; border: 1px solid rgba(45, 203, 255, .55); border-radius: 50%; transform: rotate(-35deg); box-shadow: 0 0 44px rgba(37, 165, 255, .22); }
.about-orb::after { width: 52%; height: 80%; transform: rotate(39deg); border-color: rgba(113, 102, 255, .45); }
.orb-mark { position: relative; z-index: 1; width: 160px; height: 160px; display: grid; place-items: center; border: 1px solid rgba(100, 220, 255, .8); border-radius: 42% 58% 47% 53%; color: var(--cyan); background: rgba(18, 130, 255, .13); box-shadow: 0 0 70px rgba(18, 162, 255, .35); font-family: Manrope; font-size: 5rem; font-weight: 800; transform: rotate(-12deg); }
.about-copy h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.about-copy p { color: var(--muted-strong); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.value { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.value h3 { font-size: 1.15rem; }
.value p { margin: .55rem 0 0; color: var(--muted); font-size: .9rem; }

.service-detail-list { display: grid; gap: 1rem; }
.service-detail { display: grid; grid-template-columns: 80px 1fr auto; align-items: start; gap: 1.4rem; padding: 1.8rem 0; border-top: 1px solid var(--line); }
.service-detail:last-child { border-bottom: 1px solid var(--line); }
.service-detail .service-icon { margin-top: .15rem; }
.service-detail h3 { font-size: 1.7rem; }
.service-detail p { max-width: 640px; margin: .6rem 0 0; color: var(--muted); }
.service-detail .text-link { margin-top: .55rem; }

.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 6rem; align-items: start; }
.contact-copy h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
.contact-copy p { color: var(--muted-strong); }
.contact-details { display: grid; gap: .8rem; margin-top: 2rem; }
.contact-detail { display: flex; align-items: center; gap: .8rem; color: var(--muted-strong); }
.contact-detail span { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--cyan); }
.form-card { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(7, 22, 49, .7); box-shadow: var(--shadow-blue); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .5rem; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--muted-strong); font-size: .85rem; font-weight: 700; }
.field input, .field textarea { width: 100%; border: 1px solid rgba(115, 174, 244, .23); border-radius: 12px; padding: .9rem 1rem; outline: none; color: var(--ink); background: rgba(2, 9, 23, .66); transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(47, 216, 255, .12); }
.form-actions { display: flex; align-items: center; gap: 1rem; margin-top: 1.3rem; }
.form-note { margin: 0; color: var(--muted); font-size: .82rem; }

.site-footer { padding: 3rem 0 2rem; border-top: 1px solid rgba(102, 171, 255, .12); }
.footer-top { display: flex; align-items: start; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; }
.footer-brand img { width: 160px; mix-blend-mode: screen; }
.footer-brand p { max-width: 260px; margin: .9rem 0 0; color: var(--muted); font-size: .87rem; }
.footer-nav { display: flex; gap: 1.3rem; flex-wrap: wrap; color: var(--muted-strong); font-size: .88rem; }
.footer-nav a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.3rem; border-top: 1px solid rgba(102, 171, 255, .12); color: var(--muted); font-size: .78rem; }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .main-nav { gap: 1rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-layout, .contact-layout { gap: 3rem; }
}
@media (max-width: 720px) {
  .container { width: min(var(--max), calc(100% - 2rem)); }
  .nav-shell { min-height: 70px; }
  .brand img { width: 150px; }
  .menu-toggle { display: grid; place-items: center; }
  .menu-toggle svg { width: 20px; height: 20px; }
  .main-nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; padding: 1rem; border-bottom: 1px solid var(--line); background: rgba(3, 11, 29, .97); backdrop-filter: blur(18px); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: .65rem .4rem; }
  .main-nav a::after { bottom: .25rem; }
  .nav-cta { margin-top: .4rem; }
  .hero { min-height: 720px; align-items: end; }
  .hero-media { background-position: 68% center; opacity: .75; }
  .hero::after { background: linear-gradient(180deg, rgba(3, 11, 29, .2), rgba(3, 11, 29, .95) 70%); }
  .hero-content { padding-block: 6rem 6rem; }
  h1 { font-size: clamp(2.7rem, 13vw, 4.5rem); }
  .section { padding: 5.2rem 0; }
  .section-heading { display: block; margin-bottom: 2rem; }
  .section-heading p { margin-top: 1rem; }
  .services-grid, .project-grid, .process, .values-grid, .about-layout, .contact-layout { grid-template-columns: 1fr; }
  .project-card.wide { grid-column: auto; }
  .project-card, .project-card.large { min-height: 300px; }
  .about-orb { min-height: 360px; }
  .service-detail { grid-template-columns: 56px 1fr; }
  .service-detail .text-link { grid-column: 2; }
  .cta-band { display: block; padding: 2rem; }
  .cta-band .button { margin-top: 1.4rem; }
  .page-intro { padding: 6rem 0 3.5rem; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-top, .footer-bottom { display: block; }
  .footer-nav { margin-top: 2rem; }
  .footer-bottom > * { margin-top: .8rem; }
}

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