/**
 * PangoTalk public-site craft layer.
 * Poster palette: forest #0f4d2e, leaf #3aa935, cream #f6f4ee.
 * Motion is decorative and turns off under prefers-reduced-motion.
 */

:root {
  --pt-leaf: #3aa935;
  --pt-forest: #0f4d2e;
  --pt-cream: #f6f4ee;
  --pt-mint: #e7f6e3;
}

body {
  background: var(--pt-cream);
}

.hero-6-txt .h2-md,
.section-title h2,
.about-2-title h2,
.pt-fp-headline,
.pt-industries h2 {
  color: var(--pt-forest);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pt-brush {
  position: relative;
  color: var(--pt-leaf);
  white-space: nowrap;
}

.pt-brush::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.18em;
  height: 0.28em;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'><path d='M2 9 C 18 3, 34 13, 58 7 S 96 2, 118 8' stroke='%233aa935' stroke-width='3.2' fill='none' stroke-linecap='round'/></svg>") center / 100% 100% no-repeat;
  transform: scaleX(0);
  transform-origin: left center;
  animation: pt-draw 0.7s 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

@keyframes pt-draw {
  to { transform: scaleX(1); }
}

.btn-stateblue,
.scroll .btn-stateblue,
.btn-skyblue,
.scroll .btn-skyblue,
.btn-green,
.scroll .btn-green {
  color: #fff !important;
  background: var(--pt-forest) !important;
  border-color: var(--pt-forest) !important;
}

.btn-stateblue:hover,
.scroll .btn-stateblue:hover,
.btn-skyblue:hover,
.btn-green:hover,
.black-hover:hover,
.scroll .black-hover:hover {
  color: #fff !important;
  background: #0c3e25 !important;
  border-color: #0c3e25 !important;
}

.pt-hero-badge {
  background: var(--pt-mint);
  color: var(--pt-forest);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}

.pt-hero-badge::before {
  background: var(--pt-leaf);
}

/* Animated WhatsApp thread — built in HTML, not a poster screenshot */
.pt-phone {
  width: min(100%, 340px);
  margin: 0 auto;
  filter: drop-shadow(0 22px 40px rgba(15, 77, 46, 0.16));
  animation: pt-float 7s ease-in-out infinite;
}

.pt-phone__bezel {
  background: #0f4d2e;
  border-radius: 36px;
  padding: 12px 10px 16px;
  color: #fff;
}

.pt-phone__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 12px;
}

.pt-phone__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #3aa935;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
}

.pt-phone__bar strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.pt-phone__bar em {
  font-style: normal;
  font-size: 11px;
  opacity: 0.75;
}

.pt-phone__thread {
  background: #efeae2;
  border-radius: 22px;
  min-height: 360px;
  padding: 16px 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pt-bubble {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.4;
  color: #143026;
}

.pt-bubble--in {
  align-self: flex-start;
  background: #fff;
  border-bottom-left-radius: 4px;
}

.pt-bubble--out {
  align-self: flex-end;
  background: #d9fdd3;
  border-bottom-right-radius: 4px;
}

.pt-quote-card {
  display: grid;
  gap: 2px;
}

.pt-quote-card span {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f4d2e;
}

.pt-quote-card strong {
  font-size: 18px;
  color: #0f4d2e;
}

.pt-quote-card small {
  color: #3d5c4a;
}

.pt-msg {
  animation: pt-msg-in 0.55s var(--d, 0s) both;
}

@keyframes pt-msg-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes pt-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Industry grid */
.pt-industries {
  padding: 72px 0 40px;
  background: #f6f4ee;
}

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

.pt-industry {
  display: flex;
  gap: 14px;
  padding: 18px 18px 16px;
  background: #fff;
  border: 1px solid #e3e8e2;
  border-radius: 18px;
  color: #143026;
  text-decoration: none;
  min-height: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pt-industry:hover {
  transform: translateY(-3px);
  border-color: #3aa935;
  box-shadow: 0 12px 28px rgba(15, 77, 46, 0.08);
  color: #143026;
}

.pt-industry__icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e7f6e3;
  color: #0f4d2e;
  display: grid;
  place-items: center;
}

.pt-industry h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: #0f4d2e;
}

.pt-industry p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #5c6b64;
}

.pt-reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: pt-reveal 0.7s ease forwards;
  animation-play-state: paused;
}

.pt-reveal.is-in {
  animation-play-state: running;
}

.pt-reveal:nth-child(2) { animation-delay: 0.08s; }
.pt-reveal:nth-child(3) { animation-delay: 0.16s; }

@keyframes pt-reveal {
  to { opacity: 1; transform: none; }
}

@media (max-width: 991px) {
  .pt-industry-grid { grid-template-columns: 1fr 1fr; }
  .pt-phone { margin-top: 28px; }
}

@media (max-width: 640px) {
  .pt-industry-grid { grid-template-columns: 1fr; }
  .pt-brush { white-space: normal; }
}

.pt-photo--hero {
  animation: pt-float 8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .pt-brush::after,
  .pt-msg,
  .pt-phone,
  .pt-photo--hero,
  .pt-reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .pt-industry:hover { transform: none; }
}
