:root {
  --blue: #1f7ad8;
  --blue-dark: #115397;
  --green: #20b15a;
  --ink: #132238;
  --muted: #66778a;
  --line: #dce7f2;
  --soft: #f2f7fc;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(20px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 190px;
}

.brand-logo {
  display: block;
  width: 205px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
  color: var(--muted);
}

.nav a.active,
.nav a:hover {
  color: var(--blue-dark);
}

.whatsapp-link,
.button.whatsapp,
.float-whatsapp {
  background: #25d366;
  color: #fff !important;
}

.whatsapp-link {
  padding: 10px 16px;
  border-radius: 8px;
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 10px 14px;
  font-weight: 800;
}

.deadline-alert {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px max(20px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: linear-gradient(90deg, #115397, #20b15a);
}

.deadline-copy {
  display: flex;
  align-items: center;
  gap: 14px;
}

.deadline-copy strong {
  white-space: nowrap;
  font-size: 16px;
}

.deadline-copy span {
  color: rgba(255, 255, 255, 0.92);
}

.deadline-copy b {
  color: #fff;
  font-size: 20px;
}

.deadline-alert a {
  flex: 0 0 auto;
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 88px max(20px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: #132238;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s ease, transform 5s ease;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}

.carousel-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(8, 28, 55, 0.84), rgba(18, 78, 138, 0.56), rgba(18, 78, 138, 0.18));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-panel {
  display: none;
  animation: panelFade 0.45s ease both;
}

.hero-panel.active {
  display: block;
}

@keyframes panelFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.carousel-controls {
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 44px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.carousel-controls button {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.carousel-dots {
  position: absolute;
  left: max(20px, calc((100vw - 1180px) / 2));
  bottom: 55px;
  z-index: 3;
  display: flex;
  gap: 9px;
}

.carousel-dots button {
  width: 32px;
  height: 5px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.carousel-dots button.active {
  background: #fff;
}

.kicker {
  display: inline-block;
  margin: 0 0 16px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: 56px;
  line-height: 1.05;
}

h2 {
  font-size: 34px;
  line-height: 1.15;
}

h3 {
  font-size: 22px;
}

.hero p {
  font-size: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--green);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.section,
.page-head,
.cta {
  padding: 72px max(20px, calc((100vw - 1180px) / 2));
}

.soft,
.page-head {
  background: var(--soft);
}

.section-title,
.page-head,
.cta {
  text-align: center;
}

.section-title {
  max-width: 720px;
  margin: 0 auto 36px;
}

.section-title p,
.page-head p {
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 22px;
}

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

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(19, 34, 56, 0.08);
}

.card p,
.card li {
  color: var(--muted);
}

.price-card strong,
.service strong {
  display: block;
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-size: 28px;
}

.featured {
  border-color: rgba(32, 177, 90, 0.55);
}

.badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--green);
  background: rgba(32, 177, 90, 0.12);
  font-weight: 800;
}

.cta {
  color: #fff;
  background: var(--ink);
}

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

.form {
  display: grid;
  gap: 16px;
}

.form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
}

.float-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  font-weight: 800;
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.35);
}

.float-whatsapp img {
  display: block;
  width: 32px;
  height: 32px;
}

.footer {
  padding: 34px 20px;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  background: #132238;
}

.footer p {
  margin: 4px 0;
}

@media (max-width: 920px) {
  .menu-button {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 75px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(19, 34, 56, 0.12);
  }

  .nav.open {
    display: flex;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 40px;
  }

  .deadline-alert,
  .deadline-copy {
    align-items: flex-start;
    flex-direction: column;
  }

  .deadline-alert a {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: 58px;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
    object-fit: cover;
    object-position: left center;
  }

  .hero {
    min-height: 540px;
  }

  .carousel-controls {
    right: 20px;
    bottom: 22px;
  }

  .carousel-dots {
    left: 20px;
    bottom: 34px;
  }

  h1 {
    font-size: 34px;
  }

  .button {
    width: 100%;
  }
}
