.home-page {
  --whatsapp-green: #25d366;
  --whatsapp-ink: #092d1b;
}

.contact-icon {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.home-page .whatsapp-button {
  gap: 10px;
  max-width: 100%;
  background: var(--whatsapp-green);
  border-color: var(--whatsapp-green);
  color: var(--whatsapp-ink);
  white-space: normal;
  text-align: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
  transition: background 160ms ease, transform 160ms ease;
}

.home-page .whatsapp-button:hover,
.whatsapp-float:hover {
  background: #5be28d;
  transform: translateY(-2px);
}

.home-page .hero .hero-contact-note {
  margin-top: 16px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.hero-contact-note span {
  padding-inline: 6px;
}

.project-chat {
  padding: 64px 0;
  background: #e7efeb;
  border-bottom: 1px solid #c8d8cf;
  color: #172e23;
}

.project-chat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.project-chat .kicker {
  color: #315d46;
}

.project-chat h2 {
  max-width: 440px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
}

.project-chat-copy > p:not(.kicker) {
  max-width: 480px;
  margin-block: 20px;
  color: #395344;
  font-size: 1rem;
}

.project-chat-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 700;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}

.project-chat-label {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #315d46;
}

.project-chat-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 96px;
  padding: 18px 8px;
  border-top: 1px solid #b1c5b9;
  text-decoration: none;
  transition: background 160ms ease;
}

.project-chat-option:last-child {
  border-bottom: 1px solid #b1c5b9;
}

.project-chat-option:hover {
  background: #d7e5dc;
}

.project-chat-option > span {
  min-width: 0;
}

.project-chat-option strong,
.project-chat-option small,
.whatsapp-float strong,
.whatsapp-float small {
  display: block;
}

.project-chat-option strong {
  font-size: 1.125rem;
  line-height: 1.4;
}

.project-chat-option small {
  margin-top: 3px;
  font-size: 0.875rem;
  color: #395344;
}

.whatsapp-float {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  background: var(--whatsapp-green);
  color: var(--whatsapp-ink);
  border: 1px solid rgba(9, 45, 27, 0.18);
  border-radius: 8px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  line-height: 1.4;
  transition: background 160ms ease, transform 160ms ease;
}

.whatsapp-float strong {
  font-size: 0.9375rem;
}

.whatsapp-float small {
  margin-top: 2px;
  font-size: 0.75rem;
}

.home-page .site-footer {
  padding-bottom: calc(116px + env(safe-area-inset-bottom));
}

.whatsapp-button:focus-visible,
.whatsapp-float:focus-visible,
.project-chat a:focus-visible {
  outline: 3px solid #206dba;
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .project-chat-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .project-chat {
    padding-block: 48px;
  }

  .project-chat h2 {
    font-size: 2rem;
  }
}

@media (max-width: 620px) {
  .whatsapp-float.is-redundant {
    visibility: hidden;
    pointer-events: none;
  }

  .whatsapp-float {
    right: 16px;
    left: 16px;
    bottom: max(12px, env(safe-area-inset-bottom));
    min-height: 60px;
    justify-content: center;
    padding-block: 10px;
  }

  .whatsapp-float-arrow {
    margin-left: auto;
  }

  .home-page .hero-actions > a {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .whatsapp-button,
  .whatsapp-float,
  .project-chat-option {
    transition: none;
  }

  .home-page .whatsapp-button:hover,
  .whatsapp-float:hover {
    transform: none;
  }
}
