:root {
  --bg: #f7f8f3;
  --surface: #ffffff;
  --surface-alt: #edf3f2;
  --text: #1d2930;
  --title: #0b2a33;
  --primary: #0f4c5c;
  --primary-strong: #0a3b48;
  --border: #d4e0de;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

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

.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0 0.85rem;
}

.brand {
  margin: 0;
  font-weight: 800;
  color: var(--title);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-logo {
  width: 360px;
  max-width: 92vw;
  height: auto;
  object-fit: contain;
}

.hero-logo {
  width: min(240px, 60%);
  height: auto;
  margin-bottom: 0.85rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.55rem 1rem;
  width: 100%;
}

nav a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
}

.hero {
  padding: 4rem 0 3rem;
}

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

h1,
h2,
h3 {
  color: var(--title);
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  margin-top: 0;
}

.hero p {
  font-size: 1.08rem;
  max-width: 60ch;
}

.cta {
  display: inline-block;
  margin-top: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 0.6rem;
  text-decoration: none;
  font-weight: 800;
}

.cta:hover {
  background: var(--primary-strong);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: 0 10px 24px rgba(10, 59, 72, 0.08);
}

.hero-card h2 {
  font-size: 1.2rem;
  margin-top: 0;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.section {
  padding: 3rem 0;
  scroll-margin-top: 210px;
}

.section.alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.cards article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 1rem;
}

.cards h3 {
  margin-top: 0;
}

.service-list {
  padding-left: 1.2rem;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-list article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 1rem;
}

.faq-list h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
}

.contact a {
  color: var(--primary);
  font-weight: 700;
}

footer {
  background: var(--primary);
  color: #f3f9fb;
  padding: 1.1rem 0;
  font-size: 0.95rem;
}

footer p {
  margin: 0;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: #1f9d55;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
  z-index: 20;
}

.whatsapp-float:hover {
  background: #15803d;
}

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

  .nav-wrap {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }

  nav {
    width: 100%;
    justify-content: center;
    gap: 0.55rem 0.9rem;
  }

  .brand-logo {
    width: 220px;
  }

  .section {
    scroll-margin-top: 190px;
  }

  .hero-logo {
    width: min(180px, 65%);
  }

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