:root {
  --primary: #2f80ed;
  --primary-dark: #1d64c8;
  --secondary: #2f9e73;
  --bg: #f7fbff;
  --surface: #ffffff;
  --text: #19324d;
  --muted: #5d7288;
  --border: #dce8f5;
  --shadow: 0 12px 28px rgba(25, 50, 77, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f4faff 0%, #ffffff 100%);
  line-height: 1.7;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

.section {
  padding: 80px 0;
}

.section-alt {
  background: rgba(47, 128, 237, 0.04);
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 20px;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.brand {
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 0.2px;
}

.nav {
  display: flex;
  gap: 22px;
}

.nav a {
  color: var(--text);
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  border: none;
  background: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - 74px);
  min-height: calc(100svh - 74px);
  display: flex;
  align-items: center;
  padding-top: 96px;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  opacity: 0.3;
  filter: saturate(0.95);
  transform: scale(1.015);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(244, 250, 255, 0.68) 0%, rgba(247, 251, 255, 0.8) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 30px;
  align-items: center;
}

.eyebrow {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 10px;
}

.subtitle {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  max-width: 60ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #58a6ff);
  color: #fff;
  box-shadow: 0 8px 18px rgba(47, 128, 237, 0.35);
  border: none;
}

.btn-primary:hover {
  box-shadow: 0 12px 22px rgba(47, 128, 237, 0.4);
}

.btn-secondary {
  border: 1.5px solid var(--secondary);
  color: var(--secondary);
}

.btn-secondary:hover {
  background: rgba(47, 158, 115, 0.08);
}

.highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
  font-weight: 600;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 26px;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.hero-card li {
  display: flex;
  gap: 10px;
  color: var(--text);
}

.hero-card i {
  color: var(--primary);
  margin-top: 4px;
}

.lead {
  max-width: 85ch;
  font-size: 1.06rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card,
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 8px 20px rgba(24, 50, 77, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(24, 50, 77, 0.12);
}

.card i {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
}

.feature-list i {
  color: var(--secondary);
  margin-top: 5px;
}

.slider {
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
}

.stars {
  color: #f4b400;
  letter-spacing: 3px;
  font-size: 1rem;
  margin-bottom: 8px;
}

.slider-controls {
  margin-top: 18px;
  display: flex;
  gap: 10px;
}

.slider-controls button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider-controls button:hover {
  background: var(--primary);
  color: #fff;
}

.dots {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #b8cce0;
}

.dots button.active {
  background: var(--primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-grid p {
  margin-bottom: 10px;
}

.contact-grid i {
  color: var(--primary);
  margin-right: 8px;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 24px;
  display: grid;
  gap: 10px;
}

.map-card {
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.map-card iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  color: var(--primary-dark);
  font-weight: 600;
}

.map-link::before {
  content: "\f3c5";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary);
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #cad9ea;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.12);
}

.form-status {
  min-height: 24px;
  font-size: 0.95rem;
}

.footer {
  background: #11263d;
  color: #dfe9f5;
  padding: 44px 0 26px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer p,
.footer a {
  color: #dfe9f5;
}

.footer-brand {
  color: #fff;
}

.copy {
  margin-top: 22px;
  text-align: center;
  color: #bad0e7;
  font-size: 0.92rem;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  font-size: 1.8rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  z-index: 60;
  animation: floatPulse 2.4s ease-in-out infinite;
}

@keyframes floatPulse {
  0% {
    transform: translateY(0);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: translateY(-4px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.25);
  }
  100% {
    transform: translateY(0);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
}

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

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

@media (max-width: 960px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-card iframe {
    height: 280px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 14px 4%;
    display: none;
    flex-direction: column;
    gap: 12px;
  }

  .nav.open {
    display: flex;
  }

  .section {
    padding: 66px 0;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }
}
