/* ===== Design tokens ===== */
:root {
  --navy: #0f2c4c;
  --navy-2: #143a63;
  --accent: #ff6b35;      /* warm orange */
  --accent-dark: #e85826;
  --sky: #eef4fb;
  --text: #16263a;
  --muted: #5a6b80;
  --line: #e2e8f2;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 4px 14px rgba(15, 44, 76, .06);
  --shadow: 0 18px 40px -18px rgba(15, 44, 76, .28);
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 92px 0; }

h1, h2, h3 { line-height: 1.18; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.15rem; }

.kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-head { text-align: center; max-width: 620px; margin: 0 auto 54px; }
.section-sub { color: var(--muted); font-size: 1.05rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px;
  font-weight: 700; font-size: .95rem; font-family: inherit;
  cursor: pointer; border: 2px solid transparent;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 22px -10px rgba(255,107,53,.7); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ===== Top bar ===== */
.topbar { background: var(--navy); color: #cdddf0; font-size: .85rem; }
.topbar-inner { display: flex; gap: 26px; align-items: center; height: 40px; }
.topbar a:hover { color: #fff; }
.topbar-hours { margin-left: auto; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { display: block; height: 90px; width: auto; }
.brand-logo-footer { height: 90px; }
.brand-text { font-weight: 800; color: var(--navy); font-size: 1.1rem; line-height: 1.1; }
.brand-text span { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--navy); font-weight: 600; font-size: .95rem; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--accent); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(255,107,53,.10), transparent 60%),
    linear-gradient(180deg, var(--sky), #fff);
  padding: 84px 0 90px;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.badge {
  display: inline-block; background: #fff; border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  color: var(--navy); box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 18px; }
.lead { color: var(--muted); font-size: 1.14rem; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin: 30px 0 26px; flex-wrap: wrap; }
.hero-points { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; font-weight: 600; font-size: .92rem; color: var(--navy); }

/* Hero visual */
.hero-visual { position: relative; }
.hero-photo {
  height: 380px; border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(15,44,76,.55), rgba(20,58,99,.35)),
    url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=900&q=80") center/cover;
  box-shadow: var(--shadow);
}
.floating-card {
  position: absolute; background: #fff; border-radius: 14px; padding: 14px 16px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px;
}
.floating-card strong { display: block; font-size: .9rem; color: var(--navy); }
.floating-card small { color: var(--muted); font-size: .78rem; }
.fc-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--sky); font-size: 1.2rem; }
.card-a { top: 24px; left: -26px; animation: float 4s ease-in-out infinite; }
.card-b { bottom: 30px; right: -22px; animation: float 4s ease-in-out infinite .8s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ===== Grid ===== */
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== Services ===== */
.services { background: #fff; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-icon {
  width: 54px; height: 54px; display: grid; place-items: center; font-size: 1.6rem;
  border-radius: 13px; background: var(--sky); margin-bottom: 16px;
}
.svc-card h3 { margin-bottom: 8px; }
.svc-card p { color: var(--muted); font-size: .95rem; }

/* ===== About ===== */
.about { background: var(--sky); }
.about-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-visual {
  height: 400px; border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(15,44,76,.25), rgba(255,107,53,.18)),
    url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=800&q=80") center/cover;
  box-shadow: var(--shadow);
}
.about-text p { color: var(--muted); margin-bottom: 16px; }
.about-points { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.about-points li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--navy); }
.about-points span { width: 34px; height: 34px; display: grid; place-items: center; background: var(--sky); border-radius: 9px; font-size: 1rem; }

/* ===== Why ===== */
.why { background: #fff; }
.why-item {
  text-align: center; padding: 30px 22px; border-radius: var(--radius);
  border: 1px solid var(--line); transition: background .2s, transform .2s;
}
.why-item:hover { background: var(--sky); transform: translateY(-4px); }
.why-num { font-size: 2rem; display: block; margin-bottom: 12px; }
.why-item h3 { margin-bottom: 8px; }
.why-item p { color: var(--muted); font-size: .93rem; }

/* ===== Software ===== */
.software { background: var(--sky); }
.software-showcase { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.software-tag {
  display: inline-block; background: #fff; border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 700;
  color: var(--navy); box-shadow: var(--shadow-sm); margin-bottom: 16px;
}
.software-info h3 { font-size: 1.7rem; margin-bottom: 12px; }
.software-info > p { color: var(--muted); font-size: 1.05rem; max-width: 520px; }
.software-features { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.software-features li { display: flex; gap: 10px; font-weight: 600; color: var(--navy); font-size: .96rem; }
.software-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.software-actions .btn-outline { background: #fff; }

.software-visual { display: flex; justify-content: center; }
.software-mock {
  display: block; width: 100%; max-width: 400px; background: #fff; border-radius: 18px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  padding: 16px 16px 0; position: relative;
  transition: transform .2s, box-shadow .2s;
}
a.software-mock:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -20px rgba(15,44,76,.4); }
.mock-url {
  position: absolute; top: 16px; right: 16px;
  font-size: .72rem; font-weight: 700; color: var(--muted);
  background: var(--sky); padding: 3px 10px; border-radius: 999px;
}
.mock-dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 6px; background: var(--line); }
.mock-dot:nth-child(1) { background: #ff6b5c; }
.mock-dot:nth-child(2) { background: #ffbd44; }
.mock-dot:nth-child(3) { background: #22c55e; }
.mock-body {
  margin-top: 16px; padding: 40px 24px;
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  border-radius: 12px 12px 0 0; text-align: center; color: #fff;
}
.mock-icon { font-size: 2.4rem; display: block; margin-bottom: 12px; }
.mock-body strong { display: block; font-size: 1.25rem; color: #fff; }
.mock-body small { color: #cdddf0; font-size: .88rem; }

/* ===== CTA band ===== */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 54px 0; flex-wrap: wrap; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cdddf0; }

/* ===== Contact ===== */
.contact { background: var(--sky); }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 30px 26px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.cc-icon {
  width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 16px;
  font-size: 1.7rem; border-radius: 14px; background: var(--sky);
}
.contact-card h3 { margin-bottom: 6px; }
.contact-card p { color: var(--muted); font-size: .95rem; word-break: break-word; }
.cc-cta { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--accent); font-size: .9rem; }
.contact-card.whatsapp { background: #0f2c4c; border-color: #0f2c4c; }
.contact-card.whatsapp h3, .contact-card.whatsapp p { color: #fff; }
.contact-card.whatsapp .cc-icon { background: #25d366; }
.contact-card.whatsapp .cc-cta { color: #25d366; }
.contact-hours { text-align: center; margin-top: 34px; color: var(--muted); font-weight: 500; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  font-size: 1.7rem; box-shadow: 0 10px 24px -6px rgba(37,211,102,.7);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: #b9cbe0; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; padding: 46px 0 30px; flex-wrap: wrap; }
.footer-brand .brand-text, .footer-brand .brand-text span { color: #fff; }
.footer-brand p { margin-top: 12px; font-size: .9rem; color: #90a8c4; }
.footer-links { display: flex; gap: 26px; align-items: center; }
.footer-links a { color: #b9cbe0; font-weight: 600; font-size: .92rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .85rem; color: #85a0bd; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; }
  .software-showcase { grid-template-columns: 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
}
@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .topbar-inner { gap: 14px; font-size: .78rem; overflow-x: auto; }
  .topbar-hours { display: none; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 22px 20px;
    transform: translateY(-130%); transition: transform .3s ease; box-shadow: var(--shadow);
  }
  .nav.open { transform: none; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: 12px; border-bottom: 0; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .grid-4 { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-inner { flex-direction: column; }
}
