:root {
  --night: #07162b;
  --night-2: #0b213c;
  --ink: #0a1628;
  --muted: #566274;
  --paper: #f8fafc;
  --white: #ffffff;
  --cyan: #2dd4bf;
  --blue: #0ea5e9;
  --violet: #6d3df5;
  --line: rgba(10, 22, 40, .12);
  --radius: 28px;
  --wrap: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.wrap { width: var(--wrap); margin: 0 auto; }
.section { padding: 112px 0; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: white;
}
.nav-shell {
  width: var(--wrap);
  height: 96px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.brand { width: 196px; overflow: hidden; }
.brand img { width: 206px; transform: translateY(1px); }
.main-nav { display: flex; align-items: center; gap: 36px; font-size: .9rem; font-weight: 600; }
.main-nav a { color: rgba(255,255,255,.75); transition: color .2s; }
.main-nav a:hover { color: white; }
.nav-cta { justify-self: end; font-size: .88rem; font-weight: 700; border: 1px solid rgba(255,255,255,.35); padding: 11px 18px; border-radius: 999px; transition: .2s; }
.nav-cta:hover { background: white; color: var(--night); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; }

.hero {
  min-height: 820px;
  position: relative;
  overflow: hidden;
  color: white;
  background: radial-gradient(circle at 82% 38%, #103e6d 0, var(--night) 39%, #040d1b 100%);
  padding-top: 96px;
}
.hero-grid {
  position: absolute; inset: 0;
  opacity: .24;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 88%);
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .24; }
.glow-one { width: 520px; height: 520px; background: var(--violet); right: -170px; top: 180px; }
.glow-two { width: 380px; height: 380px; background: var(--cyan); left: 30%; bottom: -280px; }
.hero-layout { min-height: 640px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.eyebrow, .section-kicker { text-transform: uppercase; letter-spacing: .18em; font-size: .74rem; font-weight: 800; }
.eyebrow { color: rgba(255,255,255,.65); display: flex; align-items: center; gap: 12px; margin: 0 0 24px; }
.eyebrow span { width: 30px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--violet)); }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; line-height: 1.04; letter-spacing: -.035em; margin: 0; }
h1 { font-size: clamp(3.5rem, 7vw, 6.4rem); max-width: 800px; font-weight: 600; }
h1 em { font-style: normal; color: transparent; background: linear-gradient(90deg, var(--cyan), var(--blue) 48%, #a855f7); -webkit-background-clip: text; background-clip: text; }
.lead { max-width: 630px; color: rgba(255,255,255,.7); font-size: 1.14rem; margin: 28px 0 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button { min-height: 52px; padding: 0 22px; border-radius: 999px; display: inline-flex; align-items: center; gap: 20px; font-weight: 800; font-size: .9rem; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: white; color: var(--night); }
.button-primary span { font-size: 1.1rem; }
.button-ghost { border: 1px solid rgba(255,255,255,.25); color: white; }
.button-ghost:hover { background: rgba(255,255,255,.08); }

.hero-mark { position: relative; height: 500px; display: grid; place-items: center; }
.mark-card { width: 330px; aspect-ratio: 1; border-radius: 76px; display: grid; place-items: center; background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.025)); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 40px 90px rgba(0,0,0,.35); backdrop-filter: blur(14px); transform: rotate(-5deg); }
.mark-card img { width: 78%; filter: drop-shadow(0 24px 25px rgba(0,0,0,.28)); }
.mark-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.13); }
.orbit-a { width: 460px; height: 460px; }
.orbit-b { width: 580px; height: 300px; transform: rotate(-28deg); }
.floating-label { position: absolute; font-size: .68rem; letter-spacing: .22em; font-weight: 800; color: rgba(255,255,255,.55); }
.label-a { top: 38px; left: 48px; }
.label-b { right: 14px; top: 52%; }
.label-c { left: 10px; bottom: 55px; }
.hero-foot { height: 84px; position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.5); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.hero-foot a { color: white; display: flex; gap: 14px; align-items: center; }

.section-head { display: grid; grid-template-columns: 1.45fr .55fr; gap: 80px; align-items: end; margin-bottom: 58px; }
.section-kicker { color: var(--violet); margin: 0 0 18px; }
.section-head h2, .contact h2 { font-size: clamp(2.65rem, 5vw, 4.6rem); }
.section-head > p { color: var(--muted); margin: 0 0 8px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { min-height: 690px; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: white; display: flex; flex-direction: column; gap: 22px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-7px); box-shadow: 0 24px 60px rgba(7,22,43,.1); }
.card-featured { color: white; background: linear-gradient(145deg, #0a1b33 20%, #10345a 100%); border-color: transparent; position: relative; }
.card-featured::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: var(--violet); filter: blur(80px); opacity: .26; right: -90px; bottom: -100px; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 1; }
.service-number { font-size: .72rem; letter-spacing: .15em; font-weight: 800; color: #8a95a5; }
.card-top svg { width: 38px; height: 38px; stroke: var(--violet); fill: none; stroke-width: 1.35; }
.card-featured .card-top svg { stroke: var(--cyan); }
.service-visual { position: relative; overflow: hidden; border-radius: 19px; aspect-ratio: 4 / 3; background: #dce4ed; }
.service-visual::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); border-radius: inherit; pointer-events: none; }
.service-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.service-card:hover .service-visual img { transform: scale(1.045); }
.service-body { display: flex; flex-direction: column; flex: 1; }
.card-label { color: var(--violet); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.card-featured .card-label { color: var(--cyan); }
.service-card h3 { font-size: 2rem; margin: 14px 0; }
.service-card p:not(.card-label) { color: var(--muted); }
.card-featured p:not(.card-label) { color: rgba(255,255,255,.66); }
.service-card ul { margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; position: relative; z-index: 1; }
.card-featured ul { border-color: rgba(255,255,255,.14); }
.service-card li { padding: 5px 0 5px 20px; font-size: .88rem; position: relative; }
.service-card li::before { content: ""; position: absolute; left: 0; top: 14px; width: 5px; height: 5px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--violet)); }

.method { background: var(--night); color: white; position: relative; overflow: hidden; }
.method::before { content: ""; position: absolute; width: 700px; height: 700px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; left: -370px; top: -230px; box-shadow: 0 0 0 100px rgba(255,255,255,.015), 0 0 0 200px rgba(255,255,255,.01); }
.method-layout { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; }
.section-kicker.light { color: var(--cyan); }
.method-title h2 { font-size: clamp(3rem, 5vw, 5rem); }
.method-title > p:last-child { color: rgba(255,255,255,.62); max-width: 420px; margin-top: 26px; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 60px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.14); }
.steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.steps > li > span { color: var(--cyan); font-size: .74rem; font-weight: 800; }
.steps h3 { font-size: 1.55rem; }
.steps p { color: rgba(255,255,255,.6); margin: 7px 0 0; }

.contact { background: white; }
.contact-shell { border-radius: 34px; color: white; background: linear-gradient(120deg, #07162b 0%, #0b2848 58%, #271360 100%); padding: 68px; display: grid; grid-template-columns: 1fr .8fr; gap: 100px; align-items: end; position: relative; overflow: hidden; }
.contact-shell::after { content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: var(--cyan); opacity: .13; filter: blur(80px); right: -180px; top: -180px; }
.contact-copy p:last-child { color: rgba(255,255,255,.63); max-width: 560px; margin: 25px 0 0; }
.contact-action { position: relative; z-index: 2; }
.big-link { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.4); font-family: "Space Grotesk", sans-serif; font-size: clamp(1.7rem, 3vw, 2.6rem); }
.big-link span:last-child { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--night); background: var(--cyan); }
.mail { color: var(--cyan); font-weight: 700; display: inline-block; margin-top: 28px; }
.contact-action p { color: rgba(255,255,255,.5); font-size: .84rem; margin: 8px 0 0; }

.whatsapp-float { position: fixed; right: 24px; bottom: 24px; z-index: 30; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: white; background: #25d366; box-shadow: 0 16px 34px rgba(13, 55, 33, .3); transition: transform .2s, box-shadow .2s; }
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 19px 38px rgba(13, 55, 33, .36); }
.whatsapp-float svg { width: 32px; height: 32px; fill: currentColor; }

footer { padding: 40px 0; background: white; border-top: 1px solid var(--line); }
.footer-layout { display: grid; grid-template-columns: 1fr auto auto 1fr; align-items: center; gap: 30px; color: #7b8797; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-layout img { width: 180px; }
.footer-layout p { margin: 0; }
.footer-layout p:last-child { justify-self: end; }
.footer-social { display: flex; align-items: center; gap: 9px; }
.footer-social a { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: color .2s, border-color .2s, background .2s, transform .2s; }
.footer-social a:hover { color: white; border-color: var(--violet); background: var(--violet); transform: translateY(-2px); }
.footer-social svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.footer-social svg path, .footer-social .social-dot { fill: currentColor; stroke: none; }

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

@media (max-width: 980px) {
  .nav-shell { grid-template-columns: 1fr auto; }
  .main-nav { position: absolute; top: 83px; left: 24px; right: 24px; padding: 24px; border-radius: 18px; background: rgba(7,22,43,.97); flex-direction: column; align-items: flex-start; display: none; }
  .main-nav.open { display: flex; }
  .nav-cta { display: none; }
  .menu-toggle { display: grid; gap: 7px; }
  .menu-toggle span { display: block; width: 28px; height: 2px; background: white; }
  .hero-layout { grid-template-columns: 1fr; padding: 105px 0 60px; }
  .hero-mark { position: absolute; right: -180px; opacity: .3; }
  .hero-copy { position: relative; z-index: 2; }
  .section-head { grid-template-columns: 1fr; gap: 28px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card:first-child { grid-column: span 2; min-height: 640px; }
  .service-card:first-child .service-visual { aspect-ratio: 16 / 7; }
  .method-layout { grid-template-columns: 1fr; gap: 50px; }
  .contact-shell { grid-template-columns: 1fr; gap: 50px; }
  .footer-layout { grid-template-columns: 1fr auto auto; }
  .footer-layout > p:first-of-type { display: none; }
}

@media (max-width: 680px) {
  :root { --wrap: min(100% - 30px, 1180px); --radius: 22px; }
  .section { padding: 78px 0; }
  .nav-shell { height: 78px; }
  .brand { width: 158px; }
  .brand img { width: 166px; }
  .hero { min-height: 740px; padding-top: 78px; }
  .hero-layout { min-height: 585px; gap: 0; }
  h1 { font-size: clamp(3.25rem, 16vw, 4.7rem); }
  .lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { justify-content: center; }
  .hero-mark { right: -260px; transform: scale(.75); }
  .hero-foot { height: 70px; }
  .hero-foot > span { display: none; }
  .hero-foot { justify-content: flex-end; }
  .section-head h2, .contact h2 { font-size: 2.65rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:first-child { grid-column: auto; min-height: 650px; padding: 20px; }
  .service-card:first-child .service-visual { aspect-ratio: 4 / 3; }
  .method-layout { gap: 38px; }
  .method-title h2 { font-size: 3.5rem; }
  .steps li { grid-template-columns: 42px 1fr; gap: 12px; }
  .contact-shell { padding: 38px 25px; border-radius: 24px; }
  .footer-layout { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-layout > p:first-of-type { display: block; }
  .footer-layout p:last-child { justify-self: center; }
  .whatsapp-float { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .service-card, .service-visual img, .button, .whatsapp-float { transition: none; }
}
