:root {
  --bg: #f3f8f9;
  --text: #102a43;
  --accent: #0f766e;
  --brand: #073b4c;
  --card: #ffffff;
  --line: #d7e5ea;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 0%, #d7f1ef 0, #f3f8f9 42%, #edf3f7 100%);
}
a { color: inherit; }
.container { width: min(1140px, 92%); margin: 0 auto; }

.topbar {
  background: var(--brand);
  color: #fff;
  font-size: .95rem;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .65rem 0;
}
.topbar a { color: #fff; text-decoration: none; opacity: .95; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(8px);
  background: rgba(243, 248, 249, .88);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  font-weight: 700;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #0f766e);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.site-nav a {
  text-decoration: none;
  padding: .56rem .85rem;
  border-radius: .55rem;
  font-weight: 600;
  color: #1f3d4d;
}
.site-nav a.active,
.site-nav a:hover { background: #e3eef2; }
.site-nav .nav-cta {
  margin-left: .5rem;
  background: linear-gradient(135deg, var(--accent), #0ea5a0);
  color: #fff;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  width: 46px;
  height: 46px;
  border-radius: .55rem;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  background: var(--brand);
  margin: 5px auto;
  transition: transform .25s ease, opacity .25s ease;
}
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { padding: 3.1rem 0 2.7rem; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.5rem; align-items: start; }
.kicker {
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  font-weight: 700;
  font-size: .83rem;
}
h1 {
  margin: .55rem 0 .85rem;
  line-height: 1.12;
  font-size: clamp(1.95rem, 5.4vw, 3.45rem);
}
.hero-text { font-size: 1.08rem; line-height: 1.7; }

.hero-slider {
  margin-top: 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  min-height: 165px;
  box-shadow: 0 20px 40px rgba(16, 42, 67, .08);
}
.slide { display: none; }
.slide.active { display: block; animation: fadeUp .45s ease; }
.slide h3 { margin: .1rem 0 .4rem; }
.slide p { margin: 0; line-height: 1.6; }
.slider-dots { margin-top: .9rem; display: flex; gap: .45rem; }
.dot {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 999px;
  background: #bfd5dc;
  cursor: pointer;
}
.dot.active { width: 24px; background: var(--accent); }

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.btn {
  display: inline-block;
  padding: .84rem 1.25rem;
  border-radius: .75rem;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #0ea5a0);
  transition: transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost {
  color: var(--brand);
  background: #e5f1f5;
}

.hero-card,
.card,
blockquote {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: .95rem;
  box-shadow: 0 12px 30px rgba(16, 42, 67, .06);
}
.hero-card { padding: 1.2rem; }
.hero-card h2 { margin-top: .2rem; }
.hero-card ul { margin: .7rem 0 0; padding-left: 1.2rem; line-height: 1.75; }

.services, .testimonials { padding: 2.15rem 0 3rem; }
.services h2, .testimonials h2 { margin-bottom: 1rem; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.cards.single { grid-template-columns: 1fr; max-width: 780px; }
.card { padding: 1.15rem; }
.card h2, .card h3 { margin-top: .2rem; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
blockquote { margin: 0; padding: 1rem; border-left: 4px solid var(--accent); }
blockquote p { margin: 0 0 .6rem; }
blockquote cite { font-style: normal; color: #3c5566; font-weight: 600; }

.page { padding: 2rem 0 3rem; }
.page h1 { margin-top: .2rem; }

.footer {
  margin-top: 2rem;
  background: #0b2432;
  color: #d7e7ee;
  padding-top: 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}
.footer h3, .footer h4 { margin: 0 0 .6rem; }
.footer p { margin: 0 0 .7rem; line-height: 1.7; }
.footer a { color: #d7e7ee; }
.copy {
  border-top: 1px solid rgba(215, 231, 238, .22);
  padding: .9rem 0 1.1rem;
  font-size: .92rem;
}

.whatsapp-float {
  position: fixed;
  left: 18px;
  bottom: 18px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #1fa855;
  box-shadow: 0 12px 24px rgba(8, 51, 27, .34);
  z-index: 300;
}
.whatsapp-float svg { width: 28px; height: 28px; }

.fade-up {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s ease, transform .45s ease;
}
.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

  .menu-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: rgba(243, 248, 249, .99);
    border-bottom: 1px solid var(--line);
    padding: .65rem 4%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: .25rem;
  }
  .site-nav.open { display: flex; }
  .site-nav .nav-cta { margin-left: 0; }
}
@media (max-width: 980px) {
  .topbar-inner { flex-direction: column; align-items: flex-start; gap: .3rem; }
  .nav-wrap { min-height: 68px; }
  .site-nav { width: 100%; padding: .75rem 4% .95rem; }
  .site-nav a { width: 100%; display: block; padding: .8rem .9rem; }
  .site-nav .nav-cta { text-align: center; margin-top: .35rem; }
}
.has-submenu { position: relative; }
.submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 300px;
  background: #fff;
  border: 1px solid #d7e5ea;
  border-radius: .7rem;
  box-shadow: 0 16px 30px rgba(16,42,67,.12);
  display: none;
  padding: .4rem;
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu { display: block; }
.submenu a { display: block; white-space: normal; }
.has-submenu.active > .submenu-toggle { background: #e3eef2; border-radius: .55rem; }

@media (max-width: 980px) {
  .has-submenu { width: 100%; }
  .submenu {
    position: static;
    display: block;
    min-width: 0;
    border: 1px dashed #c8dae1;
    box-shadow: none;
    margin: .2rem 0 .35rem;
    padding: .35rem;
    background: #f9fcfd;
  }
  .submenu a { width: 100%; padding: .7rem .8rem; }
}
