:root {
  --bg: #1f3f5b;
  --bg-soft: #2f5879;
  --card: #ffffff;
  --text: #25445f;
  --muted: #66798a;
  --primary: #f58220;
  --primary-strong: #d96b0d;
  --accent: #ff9b45;
  --line: #dfe7ef;
  --light: #f4f7fa;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(40, 80, 113, .14);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: .25s ease;
}
.header.scrolled {
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(40,80,113,.14);
}
.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display:flex; align-items:center; padding:8px 0; position:relative; z-index:2; }
.brand img { width: 250px; height: auto; object-fit:contain; }
.nav { display: flex; align-items: center; gap: 32px; color: #315b7d; }
.nav a { font-size: .95rem; font-weight: 650; }
.nav a:hover { color: var(--accent); }
.nav-cta {
  padding: 11px 18px;
  border: 1px solid rgba(49,91,125,.25);
  border-radius: 999px;
}
.menu-button { display: none; background: transparent; border: 0; cursor: pointer; }
.menu-button span { display:block; width:26px; height:2px; background:#315b7d; margin:5px 0; }

.hero {
  min-height: 800px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 18%, rgba(245,130,32,.18), transparent 28%),
    radial-gradient(circle at 70% 70%, rgba(49,91,125,.12), transparent 35%),
    linear-gradient(135deg, #f7fafc 0%, #edf3f7 58%, #e5edf3 100%);
  padding: 145px 0 85px;
}
.hero::after {
  content:"";
  position:absolute; inset:auto 0 0;
  height:180px;
  background:linear-gradient(to top, rgba(49,91,125,.04), transparent);
}
.hero-grid { display:grid; grid-template-columns: 1.08fr .92fr; gap:70px; align-items:center; position:relative; z-index:2; }
.eyebrow {
  display:inline-flex;
  align-items:center;
  gap:10px;
  color: var(--primary);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.76rem;
}
.eyebrow::before { content:""; width:28px; height:2px; background:currentColor; }
.hero h1 {
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  line-height: 1.04;
  margin: 24px 0 24px;
  max-width: 820px;
  letter-spacing:-.045em;
}
.hero h1 span { color: var(--accent); }
.hero p { color:#64788a; font-size:1.15rem; max-width:650px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:14px; margin-top:34px; }
.button {
  min-height:52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 24px;
  border-radius:12px;
  font-weight:800;
  transition:.22s ease;
}
.button:hover { transform:translateY(-2px); }
.button-primary { background:var(--primary); color:#fff; box-shadow:0 14px 35px rgba(245,130,32,.28); }
.button-primary:hover { background:var(--accent); }
.button-secondary { border:1px solid rgba(49,91,125,.28); color:#315b7d; }
.button-secondary:hover { background:rgba(49,91,125,.07); }
.hero-badges { display:flex; flex-wrap:wrap; gap:10px; margin-top:32px; }
.hero-badges span {
  font-size:.8rem; color:#516b80;
  border:1px solid rgba(49,91,125,.16); border-radius:999px;
  padding:8px 12px; background:rgba(255,255,255,.72);
}

.hero-visual { position:relative; min-height:480px; }
.tech-card {
  background:rgba(255,255,255,.96);
  color:var(--text);
  border:1px solid rgba(255,255,255,.65);
  box-shadow:0 32px 80px rgba(0,0,0,.28);
}
.main-card {
  position:absolute; width:78%; right:0; top:42px;
  padding:26px; border-radius:26px; transform:rotate(2deg);
}
.card-top { display:flex; align-items:center; gap:9px; font-size:.82rem; color:var(--muted); }
.card-top small { margin-left:auto; color:#12a86b; font-weight:800; }
.status-dot { width:9px; height:9px; border-radius:50%; background:#14c97a; box-shadow:0 0 0 6px rgba(20,201,122,.12); }
.metric { display:flex; justify-content:space-between; align-items:end; margin:48px 0 20px; }
.metric span { color:var(--muted); }
.metric strong { font-size:2.5rem; letter-spacing:-.05em; }
.chart { height:150px; display:flex; align-items:end; gap:10px; padding-top:10px; }
.chart i { flex:1; border-radius:8px 8px 2px 2px; background:linear-gradient(to top, var(--primary-strong), var(--accent)); }
.floating-card {
  position:absolute; display:flex; align-items:center; gap:13px; padding:18px;
  border-radius:16px; width:265px;
}
.floating-card > span {
  width:48px; height:48px; display:grid; place-items:center; border-radius:12px;
  background:#fff1e4; color:var(--primary-strong); font-weight:900; font-size:1.2rem;
}
.floating-card strong { display:block; font-size:.92rem; }
.floating-card small { color:var(--muted); }
.code-card { left:0; top:5px; }
.server-card { left:18px; bottom:35px; }

.trust-strip { background:#fff3e8; border-bottom:1px solid #f4d5b8; }
.trust-strip p { margin:0; text-align:center; padding:21px 0; color:#315b7d; font-weight:700; }

.section { padding:105px 0; }
.section-heading { max-width:720px; margin-bottom:48px; }
.section h2 {
  font-size:clamp(2rem, 3.6vw, 3.45rem);
  line-height:1.12;
  letter-spacing:-.035em;
  margin:16px 0;
}
.section-heading p, .about-copy p, .solution-copy > p { color:var(--muted); font-size:1.06rem; }
.services-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; }
.service-card {
  padding:30px; border:1px solid var(--line); border-radius:var(--radius);
  background:var(--white); box-shadow:0 10px 30px rgba(7,20,38,.035);
  transition:.25s ease;
}
.service-card:hover { transform:translateY(-7px); box-shadow:var(--shadow); border-color:#f4c79f; }
.icon {
  width:48px; height:48px; display:grid; place-items:center; border-radius:14px;
  background:#fff1e4; color:var(--primary-strong); font-weight:900; margin-bottom:24px;
}
.service-card h3 { margin:0 0 12px; font-size:1.26rem; }
.service-card p { color:var(--muted); margin:0 0 18px; }
.service-card ul { margin:0; padding:0; list-style:none; display:grid; gap:8px; }
.service-card li { font-size:.9rem; font-weight:650; }
.service-card li::before { content:"✓"; color:var(--primary-strong); margin-right:8px; }

.dark-section { background:linear-gradient(135deg, #244966, #315b7d); color:var(--white); }
.solutions-grid { display:grid; grid-template-columns:1fr 1fr; gap:90px; align-items:center; }
.solution-copy > p { color:rgba(255,255,255,.67); }
.check-list { margin-top:30px; display:grid; gap:14px; }
.check-list div { display:flex; gap:12px; align-items:center; }
.check-list b {
  width:28px; height:28px; display:grid; place-items:center; border-radius:50%;
  background:rgba(245,130,32,.16); color:var(--accent);
}
.process { display:grid; gap:14px; }
.process-step {
  display:flex; gap:18px; padding:24px; border:1px solid rgba(255,255,255,.12);
  border-radius:18px; background:rgba(255,255,255,.045);
}
.process-step > span {
  min-width:42px; height:42px; display:grid; place-items:center; border-radius:12px;
  background:var(--primary); color:#fff; font-weight:900;
}
.process-step strong { font-size:1.05rem; }
.process-step p { margin:3px 0 0; color:rgba(255,255,255,.57); font-size:.92rem; }

.about-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:80px; align-items:center; }
.about-panel {
  min-height:440px; padding:42px; border-radius:30px; color:#fff;
  display:flex; flex-direction:column; justify-content:end;
  background:
    linear-gradient(145deg, rgba(245,130,32,.18), rgba(36,73,102,.94)),
    linear-gradient(135deg, #315b7d, #244966);
  box-shadow:var(--shadow);
}
.about-panel .mini-label { color:var(--accent); font-weight:900; letter-spacing:.15em; text-transform:uppercase; font-size:.74rem; }
.about-panel strong { font-size:2.35rem; line-height:1.1; margin:14px 0; }
.about-panel p { color:rgba(255,255,255,.7); }
.about-copy p { margin:0 0 18px; }
.text-link { color:var(--primary-strong); font-weight:850; display:inline-block; margin-top:10px; }

.cta-section { padding:0 0 105px; }
.cta-box {
  padding:52px; display:flex; align-items:center; justify-content:space-between; gap:35px;
  border-radius:28px; color:#fff; background:linear-gradient(125deg, #315b7d, #244966);
  box-shadow:0 25px 70px rgba(40,80,113,.28);
}
.cta-box h2 { max-width:690px; margin:12px 0; font-size:clamp(1.8rem,3.2vw,3rem); line-height:1.12; }
.cta-box p { margin:0; color:rgba(255,255,255,.78); }
.cta-box .eyebrow { color:#ffd2ad; }
.contact-actions { display:flex; flex-direction:column; align-items:center; gap:12px; min-width:300px; }
.button-light { background:#fff; color:#315b7d; width:100%; }
.contact-email { color:#fff; font-weight:750; }

.footer { background:#1d3b55; color:rgba(255,255,255,.67); padding:70px 0 22px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:55px; }
.footer-logo { width:250px; margin-bottom:20px; background:#fff; padding:12px 16px; border-radius:14px; }
.footer-grid > div { display:flex; flex-direction:column; gap:10px; }
.footer-grid strong { color:#fff; margin-bottom:5px; }
.footer-grid a:hover { color:var(--accent); }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,.08); margin-top:45px; padding-top:22px;
  display:flex; justify-content:space-between; gap:20px; font-size:.84rem;
}

.whatsapp-float {
  position:fixed; right:24px; bottom:24px; z-index:90;
  background:#1dbf73; color:#fff; font-weight:850; padding:14px 18px;
  border-radius:999px; box-shadow:0 14px 35px rgba(0,0,0,.22);
}
.reveal { opacity:0; transform:translateY(22px); transition:opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity:1; transform:none; }

@media (max-width: 980px) {
  .hero-grid, .solutions-grid, .about-grid { grid-template-columns:1fr; }
  .hero { min-height:auto; }
  .hero-visual { min-height:430px; max-width:620px; width:100%; margin:0 auto; }
  .services-grid { grid-template-columns:repeat(2,1fr); }
  .solutions-grid, .about-grid { gap:55px; }
  .cta-box { flex-direction:column; align-items:flex-start; }
  .contact-actions { width:100%; max-width:420px; align-items:flex-start; }
}
@media (max-width: 760px) {
  .container { width:min(100% - 28px, 1160px); }
  .header { background:rgba(255,255,255,.97); }
  .nav-wrap { min-height:70px; }
  .brand img { width:220px; }
  .menu-button { display:block; }
  .nav {
    position:absolute; top:70px; left:14px; right:14px; display:none;
    flex-direction:column; align-items:stretch; gap:0; padding:12px;
    background:#ffffff; border:1px solid rgba(49,91,125,.14); border-radius:16px;
  }
  .nav.open { display:flex; }
  .nav a { padding:13px; color:#315b7d; }
  .nav-cta { border-radius:10px; }
  .hero { padding:120px 0 70px; }
  .hero-grid { gap:35px; }
  .hero h1 { font-size:2.8rem; }
  .hero p { font-size:1rem; }
  .hero-actions { flex-direction:column; }
  .button { width:100%; }
  .hero-visual { min-height:360px; }
  .main-card { width:88%; padding:20px; }
  .floating-card { width:245px; padding:14px; }
  .code-card { top:0; }
  .server-card { bottom:5px; }
  .services-grid { grid-template-columns:1fr; }
  .section { padding:78px 0; }
  .cta-section { padding-bottom:78px; }
  .cta-box { padding:34px 24px; }
  .footer-grid { grid-template-columns:1fr; gap:30px; }
  .footer-bottom { flex-direction:column; }
  .whatsapp-float { right:14px; bottom:14px; }
}
@media (max-width: 430px) {
  .hero h1 { font-size:2.35rem; }
  .hero-visual { min-height:330px; }
  .main-card { width:92%; }
  .floating-card { width:225px; }
  .chart { height:115px; }
}
