:root {
  --navy: #06175b;
  --blue: #0b2aa5;
  --electric: #1c55ff;
  --sky: #7db2ff;
  --ink: #101b38;
  --muted: #5e6983;
  --line: #dfe6f4;
  --soft: #f5f8ff;
  --white: #ffffff;
  --shell: min(1180px, calc(100% - 40px));
  --radius: 28px;
  --shadow: 0 24px 70px rgba(5, 23, 91, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.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: -60px; left: 16px; z-index: 999; background: white; color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 78px;
  color: white;
  transition: background .25s ease, box-shadow .25s ease, color .25s ease;
}
.site-header.scrolled { background: rgba(255,255,255,.96); color: var(--navy); box-shadow: 0 12px 36px rgba(5,23,91,.1); backdrop-filter: blur(16px); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; width: 138px; height: 48px; border-radius: 10px; overflow: hidden; flex: 0 0 auto; }
.brand-window { position: relative; width: 100%; height: 100%; overflow: hidden; background: white; }
.brand-window img { position: absolute; width: 142px; height: 142px; max-width: none; left: 50%; top: 53%; transform: translate(-50%,-50%); }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: .92rem; font-weight: 650; }
.nav-links > a:not(.nav-cta) { position: relative; padding-block: 10px; }
.nav-links > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 5px; height: 2px; background: currentColor; transition: right .2s ease; }
.nav-links > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { padding: 11px 18px; border: 1px solid rgba(255,255,255,.38); border-radius: 999px; }
.site-header.scrolled .nav-cta { color: white; border-color: var(--blue); background: var(--blue); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: rgba(255,255,255,.12); padding: 12px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }

.hero {
  position: relative;
  min-height: 760px;
  height: min(900px, 100svh);
  overflow: hidden;
  display: grid;
  align-items: center;
  color: white;
  background: radial-gradient(circle at 72% 36%, #153bbb 0, #0a247e 30%, #06175b 72%);
}
.hero::before { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(transparent, rgba(0,0,0,.16)); pointer-events: none; }
.hero-grid { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 68px 68px; mask-image: linear-gradient(90deg, transparent, black 20%, black 80%, transparent); }
.hero-grid::after { content: ""; position: absolute; width: 1px; height: 160%; left: 58%; top: -30%; background: rgba(255,255,255,.32); transform: rotate(32deg); box-shadow: 0 0 40px #72a0ff; }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.orb-one { width: 420px; height: 420px; background: rgba(50,100,255,.28); left: -180px; bottom: -120px; }
.orb-two { width: 200px; height: 200px; border: 1px solid rgba(255,255,255,.2); right: 5%; top: 13%; }
.hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: clamp(44px, 7vw, 100px); padding-top: 54px; }
.eyebrow { margin: 0 0 18px; color: #c8d8ff; font-size: .78rem; font-weight: 800; letter-spacing: .18em; display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 34px; height: 2px; background: var(--sky); }
.eyebrow.dark { color: var(--blue); }
.eyebrow.dark span { background: var(--blue); }
.hero h1 { margin: 0; max-width: 720px; font-size: clamp(3rem, 5.4vw, 5.4rem); line-height: .99; letter-spacing: -.055em; }
.hero h1 em { display: block; color: #8eb9ff; font-style: normal; }
.hero-text { max-width: 590px; margin: 26px 0 0; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: #dce6ff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 52px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button svg, .text-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { color: var(--navy); background: white; box-shadow: 0 15px 34px rgba(0,0,0,.18); }
.button-ghost { border: 1px solid rgba(255,255,255,.35); color: white; background: rgba(255,255,255,.07); }
.direct-contact { margin-top: 30px; display: flex; align-items: center; gap: 12px; color: #aebfe8; font-size: .9rem; }
.direct-contact a { color: white; font-weight: 750; }
.hero-mark { position: relative; max-width: 500px; width: 100%; aspect-ratio: 1; justify-self: end; display: grid; place-items: center; }
.logo-card { position: relative; z-index: 2; width: 78%; border-radius: 34px; overflow: hidden; transform: rotate(2deg); box-shadow: 0 38px 80px rgba(1,8,34,.42), inset 0 0 0 1px rgba(255,255,255,.12); }
.logo-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 50px rgba(63,109,255,.2); }
.signal-ring { position: absolute; border: 1px solid rgba(134,174,255,.25); border-radius: 50%; }
.ring-one { width: 92%; height: 92%; animation: rotate 20s linear infinite; }
.ring-two { width: 112%; height: 112%; border-style: dashed; opacity: .6; animation: rotate 28s linear infinite reverse; }
.signal-ring::before, .signal-ring::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #9cc0ff; box-shadow: 0 0 20px #79a8ff; }
.signal-ring::before { top: 12%; left: 14%; }
.signal-ring::after { right: 9%; bottom: 20%; }
@keyframes rotate { to { transform: rotate(360deg); } }
.status-chip { position: absolute; z-index: 3; bottom: 7%; left: -2%; display: flex; align-items: center; gap: 12px; padding: 13px 17px; border: 1px solid rgba(255,255,255,.18); background: rgba(4,18,72,.78); backdrop-filter: blur(14px); border-radius: 16px; box-shadow: 0 18px 44px rgba(1,8,34,.3); }
.status-chip .pulse { width: 10px; height: 10px; border-radius: 50%; background: #72f1bd; box-shadow: 0 0 0 6px rgba(114,241,189,.12); }
.status-chip strong, .status-chip small { display: block; }
.status-chip strong { font-size: .85rem; }
.status-chip small { color: #bfcdf0; font-size: .73rem; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 25px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; color: #b9c8eb; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.scroll-cue svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.section { padding: clamp(84px, 10vw, 132px) 0; }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: end; margin-bottom: 48px; }
.section-head h2, .about-copy h2, .contact h2 { margin: 0; font-size: clamp(2.25rem, 4vw, 4rem); line-height: 1.04; letter-spacing: -.045em; }
.section-head > p { color: var(--muted); margin: 0 0 6px; max-width: 490px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 310px; padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: white; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card::after { content: ""; position: absolute; width: 130px; height: 130px; border-radius: 50%; right: -70px; bottom: -70px; background: var(--soft); transition: transform .3s ease; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { transform: scale(1.5); }
.service-card.feature { color: white; border-color: var(--blue); background: linear-gradient(145deg, #0d32b1, #06175b); }
.service-card.feature::after { background: rgba(255,255,255,.06); }
.icon-box { width: 54px; height: 54px; display: grid; place-items: center; color: var(--blue); background: var(--soft); border-radius: 16px; }
.service-card.feature .icon-box { color: white; background: rgba(255,255,255,.11); }
.icon-box svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.card-index { position: absolute; right: 28px; top: 31px; color: #99a7c2; font-size: .82rem; font-weight: 800; letter-spacing: .1em; }
.service-card.feature .card-index { color: #9db8ff; }
.service-card h3 { margin: 52px 0 12px; font-size: 1.45rem; letter-spacing: -.02em; }
.service-card p { margin: 0; color: var(--muted); }
.service-card.feature p { color: #cbd8f6; }

.about { color: white; background: #06175b; overflow: hidden; }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px, 9vw, 120px); align-items: center; }
.about-visual { position: relative; min-height: 520px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); background: radial-gradient(circle at 70% 25%, #1746d5 0, transparent 32%), linear-gradient(145deg, #0a247e, #041044); box-shadow: 0 30px 70px rgba(0,0,0,.24); }
.about-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(black, transparent); }
.large-t { position: absolute; left: 10%; bottom: -18%; color: white; font-weight: 1000; font-size: 28rem; line-height: 1; letter-spacing: -.14em; opacity: .94; text-shadow: 16px -14px 0 #1c55ff; }
.about-visual p { position: absolute; z-index: 2; left: 30px; bottom: 24px; margin: 0; font-weight: 900; letter-spacing: .11em; }
.about-visual p span { display: block; margin-top: 4px; color: #98b8ff; font-size: .67rem; font-weight: 700; letter-spacing: .18em; }
.connection-line { position: absolute; z-index: 2; height: 1px; transform-origin: left; background: linear-gradient(90deg, white, #57a0ff, transparent); box-shadow: 0 0 14px #3985ff; }
.line-a { width: 70%; left: 18%; top: 24%; transform: rotate(35deg); }
.line-b { width: 55%; left: 38%; top: 70%; transform: rotate(-24deg); }
.connection-dot { position: absolute; z-index: 3; width: 12px; height: 12px; border-radius: 50%; background: white; box-shadow: 0 0 0 8px rgba(255,255,255,.12), 0 0 24px #5d9fff; }
.dot-a { right: 17%; top: 58%; }
.dot-b { left: 28%; top: 67%; }
.about-copy > p:not(.eyebrow) { max-width: 560px; margin: 25px 0; color: #c9d5f3; font-size: 1.06rem; }
.check-list { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: center; gap: 12px; }
.check-list span { width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; color: var(--navy); background: #9ac0ff; font-size: .78rem; font-weight: 900; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: #9fc3ff; font-weight: 850; }

.contact { padding-bottom: clamp(84px, 10vw, 120px); }
.contact-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: clamp(42px, 7vw, 76px); border-radius: 32px; color: white; background: linear-gradient(135deg, #0d32b1 0, #06175b 70%); box-shadow: var(--shadow); }
.contact-card::before { content: ""; position: absolute; width: 380px; height: 380px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; right: -150px; top: -190px; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018); }
.contact-copy, .contact-actions { position: relative; z-index: 2; }
.contact-copy p:last-child { max-width: 600px; margin: 20px 0 0; color: #cbd8f6; }
.contact-actions { justify-self: end; text-align: center; }
.button-light { color: var(--navy); background: white; box-shadow: 0 14px 32px rgba(0,0,0,.2); }
.phone-link { display: block; margin-top: 15px; color: #bfd0f8; font-weight: 700; }

.site-footer { color: #bfcbe7; background: #03103f; padding: 70px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .5fr .6fr; gap: 60px; }
.footer-brand { position: relative; width: 150px; height: 52px; overflow: hidden; border-radius: 10px; }
.footer-brand img { position: absolute; width: 150px; height: 150px; max-width: none; left: 50%; top: 53%; transform: translate(-50%,-50%); }
.footer-grid p { max-width: 320px; margin: 17px 0 0; }
.footer-grid strong { color: white; display: block; margin-bottom: 15px; }
.footer-nav, .footer-contact { display: grid; align-content: start; gap: 8px; }
.footer-nav a:hover, .footer-contact a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }

.floating-whatsapp { position: fixed; z-index: 90; right: 22px; bottom: 22px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: white; background: #16a864; box-shadow: 0 12px 30px rgba(0,0,0,.28); transition: transform .2s ease; }
.floating-whatsapp:hover { transform: translateY(-4px) scale(1.03); }
.floating-whatsapp svg { width: 30px; fill: currentColor; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  :root { --shell: min(100% - 32px, 700px); }
  .site-header { height: 70px; }
  .menu-toggle { display: block; color: white; }
  .site-header.scrolled .menu-toggle { color: var(--navy); background: var(--soft); }
  .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); }
  .nav-links { position: fixed; inset: 70px 16px auto; display: grid; gap: 4px; padding: 16px; border-radius: 18px; color: var(--navy); background: white; box-shadow: 0 24px 60px rgba(4,16,68,.22); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 12px 14px !important; }
  .nav-cta { margin-top: 6px; text-align: center; color: white; background: var(--blue); border-color: var(--blue); }
  .hero { min-height: 900px; height: auto; padding: 126px 0 90px; }
  .hero-layout { grid-template-columns: 1fr; gap: 60px; padding: 0; }
  .hero-copy { max-width: 680px; }
  .hero-mark { justify-self: center; max-width: 430px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 260px; }
  .about-layout { grid-template-columns: 1fr; }
  .about-visual { min-height: 440px; order: 2; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-actions { justify-self: start; text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 28px); }
  .brand { width: 116px; height: 42px; }
  .brand-window img { width: 124px; height: 124px; }
  .hero { min-height: 820px; padding-top: 112px; }
  .hero h1 { font-size: clamp(2.72rem, 13vw, 4rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .direct-contact { justify-content: center; }
  .hero-mark { max-width: 330px; }
  .logo-card { border-radius: 24px; }
  .status-chip { left: 0; bottom: 2%; }
  .ring-two { width: 108%; height: 108%; }
  .scroll-cue { display: none; }
  .section { padding-block: 78px; }
  .section-head h2, .about-copy h2, .contact h2 { font-size: 2.35rem; }
  .service-card { padding: 26px; }
  .about-visual { min-height: 380px; }
  .large-t { font-size: 23rem; left: 3%; }
  .contact-card { width: calc(100% - 28px); padding: 38px 24px; border-radius: 24px; }
  .contact-actions { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .floating-whatsapp { right: 14px; bottom: 14px; width: 54px; height: 54px; }
}

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