:root {
  --blue-900: #0a2a5e;
  --blue-700: #0d47a1;
  --blue-500: #1e88e5;
  --blue-100: #e3f0fd;
  --bg: #f5f8fc;
  --ink: #1c2733;
  --muted: #5b6b7c;
  --green: #25d366;
  --green-dark: #1ebe5b;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(13, 71, 161, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.container { width: min(1080px, 92%); margin: 0 auto; }

/* Topbar */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  z-index: 50;
  transition: box-shadow 0.2s ease;
}
.topbar.scrolled { box-shadow: 0 2px 14px rgba(10, 42, 94, 0.12); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; font-size: 1.15rem; color: var(--blue-700); text-decoration: none; }
.nav-links { display: flex; gap: 22px; }
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--blue-500); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 100%; height: 3px;
  background: var(--blue-700);
  border-radius: 3px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--blue-900);
  color: #fff;
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-position: center; background-size: cover;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.10), transparent 45%),
    linear-gradient(120deg, rgba(10,42,94,0.94) 0%, rgba(13,71,161,0.88) 55%, rgba(30,136,229,0.72) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 120px 0 90px; }
.hero-dots {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; gap: 10px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.dot.active { background: #fff; transform: scale(1.35); }
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.25);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}
.hero-arrow:hover { background: rgba(0,0,0,0.45); transform: translateY(-50%) scale(1.08); }
.hero-arrow.prev { left: 18px; }
.hero-arrow.next { right: 18px; }
.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.08;
  font-weight: 800;
  margin-bottom: 18px;
}
.hero p { font-size: 1.15rem; max-width: 560px; margin-bottom: 30px; color: rgba(255,255,255,0.92); }
.hero p strong { color: #fff; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35); }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.22); }
.btn-lg { padding: 16px 34px; font-size: 1.08rem; }

/* Sections */
.section { padding: 76px 0; }
.section-alt { background: #eef4fb; }
.section-title { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; color: var(--blue-900); text-align: center; margin-bottom: 10px; }
.section-sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 40px; font-size: 1.05rem; }

/* Grid cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  border: 1px solid #e6edf6;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(13, 71, 161, 0.16); }
.card-icon { font-size: 1.9rem; display: block; margin-bottom: 12px; }
.card h3 { font-size: 1.05rem; color: var(--blue-700); margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid #e6edf6;
}
.step-num {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
}
.step h3 { color: var(--blue-900); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* CTA */
.cta { text-align: center; }
.cta .section-sub { margin-bottom: 26px; }
.phone { margin-top: 20px; color: var(--blue-700); font-weight: 700; }
.phone a { color: var(--blue-700); text-decoration: none; }
.phone a:hover { text-decoration: underline; }
.step p a, .card p a { color: var(--blue-500); font-weight: 600; text-decoration: none; }
.step p a:hover, .card p a:hover { text-decoration: underline; }
.address { margin-top: 12px; color: var(--muted); font-size: 0.98rem; }
.footer-addr { margin-top: 6px; color: rgba(255,255,255,0.6); font-size: 0.85rem; }

/* Footer */
.footer { background: var(--blue-900); color: rgba(255,255,255,0.8); padding: 26px 0; text-align: center; font-size: 0.9rem; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px; height: 58px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  z-index: 60;
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

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

/* Responsive */
@media (max-width: 820px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    gap: 0;
    padding: 10px 0;
    box-shadow: 0 12px 24px rgba(10,42,94,0.14);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: 49;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a {
    font-size: 1rem;
    padding: 14px 6%;
    border-bottom: 1px solid #eef2f8;
  }
  .nav-links a:last-child { border-bottom: none; }
}
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
}
