:root {
  --bg: #eaf1ff;
  --surface: rgba(255,255,255,0.78);
  --surface-2: rgba(255,255,255,0.9);
  --line: rgba(123, 162, 239, 0.36);
  --text: #ffffff;
  --muted: #3b4f74;
  --blue: #2563eb;
  --blue-glow: rgba(37,99,235,0.45);
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; font-size: 1.04rem; background: radial-gradient(circle at 18% 10%, rgba(96,165,250,0.28), transparent 38%), radial-gradient(circle at 82% 88%, rgba(147,197,253,0.22), transparent 42%), linear-gradient(180deg, #f4f7ff 0%, #eaf1ff 100%); color: #17233b; line-height: 1.75; }
h1,h2,h3,h4,.brand { font-family: Poppins, Inter, sans-serif; letter-spacing: -0.02em; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 92px 0; position: relative; }
.bg-glow::before,.bg-glow::after { content: ""; position: fixed; width: 36vmax; height: 36vmax; border-radius: 50%; filter: blur(70px); z-index: -1; }
.bg-glow::before { top: -15vmax; right: -10vmax; background: rgba(37,99,235,0.24); animation: drift 10s ease-in-out infinite alternate; }
.bg-glow::after { bottom: -18vmax; left: -8vmax; background: rgba(59,130,246,0.18); animation: drift 12s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translateY(0) scale(1);} to { transform: translateY(30px) scale(1.08);} }
.site-loader { position: fixed; inset: 0; background: #040713; display: grid; place-content: center; gap: 18px; z-index: 1000; transition: opacity .6s ease, visibility .6s ease; }
.site-loader.done { opacity: 0; visibility: hidden; }
.loader-core { width: 60px; height: 60px; border: 2px solid rgba(255,255,255,.15); border-top-color: var(--blue); border-radius: 50%; box-shadow: 0 0 24px var(--blue-glow); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg);} }
.topbar { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(14px); background: rgba(255,255,255,.74); border-bottom: 1px solid var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { color: #17233b; text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.brand span { color: #93c5fd; }
.brand strong { color: #2563eb; font-weight: 700; }
.brand img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 24px rgba(37,99,235,.35); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.main-nav { display: flex; gap: 22px; }
.main-nav a { color: #35527d; text-decoration: none; font-weight: 500; transition: .25s; }
.main-nav a:hover { color: #1d4ed8; text-shadow: 0 0 14px rgba(37,99,235,.25); }
.main-nav a.current { color: #1d4ed8; border-bottom: 1px solid rgba(37,99,235,.45); padding-bottom: 2px; }
.menu-toggle { display: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { color: #93c5fd; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; margin: 0 0 10px; }
.hero h1 { font-size: clamp(2.2rem,5vw,4rem); line-height: 1.1; margin: 0 0 14px; }
h1 { font-size: clamp(2rem,4.8vw,3.2rem); margin: 0 0 14px; line-height: 1.15; }
.subhead { color: #30486f; max-width: 62ch; }
.hero-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.btn { padding: 12px 18px; border-radius: 12px; text-decoration: none; border: 1px solid transparent; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; transition: .25s; }
.btn-primary { background: linear-gradient(120deg, #2563eb, #3b82f6); color: #fff; box-shadow: 0 0 24px rgba(37,99,235,.45); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 34px rgba(59,130,246,.6); }
.btn-glass { color: #1d4ed8; border-color: rgba(37,99,235,.38); background: rgba(255,255,255,.82); }
.hero-art { position: relative; min-height: 420px; }
.mockup { position: absolute; border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(37,99,235,.25), rgba(15,23,42,.8)); box-shadow: 0 24px 60px rgba(2,6,23,.7), 0 0 34px rgba(37,99,235,.35) inset; }
.mockup-main { inset: 25px 40px 15px 0; }
.mockup-main img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; border-radius: inherit; background: rgba(2, 6, 23, 0.35); }
.mockup-float { width: 180px; height: 300px; right: 0; top: 0; animation: float 5s ease-in-out infinite; }
.mockup-float img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; border-radius: inherit; }
.mockup-text { position: absolute; left: 16px; bottom: 0; background: rgba(255,255,255,.82); border: 1px solid var(--line); padding: 10px 14px; border-radius: 999px; color: #1d4ed8; }
@keyframes float { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-16px);} }
.narrow { max-width: 760px; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin: 0 0 14px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.card,.testimonial,.stat,.contact-form,.phone-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(12px); }
.card { padding: 24px; transition: transform .25s, border-color .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px); border-color: rgba(96,165,250,.6); box-shadow: 0 0 30px rgba(37,99,235,.25); }
.card p { color: #3a5278; margin: 0; }
.inline-link { display: inline-block; margin-top: 14px; color: #93c5fd; text-decoration: none; font-weight: 600; }
.inline-link:hover { color: #dbeafe; text-shadow: 0 0 14px rgba(37,99,235,.45); }
.portfolio-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 30px; align-items: center; }
.portfolio-mock { width: 100%; display: grid; place-items: center; }
.phone-card { width: min(320px,100%); padding: 18px; }
.phone-head { height: 48px; border-radius: 14px; background: linear-gradient(90deg, rgba(37,99,235,.4), rgba(148,197,253,.25)); margin-bottom: 10px; }
.phone-body { height: 440px; border-radius: 16px; background: linear-gradient(180deg, rgba(15,23,42,.92), rgba(37,99,235,.18)); overflow: hidden; }
.phone-body img { width: 100%; height: 100%; object-fit: contain; object-position: center top; display: block; background: rgba(2, 6, 23, 0.35); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.stat { padding: 26px 16px; text-align: center; }
.stat strong { display:block; font-size: clamp(1.8rem,4vw,2.8rem); color:#93c5fd; }
.stat span { color: #3c557d; }
.testimonials { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.testimonial { margin: 0; padding: 22px; color: #233556; }
.testimonial cite { display:block; margin-top: 12px; color: #45628d; font-style: normal; }
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.contact-form { padding: 22px; display: grid; gap: 12px; }
.contact-form input,.contact-form textarea { width:100%; border:1px solid var(--line); background: rgba(255,255,255,.92); color:#17233b; border-radius: 12px; padding: 12px; font: inherit; }
.contact-form input:focus,.contact-form textarea:focus { outline: none; border-color: #60a5fa; box-shadow: 0 0 0 3px rgba(37,99,235,.25); }
.form-note { margin: 0; color: var(--muted); font-size: .95rem; }
.socials { display:flex; gap:10px; margin-top: 12px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; display:grid; place-items:center; color:#bfdbfe; border:1px solid rgba(147,197,253,.5); text-decoration:none; }
.socials a svg { width: 16px; height: 16px; }
.socials a:hover { color: #fff; box-shadow: 0 0 14px rgba(37,99,235,.4); border-color: rgba(147,197,253,.8); }
.whatsapp-fab { position: fixed; right: 18px; bottom: 18px; width: 52px; height: 52px; border-radius: 50%; display:grid; place-items:center; color:#fff; text-decoration:none; font-weight:700; background: linear-gradient(120deg,#22c55e,#16a34a); box-shadow: 0 0 20px rgba(34,197,94,.45); z-index: 80; }
.whatsapp-fab svg { width: 25px; height: 25px; }
.footer { padding: 22px 0 12px; border-top:1px solid rgba(148,163,184,.22); background: #111a30; }
.footer-grid { display:grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 12px; }
.footer h4 { margin:0 0 6px; color: #dbeafe; font-size: .82rem; }
.footer a { display:block; color: var(--muted); text-decoration:none; margin-bottom: 6px; }
.footer a:hover { color:#1d4ed8; }
.footer .social-row { display: flex; align-items: center; gap: 8px; }
.footer .social-row svg { width: 14px; height: 14px; flex-shrink: 0; }
.brand-text { font-family: Poppins, Inter, sans-serif; color: #93c5fd; font-weight: 700; margin: 0 0 4px; }
.footer p { margin: 0; color: #c8d8f4; font-size: .92rem; }
.copyright { margin-top: 10px; color: #9bb3da; font-size: .82rem; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (max-width: 980px) {
  .hero-grid,.portfolio-grid,.contact-grid { grid-template-columns: 1fr; }
  .cards,.testimonials { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .main-nav { position: absolute; top: 76px; left: 12px; right: 12px; background: rgba(5,8,22,.97); border: 1px solid var(--line); border-radius: 16px; padding: 14px; flex-direction: column; display:none; }
  .main-nav.open { display: flex; }
  .menu-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: transparent; color: #dbeafe; }
}
@media (max-width: 640px) {
  body { font-size: 1.02rem; line-height: 1.72; }
  .section { padding: 72px 0; }
  .cards,.testimonials { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
