:root {
  --navy: #0f2747;
  --navy-2: #14365f;
  --orange: #2563eb;
  --white: #ffffff;
  --gray-50: #f6f8fb;
  --gray-100: #e9eef5;
  --gray-300: #c5d0df;
  --text: #1b2735;
  --muted: #5d6d81;
  --shadow: 0 12px 32px rgba(15, 39, 71, 0.12);
  --radius: 16px;
  --container: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Poppins", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(92%, var(--container));
  margin: 0 auto;
}

.section {
  padding: 82px 0;
}

.section.alt {
  background: var(--gray-50);
}

.section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--muted);
  max-width: 680px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.3);
}

.btn-outline {
  border-color: var(--gray-300);
  color: var(--navy);
  background: var(--white);
}

.btn-outline:hover {
  border-color: var(--navy);
  background: var(--gray-50);
}

.topbar {
  background: var(--navy);
  color: #dce6f5;
  font-size: 0.92rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  gap: 16px;
}

.topbar a:hover {
  color: var(--white);
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(10px);
  transition: 0.25s ease;
}

.header.scrolled {
  border-bottom-color: var(--gray-100);
  box-shadow: 0 4px 20px rgba(15, 39, 71, 0.08);
}

.nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 165px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  font-weight: 600;
  color: #233042;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transition: 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.3rem;
  color: var(--navy);
}

.hero {
  position: relative;
  background: linear-gradient(115deg, rgba(15, 39, 71, 0.94), rgba(20, 54, 95, 0.85)),
    url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1600&q=80")
      center/cover;
  color: var(--white);
  padding: 120px 0 105px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero p {
  color: #deebfb;
  max-width: 620px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 24px;
}

.hero-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.hero-card ul {
  list-style: none;
}

.hero-card li {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.hero-card i {
  color: #93c5fd;
  margin-top: 4px;
}

.visual-grid {
  margin-top: 34px;
  grid-template-columns: repeat(3, 1fr);
}

.visual-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 260px;
  box-shadow: var(--shadow);
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(10, 25, 45, 0.8), transparent);
  color: var(--white);
  font-weight: 600;
}

.grid {
  display: grid;
  gap: 22px;
}

.services-grid {
  margin-top: 38px;
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
  padding: 26px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: #bfd7ff;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.14);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #edf2f9;
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.card h3 {
  color: var(--navy);
  margin-bottom: 8px;
  transition: color 0.25s ease;
}

.card p {
  color: var(--muted);
  margin-bottom: 16px;
}

.link-arrow {
  color: var(--orange);
  font-weight: 700;
}

.why-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 34px;
}

.why-highlight {
  background: linear-gradient(125deg, #0f2747, #1f4d87);
  color: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.why-highlight h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.why-highlight p {
  color: #d8e8ff;
}

.why-stats {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.why-stat {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.why-stat strong {
  display: block;
  font-size: 1.2rem;
  color: #bfdbfe;
}

.countup {
  font-variant-numeric: tabular-nums;
}

.why-stat span {
  font-size: 0.86rem;
  color: #dbeafe;
}

.list-box {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.list-box:hover {
  transform: translateY(-4px);
  border-color: #c9dbf6;
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.1);
}

.list-box li {
  list-style: none;
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.list-box i {
  color: var(--orange);
  margin-top: 5px;
}

.steps-grid {
  margin-top: 32px;
  grid-template-columns: repeat(4, 1fr);
}

.step {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.step:hover {
  transform: translateY(-5px);
  border-color: #bfd7ff;
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.12);
}

.step-badge {
  position: absolute;
  top: -14px;
  left: 20px;
  background: var(--orange);
  color: var(--white);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.references {
  margin-top: 30px;
  grid-template-columns: repeat(4, 1fr);
}

.ref-card {
  border: 1px dashed var(--gray-300);
  border-radius: 14px;
  min-height: 92px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 600;
}

.ref-visual {
  position: relative;
  min-height: 145px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ref-visual:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(37, 99, 235, 0.14);
}

.ref-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ref-visual span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(15, 39, 71, 0.78);
  color: var(--white);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
}

.cta {
  background: linear-gradient(120deg, var(--navy), #1b4d87);
  color: var(--white);
  border-radius: var(--radius);
  padding: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cta p {
  color: #dce6f5;
}

.contact-preview {
  margin-top: 32px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.info-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.info-card i {
  color: var(--orange);
  margin-right: 8px;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: #bfd7ff;
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.12);
}

.page-hero {
  background: linear-gradient(110deg, #102a4d 0%, #1b4d87 100%);
  color: var(--white);
  padding: 90px 0 74px;
}

.page-hero.hero-banner {
  background: linear-gradient(110deg, rgba(10, 28, 52, 0.88), rgba(19, 58, 104, 0.82)),
    var(--hero-image) center/cover no-repeat;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  margin-bottom: 8px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  margin-top: 26px;
}

.quick-info {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.quick-box {
  background: #f8fbff;
  border: 1px solid #dfe9f7;
  border-radius: 14px;
  padding: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.quick-box i {
  color: var(--orange);
  margin-right: 8px;
  transition: transform 0.25s ease, text-shadow 0.25s ease;
}

.quick-box h4 {
  color: var(--navy);
  margin-bottom: 6px;
}

.quick-box p {
  color: var(--muted);
  font-size: 0.95rem;
}

.quick-box:hover {
  transform: translateY(-5px);
  border-color: #bfd7ff;
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.15);
}

.quick-box:hover i {
  transform: translateY(-1px) rotate(-6deg);
  text-shadow: 0 0 14px rgba(37, 99, 235, 0.35);
}

.visual-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.visual-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.15);
}

.visual-overlay,
.ref-visual span {
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.visual-card:hover .visual-overlay,
.ref-visual:hover span {
  background: rgba(17, 48, 88, 0.9);
  transform: translateY(-2px);
}

.card:hover h3,
.visual-card:hover .visual-overlay,
.ref-visual:hover span {
  color: #eaf2ff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  border: 1px solid #d3dcea;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
}

.form-control:focus {
  outline: none;
  border-color: #7e9ac1;
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.check-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.check-group input {
  margin-top: 5px;
}

.branches {
  margin-top: 16px;
}

.branches li {
  list-style: none;
  margin-bottom: 10px;
  color: var(--muted);
}

.footer {
  background: #0d223f;
  color: #d5e1f1;
  padding: 62px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 20px;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 12px;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 8px;
}

.footer a:hover {
  color: var(--white);
}

.social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 34px;
  padding-top: 14px;
  text-align: center;
  font-size: 0.92rem;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
  z-index: 999;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  .services-grid,
  .steps-grid,
  .references,
  .visual-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid,
  .why-wrap,
  .content-grid,
  .quick-info,
  .contact-grid,
  .footer-grid,
  .contact-preview {
    grid-template-columns: 1fr;
  }

  .why-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar .container {
    flex-direction: column;
    justify-content: center;
    padding: 8px 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    right: 4%;
    width: min(320px, 92%);
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    transform: scale(0.98);
    opacity: 0;
    pointer-events: none;
  }

  .nav-links.open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  .services-grid,
  .steps-grid,
  .references,
  .visual-grid {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 30px 22px;
    flex-direction: column;
    align-items: flex-start;
  }
}
