* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #17211f;
  background: #f7f3ed;
  font-family: Arial, Helvetica, sans-serif;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 6%;
  background: rgba(247, 243, 237, 0.94);
  border-bottom: 1px solid rgba(23, 33, 31, 0.14);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
}

.logo span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: #0a3c3b;
  border-radius: 8px;
  font-weight: 900;
}

nav {
  display: flex;
  gap: 22px;
  color: rgba(23, 33, 31, 0.72);
  font-size: 15px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  min-height: 88vh;
  padding: 70px 6%;
  background:
    linear-gradient(120deg, rgba(10, 60, 59, 0.08), transparent 45%),
    radial-gradient(circle at right top, rgba(255, 115, 92, 0.18), transparent 32%);
}

.tag {
  margin: 0 0 12px;
  color: #ff735c;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: #0a3c3b;
  font-size: clamp(54px, 10vw, 118px);
  line-height: 0.9;
}

h2 {
  margin: 0;
  color: #0a3c3b;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
}

h3 {
  margin: 0;
  color: #0a3c3b;
  font-size: 24px;
}

.hero-text p:not(.tag) {
  max-width: 670px;
  margin: 24px 0 0;
  color: rgba(23, 33, 31, 0.74);
  font-size: 21px;
  line-height: 1.55;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.whatsapp-btn,
.outline-btn,
.floating-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.1;
}

.whatsapp-btn {
  color: #fff;
  background: #18c15f;
}

.outline-btn {
  color: #0a3c3b;
  background: #fffaf2;
  border: 1px solid rgba(10, 60, 59, 0.22);
}

.small {
  min-height: 44px;
  padding: 11px 16px;
  font-size: 14px;
}

.hero-card {
  padding: 34px;
  color: #fff;
  background: #0a3c3b;
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(8, 40, 38, 0.18);
}

.hero-card h3 {
  color: #fff;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.hero-card ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.services,
.why,
.contact {
  padding: 76px 6%;
}

.services {
  color: #fff;
  background: #0a3c3b;
}

.services h2,
.services h3 {
  color: #fff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.card {
  min-height: 220px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.card p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.text-link {
  color: #86f0b3;
  font-weight: 900;
}

.why {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
}

.steps p {
  margin: 0;
  padding: 20px;
  background: #fffaf2;
  border: 1px solid rgba(23, 33, 31, 0.14);
  border-radius: 8px;
  font-size: 18px;
}

.steps strong {
  color: #ff735c;
}

.contact {
  margin: 0 6% 48px;
  padding: 46px;
  color: #fff;
  background: linear-gradient(135deg, #ff735c, #d8a24c);
  border-radius: 10px;
}

.contact h2 {
  color: #fff;
}

.contact p {
  max-width: 620px;
  font-size: 18px;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9;
  color: #fff;
  background: #18c15f;
  box-shadow: 0 18px 42px rgba(24, 193, 95, 0.3);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 26px 6% 92px;
  color: rgba(23, 33, 31, 0.68);
  border-top: 1px solid rgba(23, 33, 31, 0.14);
}

footer p {
  margin: 0;
}

.popup {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 115, 92, 0.38), transparent 28%),
    radial-gradient(circle at 78% 82%, rgba(24, 193, 95, 0.3), transparent 30%),
    rgba(7, 28, 27, 0.74);
}

.popup-hidden {
  display: none;
}

.popup-box {
  position: relative;
  width: min(100%, 520px);
  overflow: hidden;
  padding: 44px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 242, 0.96)),
    #fffaf2;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.popup-box::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 210px;
  height: 210px;
  background: #18c15f;
  border-radius: 50%;
  opacity: 0.16;
  pointer-events: none;
}

.popup-box::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: 34px;
  width: 86px;
  height: 86px;
  background: #ff735c;
  border-radius: 18px;
  opacity: 0.08;
  transform: rotate(10deg);
  pointer-events: none;
}

.popup-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 18px;
  padding: 9px 13px;
  color: #0a3c3b;
  background: #e7fff0;
  border: 1px solid rgba(24, 193, 95, 0.28);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.popup-box h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(34px, 7vw, 56px);
}

.popup-box p:not(.tag) {
  position: relative;
  z-index: 1;
  color: rgba(23, 33, 31, 0.72);
  font-size: 18px;
  line-height: 1.5;
}

.popup-box .tag {
  position: relative;
  z-index: 1;
}

.popup-points {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
}

.popup-points span {
  padding: 8px 10px;
  color: #0a3c3b;
  background: rgba(10, 60, 59, 0.07);
  border: 1px solid rgba(10, 60, 59, 0.1);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.popup-action {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 58px;
  font-size: 17px;
  box-shadow: 0 16px 36px rgba(24, 193, 95, 0.34);
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #0a3c3b;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(23, 33, 31, 0.14);
  border-radius: 50%;
  cursor: pointer;
  font-weight: 900;
  font-family: inherit;
}

@media (max-width: 860px) {
  nav {
    display: none;
  }

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

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

@media (max-width: 560px) {
  .header .small {
    display: none;
  }

  .hero,
  .services,
  .why {
    padding: 48px 5%;
  }

  .buttons,
  .whatsapp-btn,
  .outline-btn {
    width: 100%;
  }

  .contact {
    margin: 0 5% 38px;
    padding: 30px;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    min-height: 46px;
    padding: 12px 14px;
  }
}
