:root {
  --ppc-green: #508E55;
  --ppc-red: #D2000F;
  --ppc-black: #000000;
  --ppc-white: #FFFFFF;
  --sand: #F7F4EE;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Nexa", "Segoe UI", Arial, sans-serif;
  background: radial-gradient(circle at top, #ffffff 0%, #f2f5f0 40%, #e6efe7 100%);
  color: var(--ppc-black);
}

h1, h2, h3 {
  font-family: "MedioVintage", "Georgia", serif;
  letter-spacing: 0.5px;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 120px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, rgba(80, 142, 85, 0.1), rgba(210, 0, 15, 0.08));
  padding: 32px;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(210, 0, 15, 0.2), transparent 70%);
}

.hero__tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ppc-green);
  color: var(--ppc-white);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero__text p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 540px;
}

.hero__meta {
  display: flex;
  gap: 24px;
  margin-top: 18px;
}

.meta__label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #3f5a45;
}

.meta__value {
  display: block;
  font-weight: 600;
}

.hero__card {
  background: var(--ppc-white);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow);
  text-align: center;
}

.hero__card img {
  width: 100%;
  border-radius: var(--radius-md);
  height: auto;
  object-fit: cover;
}

.hero__card-content h2 {
  margin: 16px 0 4px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.card {
  background: var(--ppc-white);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-left: 4px solid rgba(80, 142, 85, 0.7);
}

.card h3 {
  margin-top: 0;
}

.card ul {
  padding-left: 18px;
  margin: 0;
  line-height: 1.6;
}

.chat {
  position: fixed;
  bottom: 60px;
  right: 24px;
  z-index: 1000;
}

.chat__fab {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f4f6f2;
  color: #1a1a1a;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
}

.chat__fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.chat__fab-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 3px solid rgba(255, 255, 255, 0.98);
}

.chat__fab:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.22);
}

.chat__fab:active {
  transform: translateY(0) scale(0.99);
}

.chat__fab:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(80, 142, 85, 0.18), 0 20px 36px rgba(0, 0, 0, 0.22);
}




.chat__tooltip {
  position: absolute;
  right: 92px;
  bottom: 16px;
  background: var(--ppc-white);
  color: #1a1a1a;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.chat__window {
  position: absolute;
  bottom: 102px;
  right: 0;
  width: 340px;
  max-height: 520px;
  background: var(--ppc-white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.chat__window.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.chat__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--ppc-green);
  color: var(--ppc-white);
}

.chat__identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat__identity img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ppc-white);
}

.chat__identity span {
  display: block;
  font-size: 12px;
  opacity: 0.8;
}

.chat__close {
  background: transparent;
  border: none;
  color: var(--ppc-white);
  font-size: 20px;
  cursor: pointer;
}

.chat__body {
  padding: 14px;
  overflow-y: auto;
  background: #f8faf7;
  flex: 1;
}

.message {
  margin-bottom: 12px;
  display: flex;
}

.message--user {
  justify-content: flex-end;
}

.message__bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 16px;
  line-height: 1.4;
  font-size: 14px;
}

.message__bubble--typing {
  font-style: italic;
  opacity: 0.7;
}
.message--bot .message__bubble {
  background: var(--ppc-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.message--user .message__bubble {
  background: var(--ppc-green);
  color: var(--ppc-white);
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.quick-actions button {
  border: 1px solid rgba(80, 142, 85, 0.4);
  background: var(--ppc-white);
  color: var(--ppc-green);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
}

.chat__footer {
  display: flex;
  padding: 12px;
  gap: 8px;
  border-top: 1px solid #e7e9e6;
}

.chat__footer input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid #d9ded7;
}

.chat__footer button {
  background: var(--ppc-red);
  color: var(--ppc-white);
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
}

.chat__sticky-cta {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-top: 1px solid #e7e9e6;
  background: rgba(80, 142, 85, 0.08);
  font-size: 12px;
}

.chat__sticky-cta.is-visible {
  display: flex;
}

.chat__sticky-cta a {
  text-decoration: none;
  background: var(--ppc-green);
  color: var(--ppc-white);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .chat__window {
    width: 92vw;
    right: 0;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 32px 18px 140px;
  }

  .hero {
    padding: 24px;
    border-radius: 24px;
  }

  .hero__text p {
    font-size: 16px;
  }

  .hero__meta {
    flex-direction: column;
    gap: 12px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .chat {
    right: 5%;
    bottom: 20px;
  }

  .chat__fab {
    width: 64px;
    height: 64px;
  }

    .chat__window {
    position: fixed;
    inset: 16px;
    width: auto;
    max-height: none;
    border-radius: 18px;
  }

  .chat__header {
    padding: 14px;
  }

  .chat__identity img {
    width: 36px;
    height: 36px;
  }

  .chat__body {
    padding: 12px;
  }

  .message__bubble {
    max-width: 88%;
    font-size: 13.5px;
  }

  .quick-actions button {
    padding: 6px 12px;
    font-size: 12px;
  }

  .chat__footer {
    padding: 10px;
  }

  .chat__footer input {
    padding: 10px 12px;
    font-size: 14px;
  }

  .chat__footer button {
    padding: 10px 14px;
    font-size: 14px;
  }

  .chat__sticky-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
@media (max-width: 420px) {
  .chat__window {
    inset: 12px;
  }

  .chat__footer {
    flex-direction: column;
  }

  .chat__footer button {
    width: 100%;
  }
}

