/* Home 3 — Atelier Vivo (white + acacia green, bento, bold shadows) */
body.theme-home3 {
  background:
    radial-gradient(circle at 85% 15%, rgba(230,244,236,.9), transparent 35%),
    radial-gradient(circle at 10% 80%, rgba(244,251,247,.95), transparent 40%),
    #f7faf8;
  color: #0f172a;
}
body.theme-home3 .reveal { opacity: 0; transform: translateY(32px) scale(.98); }
body.theme-home3 .reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1);
}

.h3-hero {
  padding: 7.5rem 0 3rem; position: relative; overflow: hidden;
}
.h3-grid-bg {
  position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image:
    linear-gradient(rgba(47,107,79,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,107,79,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.h3-shell { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }

.h3-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.h3-tile {
  border-radius: 1.75rem;
  background: #fff;
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: 0 18px 40px rgba(15,23,42,.07);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s;
}
.h3-tile:hover {
  transform: translateY(-6px) rotate(-.2deg);
  box-shadow: 0 28px 55px rgba(15,23,42,.12);
}
.h3-tile--brand {
  grid-column: span 7;
  min-height: 420px;
  background:
    radial-gradient(circle at 90% 10%, rgba(90,168,122,.25), transparent 35%),
    linear-gradient(145deg, #173f30 0%, #2f6b4f 55%, #3d7d5c 100%);
  color: #fff;
  box-shadow: 0 30px 60px rgba(47,107,79,.28);
  border: none;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.h3-tile--side {
  grid-column: span 5;
  display: grid; gap: 1rem;
}
.h3-tile--mini {
  padding: 1.35rem 1.4rem;
  background: #fff;
  border-radius: 1.5rem;
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: 0 14px 30px rgba(15,23,42,.06);
}
.h3-tile--photo {
  min-height: 180px;
  background: #e6f4ec center/cover no-repeat;
  border-radius: 1.5rem;
  position: relative;
  box-shadow: 0 16px 36px rgba(15,23,42,.08);
}
.h3-tile--photo .label {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  padding: .45rem .8rem; border-radius: 999px;
  font-size: .72rem; font-weight: 600; color: #2f6b4f;
  box-shadow: 0 8px 20px rgba(15,23,42,.1);
}

.h3-title {
  font-family: Syne, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: .98; letter-spacing: -.03em;
}
.h3-kicker {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.2);
  padding: .4rem .8rem; border-radius: 999px;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 1rem;
}

.h3-service {
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid rgba(15,23,42,.05);
  box-shadow: 0 14px 36px rgba(15,23,42,.06);
  padding: 1.4rem;
  transition: .35s cubic-bezier(.22,1,.36,1);
  position: relative; overflow: hidden;
}
.h3-service::before {
  content: '';
  position: absolute; inset: auto auto 0 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, #5aa87a, #2f6b4f);
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.h3-service:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(47,107,79,.12); }
.h3-service:hover::before { transform: scaleX(1); }
.h3-service .ico {
  width: 3rem; height: 3rem; border-radius: 1rem;
  display: grid; place-items: center;
  background: #e6f4ec; color: #2f6b4f;
  margin-bottom: 1rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.h3-service .ico svg { width: 1.25rem; height: 1.25rem; }

.h3-marquee {
  margin: 2.5rem 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.h3-marquee-track {
  display: flex; gap: 1rem; width: max-content;
  animation: h3marquee 30s linear infinite;
}
.h3-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.1rem; border-radius: 999px;
  background: #fff; border: 1px solid rgba(47,107,79,.12);
  box-shadow: 0 10px 24px rgba(15,23,42,.05);
  font-size: .8rem; font-weight: 600; color: #2f6b4f; white-space: nowrap;
}
@keyframes h3marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.h3-testimonial {
  border-radius: 1.75rem;
  background: #fff;
  border: 1px solid rgba(15,23,42,.05);
  box-shadow: 0 18px 40px rgba(15,23,42,.07);
  padding: 1.6rem;
}
.h3-cta {
  border-radius: 2rem;
  background: linear-gradient(120deg, #173f30, #2f6b4f 50%, #3f8a62);
  color: #fff;
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: 0 30px 60px rgba(47,107,79,.3);
  position: relative; overflow: hidden;
}
.h3-cta::after {
  content: '';
  position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255,255,255,.08); right: -40px; top: -40px;
}

@media (max-width: 900px) {
  .h3-tile--brand, .h3-tile--side { grid-column: span 12; }
  .h3-tile--brand { min-height: 360px; }
}
