:root {
  --bg: #f6f8ff;
  --surface: #ffffff;
  --primary: #0057ff;
  --primary-dark: #003ec0;
  --accent: #00b894;
  --text: #1a1f36;
  --muted: #616b86;
  --dark: #0f1630;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(12, 24, 56, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  scroll-behavior: smooth;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  z-index: 999;
  background: linear-gradient(90deg, #00b894, #0057ff);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e9ecf8;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 74px;
}

.brand {
  text-decoration: none;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: 44px;
  width: auto;
  display: block;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.8rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav .btn {
  color: #fff;
}

.btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  padding: 0.85rem 1.2rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-small {
  padding: 0.6rem 0.95rem;
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  color: #fff;
  background: var(--primary);
}

.btn-block {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(rgba(246, 248, 255, 0.9), rgba(246, 248, 255, 0.95)),
    url("assets/images/hero-bg.jpg") center/cover no-repeat;
}

.hero-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(24px);
  z-index: 0;
}

.hero-glow-1 {
  top: -80px;
  right: 8%;
  background: rgba(0, 87, 255, 0.25);
}

.hero-glow-2 {
  bottom: -100px;
  left: 6%;
  background: rgba(0, 184, 148, 0.24);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: start;
}

.tag {
  color: var(--accent);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.center {
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  margin: 0.5rem 0 1rem;
  line-height: 1.2;
}

.hero-text {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 650px;
}

.hero-cta {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-stats {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.hero-stats li {
  background: #fff;
  border-radius: var(--radius);
  padding: 0.95rem;
  box-shadow: var(--shadow);
}

.hero-stats strong {
  display: block;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-card {
  background: linear-gradient(160deg, #0c1f61, #1439aa);
  color: #fff;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-card h2 {
  margin-top: 0;
}

.hero-card p {
  color: #d9e3ff;
}

.hero-card ul {
  padding-left: 1rem;
  line-height: 1.8;
}

.partners {
  border-top: 1px solid #e9ecf8;
  border-bottom: 1px solid #e9ecf8;
  padding: 1rem 0;
  color: var(--muted);
  text-align: center;
  font-weight: 500;
}

.section {
  padding: 4rem 0;
}

.visual-highlights {
  padding-top: 2.5rem;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.highlights-grid article {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  text-align: center;
}

.highlights-grid img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.highlights-grid h3 {
  margin-bottom: 0;
  font-size: 1rem;
}

.section-title {
  text-align: center;
  margin-top: 0.4rem;
  margin-bottom: 2rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.left {
  text-align: left;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  will-change: transform;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.card h3 img {
  width: 20px;
  height: 20px;
}

.card p {
  color: var(--muted);
  margin: 0;
}

.section-dark {
  background: var(--dark);
  color: #fff;
}

.section-dark .tag {
  color: #8be8d2;
}

.section-dark .services-grid article {
  background: rgba(255, 255, 255, 0.07);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.services-grid article {
  border-radius: var(--radius);
  padding: 1.2rem;
}

.services-grid p {
  color: #dbe4ff;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.testimonials blockquote {
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
  line-height: 1.6;
  transform-style: preserve-3d;
  will-change: transform;
}

.testimonials cite {
  display: block;
  margin-top: 1rem;
  color: var(--primary);
  font-style: normal;
  font-weight: 700;
}

.cta-band {
  background: linear-gradient(90deg, #0057ff, #2c78ff);
  color: #fff;
}

.cta-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cta-band h2 {
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.2rem;
}

.contact-list {
  padding-left: 1rem;
  color: var(--muted);
  line-height: 1.8;
}

.lead-form {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  display: grid;
  gap: 0.7rem;
}

.lead-form label {
  font-size: 0.9rem;
  font-weight: 600;
}

.lead-form input,
.lead-form select {
  width: 100%;
  padding: 0.85rem;
  border: 1px solid #d8ddf0;
  border-radius: 10px;
  font: inherit;
}

.lead-form input:focus,
.lead-form select:focus {
  outline: 2px solid #c7d7ff;
  border-color: var(--primary);
}

.form-feedback {
  min-height: 1.4em;
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  color: #0b7a4f;
}

.faq {
  background: #fff;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-list details {
  background: #f7f9ff;
  border: 1px solid #dfe6ff;
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.blog {
  background: #f2f4ff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.blog-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}

.blog-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.8rem;
}

.blog-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.blog-card p {
  margin: 0 0 0.8rem;
  color: var(--muted);
}

.blog-link {
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.blog-link:hover {
  text-decoration: underline;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  background: #10b981;
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.4);
}

.whatsapp-float:hover {
  background: #0d9d6d;
}

.whatsapp-float svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.footer {
  border-top: 1px solid #e9ecf8;
  padding: 1rem 0;
  background: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer a {
  color: var(--primary);
  text-decoration: none;
}

.footer-logo {
  height: 32px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(15, 22, 48, 0.16));
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #d7def5;
  font-size: 0.9rem;
  background: #f6f7ff;
}

.back-to-top svg {
  width: 16px;
  height: 16px;
}

.back-to-top:hover {
  background: #e5ebff;
}

@media (max-width: 900px) {
  .hero-grid,
  .contact-grid,
  .cards,
  .highlights-grid,
  .services-grid,
  .testimonials {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    padding: 0.75rem 0.9rem;
    font-size: 0.9rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 74px;
    right: 4%;
    background: #fff;
    border: 1px solid #e5eaf9;
    border-radius: 12px;
    padding: 0.8rem;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    width: min(280px, 92%);
    display: none;
  }

  .nav.open {
    display: flex;
  }
}
