/* HappitudeCo — tenant tokens (atoms), sampled from the real logo. See
   research/happitudeco-design-system.md for where each value comes from. */
.tenant-happitudeco {
  --t-ivory: #F8F1E7;
  --t-ivory-deep: #F1E7D8;
  --t-lavender: #E3D0EA;
  --t-mauve: #5A2F6A;
  --t-mauve-deep: #42234E;
  --t-gold: #C9A24E;
  --t-gold-deep: #A87525;
  --t-ink: #201A22;
  --t-gold-soft: #F6ECD4;
  --t-line: #E3D5C9;
  --t-white: #FFFEFC;

  --t-serif: "Fraunces", Georgia, serif;
  --t-sans: "Work Sans", -apple-system, "Segoe UI", sans-serif;
  --t-mono: "IBM Plex Mono", "SF Mono", Consolas, monospace;

  background: var(--t-ivory);
  color: var(--t-ink);
  font-family: var(--t-sans);
  line-height: 1.6;
}

.tenant-happitudeco * { box-sizing: border-box; }

.tenant-happitudeco h1,
.tenant-happitudeco h2,
.tenant-happitudeco h3 {
  font-family: var(--t-serif);
  font-weight: 600;
  text-wrap: balance;
}

.tenant-happitudeco a { color: inherit; }

/* ---------- Buttons (override shared .btn-primary / .btn-secondary) ---------- */
.tenant-happitudeco .btn {
  border-radius: 100px;
  font-family: var(--t-sans);
}
.tenant-happitudeco .btn-primary {
  background-color: var(--t-mauve);
  background-image: linear-gradient(115deg, transparent 30%, rgba(246, 236, 212, 0) 42%, rgba(246, 236, 212, 0.55) 50%, rgba(246, 236, 212, 0) 58%, transparent 70%);
  background-size: 250% 100%;
  background-position: 160% 0;
  background-repeat: no-repeat;
  color: var(--t-white);
  box-shadow: 0 6px 18px rgba(90, 47, 106, 0.28);
  transition: box-shadow 0.2s, transform 0.2s, background-position 0.7s ease;
}
.tenant-happitudeco .btn-primary:hover {
  box-shadow: 0 8px 20px rgba(90, 47, 106, 0.3), 0 0 0 4px var(--t-gold-soft);
  background-position: -60% 0;
  transform: translateY(-2px);
}
.tenant-happitudeco .btn-secondary {
  background: transparent;
  color: var(--t-mauve-deep);
  border: 1.5px solid var(--t-mauve);
}
.tenant-happitudeco .btn-secondary:hover {
  background: var(--t-lavender);
}
.tenant-happitudeco .btn-whatsapp {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--t-mauve) 0%, var(--t-mauve-deep) 100%);
  overflow: visible;
}
.tenant-happitudeco .btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(90, 47, 106, 0.34), 0 0 0 4px var(--t-gold-soft);
}
.tenant-happitudeco .btn-whatsapp:active {
  transform: translateY(0) scale(0.97);
}
.tenant-happitudeco .btn-icon {
  flex-shrink: 0;
  transition: transform 0.35s ease;
}
@media (hover: hover) {
  .tenant-happitudeco .btn-whatsapp:hover .btn-icon {
    transform: rotate(-8deg) scale(1.1);
  }
}
.tenant-happitudeco .btn-whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 100px;
  box-shadow: 0 0 0 0 rgba(90, 47, 106, 0.45);
  pointer-events: none;
}
.tenant-happitudeco .ho-contact .btn-whatsapp::before {
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
}
@media (prefers-reduced-motion: no-preference) {
  .tenant-happitudeco .btn-whatsapp::before {
    animation: ho-whatsapp-pulse 2.6s ease-out infinite;
  }
}
@keyframes ho-whatsapp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(90, 47, 106, 0.45); }
  70% { box-shadow: 0 0 0 16px rgba(90, 47, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(90, 47, 106, 0); }
}
.tenant-happitudeco .ho-contact .btn-whatsapp::before {
  animation-name: ho-whatsapp-pulse-gold;
}
@keyframes ho-whatsapp-pulse-gold {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Hover sparkle burst — a scattered handful of small gold stars pop in
   around the button on hover (inspired by curious.pm's CTA buttons).
   2026-10-15: switched from one ::after with 4 fixed corner positions to
   real DOM dots (.ho-sparkle-dot, injected by happitudeco.js) so each
   button gets its own random count (4-7) and scattered layout instead of
   every button showing the identical 4-corner pattern. */
.tenant-happitudeco .btn-primary,
.tenant-happitudeco .btn-secondary,
.tenant-happitudeco .btn-whatsapp {
  position: relative;
}
.tenant-happitudeco .ho-sparkle-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.tenant-happitudeco .ho-sparkle-burst .ho-sparkle-dot {
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C9A24E'%3E%3Cpath d='M12 0c0 6.6 5.4 12 12 12-6.6 0-12 5.4-12 12 0-6.6-5.4-12-12-12 6.6 0 12-5.4 12-12z'/%3E%3C/svg%3E");
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: var(--ho-sparkle-delay, 0s);
}
@media (hover: hover) and (pointer: fine) {
  .tenant-happitudeco .btn-primary:hover .ho-sparkle-dot,
  .tenant-happitudeco .btn-secondary:hover .ho-sparkle-dot,
  .tenant-happitudeco .btn-whatsapp:hover .ho-sparkle-dot {
    opacity: 1;
    transform: scale(1);
  }
}
/* Touch devices have no real hover — happitudeco.js plays this once per
   element, the first time it scrolls into view, as a one-time entrance
   flourish instead. */
.tenant-happitudeco .ho-sparkle-burst.is-visible .ho-sparkle-dot {
  opacity: 1;
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .tenant-happitudeco .ho-sparkle-dot { transition-duration: 0.15s; transition-delay: 0s; }
}

/* ---------- Header ---------- */
.tenant-happitudeco .ho-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 24px;
}
.tenant-happitudeco .ho-header .btn {
  flex: 0 0 auto;
}
.tenant-happitudeco .ho-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.tenant-happitudeco .ho-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.tenant-happitudeco .ho-brand-name {
  font-family: var(--t-serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--t-mauve-deep);
}
.tenant-happitudeco .ho-brand-tagline {
  display: block;
  font-family: var(--t-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t-mauve);
  opacity: 0.8;
}

/* ---------- Sticky bottom bar ---------- */
.tenant-happitudeco .ho-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--t-white);
  border-top: 1px solid var(--t-line);
  box-shadow: 0 -6px 20px rgba(32, 20, 38, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.tenant-happitudeco .ho-sticky-bar.is-visible {
  transform: translateY(0);
}
.tenant-happitudeco .ho-sticky-bar-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.tenant-happitudeco .ho-sticky-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.tenant-happitudeco .ho-sticky-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tenant-happitudeco .ho-sticky-name {
  display: block;
  font-family: var(--t-serif);
  font-weight: 600;
  color: var(--t-mauve-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tenant-happitudeco .ho-sticky-tagline {
  display: block;
  font-family: var(--t-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--t-mauve);
  opacity: 0.8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tenant-happitudeco .ho-sticky-bar .btn {
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .tenant-happitudeco .ho-sticky-brand { display: none; }
  .tenant-happitudeco .ho-sticky-bar-inner { justify-content: center; padding: 10px 16px; }
}

/* ---------- Section shell ---------- */
.tenant-happitudeco .ho-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 24px;
}
.tenant-happitudeco .ho-eyebrow {
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t-mauve);
  margin: 0 0 12px;
}

/* ---------- Hero — Netflix-style banner ---------- */
.tenant-happitudeco .ho-hero {
  position: relative;
  overflow: hidden;
  text-align: left;
  margin: 0 4px;
  border-radius: 20px;
  padding: 24px 24px 56px;
  min-height: 78vh;
  max-height: 680px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.tenant-happitudeco .ho-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}

/* Rotating photo background — 5 images, 3s each, 15s loop, crossfading */
.tenant-happitudeco .ho-hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.tenant-happitudeco .ho-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation-duration: 15s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.tenant-happitudeco .ho-hero-slide-1 { animation-name: ho-hero-slide-0; }
.tenant-happitudeco .ho-hero-slide-2 { animation-name: ho-hero-slide-1; }
.tenant-happitudeco .ho-hero-slide-3 { animation-name: ho-hero-slide-2; }
.tenant-happitudeco .ho-hero-slide-4 { animation-name: ho-hero-slide-3; }
.tenant-happitudeco .ho-hero-slide-5 { animation-name: ho-hero-slide-4; }

@keyframes ho-hero-slide-0 {
  0%, 100% { opacity: 1; }
  17.3% { opacity: 1; }
  20% { opacity: 0; }
  97.3% { opacity: 0; }
}
@keyframes ho-hero-slide-1 {
  0%, 20% { opacity: 0; }
  22.7% { opacity: 1; }
  37.3% { opacity: 1; }
  40% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes ho-hero-slide-2 {
  0%, 40% { opacity: 0; }
  42.7% { opacity: 1; }
  57.3% { opacity: 1; }
  60% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes ho-hero-slide-3 {
  0%, 60% { opacity: 0; }
  62.7% { opacity: 1; }
  77.3% { opacity: 1; }
  80% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes ho-hero-slide-4 {
  0%, 80% { opacity: 0; }
  82.7% { opacity: 1; }
  97.3% { opacity: 1; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tenant-happitudeco .ho-hero-slide { animation: none; opacity: 0; }
  .tenant-happitudeco .ho-hero-slide-1 { opacity: 1; }
}

.tenant-happitudeco .ho-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(32, 20, 38, 0.15) 0%, rgba(32, 20, 38, 0.35) 55%, rgba(32, 20, 38, 0.92) 100%),
    linear-gradient(90deg, rgba(32, 20, 38, 0.55) 0%, rgba(32, 20, 38, 0.05) 60%);
}

.tenant-happitudeco .ho-hero h1 {
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--t-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  max-width: 560px;
  margin: 0 0 10px;
}

/* Hero sparkle accents — a small gold twinkle near the headline */
.tenant-happitudeco .ho-sparkle {
  position: absolute;
  display: block;
  color: var(--t-gold);
  filter: drop-shadow(0 0 5px rgba(201, 162, 78, 0.65));
  pointer-events: none;
  z-index: 2;
}
.tenant-happitudeco .ho-sparkle svg {
  width: 100%;
  height: 100%;
  display: block;
}
.tenant-happitudeco .ho-sparkle-1 {
  top: -10px;
  left: -6px;
  width: 20px;
  height: 20px;
  animation: ho-sparkle-twinkle 2.6s ease-in-out infinite;
}
.tenant-happitudeco .ho-sparkle-2 {
  top: 2px;
  right: 6%;
  width: 13px;
  height: 13px;
  animation: ho-sparkle-twinkle 2.6s ease-in-out infinite 1.2s;
}
.tenant-happitudeco .ho-sparkle-3 {
  bottom: 18%;
  left: 44%;
  width: 11px;
  height: 11px;
  animation: ho-sparkle-twinkle 3.1s ease-in-out infinite 0.5s;
}
@keyframes ho-sparkle-twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.75) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(14deg); }
}
@media (prefers-reduced-motion: reduce) {
  .tenant-happitudeco .ho-sparkle { animation: none; opacity: 0.85; }
}
@media (max-width: 640px) {
  .tenant-happitudeco .ho-sparkle-2,
  .tenant-happitudeco .ho-sparkle-3 { display: none; }
}

/* Inline sparkle — a small twinkle sitting right in the text flow next
   to a heading, instead of absolutely positioned */
.tenant-happitudeco .ho-inline-sparkle {
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  vertical-align: middle;
  margin: 0 2px;
  color: var(--t-gold);
  filter: drop-shadow(0 0 4px rgba(201, 162, 78, 0.6));
  animation: ho-sparkle-twinkle 2.6s ease-in-out infinite;
}
.tenant-happitudeco .ho-inline-sparkle svg {
  width: 100%;
  height: 100%;
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .tenant-happitudeco .ho-inline-sparkle { animation: none; opacity: 0.85; }
}
.tenant-happitudeco .ho-hero-sub {
  font-family: var(--t-serif);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 600;
  font-style: italic;
  max-width: 40ch;
  margin: 0 0 28px;
  color: var(--t-gold);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.tenant-happitudeco .ho-hero .btn-secondary {
  color: var(--t-white);
  border-color: rgba(255, 255, 255, 0.7);
}
.tenant-happitudeco .ho-hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}
.tenant-happitudeco .ho-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.tenant-happitudeco .ho-hero-actions .btn {
  padding: 14px 32px;
  font-weight: 600;
}

/* ---------- Pan-India ticker — rolling marquee under the hero ---------- */
.tenant-happitudeco .ho-pan-india-ticker {
  overflow: hidden;
  background: var(--t-mauve);
  margin: 8px 4px 0;
  border-radius: 10px;
  padding: 9px 0;
}
.tenant-happitudeco .ho-pan-india-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 14px;
  animation: ho-pan-india-scroll 60s linear infinite;
}
.tenant-happitudeco .ho-pan-india-text {
  flex: 0 0 auto;
  font-family: var(--t-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t-white);
  white-space: nowrap;
}
.tenant-happitudeco .ho-pan-india-dot {
  flex: 0 0 auto;
  color: var(--t-gold);
  font-size: 12px;
}
@keyframes ho-pan-india-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .tenant-happitudeco .ho-pan-india-track { animation: none; }
}
@media (max-width: 640px) {
  .tenant-happitudeco .ho-pan-india-ticker { margin: 6px 3px 0; }
}

/* ---------- Netflix-style rows ---------- */
.tenant-happitudeco .ho-row-section {
  padding-top: 44px;
  padding-bottom: 12px;
}
.tenant-happitudeco .ho-row-heading {
  font-size: 1.3rem;
  margin: 0 0 16px;
}
.tenant-happitudeco .ho-row-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin: 0 -24px;
  padding: 4px 24px 12px;
  scrollbar-width: none;
}
.tenant-happitudeco .ho-row-track::-webkit-scrollbar {
  display: none;
}

.tenant-happitudeco .ho-tile {
  position: relative;
  flex: 0 0 auto;
  width: 168px;
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid var(--t-line);
  background: var(--t-white);
  text-align: left;
  font-family: var(--t-sans);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
}

/* Hover sparkle burst on cards — same gold stars as the CTA buttons, same
   real-DOM-dots approach (see above). Cards clip overflow for their
   photo/background (needed for the rounded corners and the trending-card
   stamp clip), so a dot placed past the card's own edge is cut off —
   happitudeco.js keeps this variant's dots hugging just inside the edge
   instead of poking past it, the closest approximation to "around the
   border" these cards can actually render. */
.tenant-happitudeco .ho-sparkle-burst--contained {
  z-index: 3;
}
@media (hover: hover) and (pointer: fine) {
  .tenant-happitudeco .ho-tile:hover .ho-sparkle-dot,
  .tenant-happitudeco .ho-gallery-tile:hover .ho-sparkle-dot {
    opacity: 1;
    transform: scale(1);
  }
}

/* Trending tiles — Netflix "Trending Now" style numbered row, plain
   cards (not photos — real product photos carry their own text/price
   tags that clashed with the caption on top of them) */
.tenant-happitudeco .ho-tile-trending {
  width: 200px;
  background: linear-gradient(145deg, var(--t-gold-soft), var(--t-lavender));
  border: none;
  justify-content: center;
  /* overflow stays hidden (inherited from base .ho-tile) on purpose —
     the stamp badge below is positioned so the card's own edge clips
     off a small slice of it, rather than floating freely outside. */
}
.tenant-happitudeco .ho-trending-caption {
  position: relative;
  z-index: 1;
  padding: 0 16px;
  font-family: var(--t-serif);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--t-mauve-deep);
}
.tenant-happitudeco .ho-trending-stamp {
  position: absolute;
  z-index: 2;
  top: -4px;
  right: -4px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--t-white);
  box-shadow: 0 3px 8px rgba(66, 35, 78, 0.3);
}
/* Traveling sparkle — only the trending card currently centered in the
   horizontal scroller (".is-active", set by JS on scroll) gets a small
   gold star looping around its border; others stay still. */
.tenant-happitudeco .ho-trending-sparkle {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  fill: var(--t-gold);
  filter: drop-shadow(0 0 4px rgba(201, 162, 78, 0.9));
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.tenant-happitudeco .ho-tile-trending.is-active .ho-trending-sparkle {
  opacity: 1;
  animation:
    ho-sparkle-travel 4s linear infinite,
    ho-sparkle-twinkle 1.1s ease-in-out infinite;
}
@keyframes ho-sparkle-travel {
  0%   { top: 0%;   left: 0%; }
  25%  { top: 0%;   left: 100%; }
  50%  { top: 100%; left: 100%; }
  75%  { top: 100%; left: 0%; }
  100% { top: 0%;   left: 0%; }
}
@keyframes ho-sparkle-twinkle {
  0%, 100% { transform: translate(-50%, -50%) scale(0.75); }
  50% { transform: translate(-50%, -50%) scale(1.3); }
}
@media (prefers-reduced-motion: reduce) {
  .tenant-happitudeco .ho-trending-sparkle { animation: none !important; opacity: 0 !important; }
}

.tenant-happitudeco .ho-trending-rank {
  position: absolute;
  z-index: 0;
  left: 4px;
  bottom: 2px;
  font-family: var(--t-serif);
  font-weight: 700;
  font-size: 72px;
  line-height: 0.75;
  color: var(--t-white);
  -webkit-text-stroke: 1.5px var(--t-mauve);
  opacity: 0.9;
  pointer-events: none;
}

/* Rich tiles — Services (grid) + Gifts (row): real photo on top, the
   title and description always visible below, not hidden behind a click */
.tenant-happitudeco .ho-tile-rich {
  width: 240px;
  aspect-ratio: auto;
  justify-content: flex-start;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.tenant-happitudeco .ho-tile-rich:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(90, 47, 106, 0.18);
  border-color: var(--t-gold-deep);
}
.tenant-happitudeco .ho-tile-rich:active {
  transform: translateY(0) scale(0.98);
}
.tenant-happitudeco .ho-tile-rich-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  flex: 0 0 auto;
}
.tenant-happitudeco .ho-tile-rich-body {
  padding: 14px 16px 18px;
}
/* Hover preview — desktop only (no hover on touch); click still opens
   the full modal regardless. */
.tenant-happitudeco .ho-tile-hover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .tenant-happitudeco .ho-tile-rich:hover .ho-tile-hover-video {
    opacity: 1;
  }
  .tenant-happitudeco .ho-tile-rich:hover .ho-tile-play,
  .tenant-happitudeco .ho-tile-rich:hover .ho-tile-badge {
    opacity: 0;
  }
  .tenant-happitudeco .ho-tile-play,
  .tenant-happitudeco .ho-tile-badge {
    transition: opacity 0.2s;
  }
}
.tenant-happitudeco .ho-tile-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(32, 20, 38, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t-white);
}
.tenant-happitudeco .ho-tile-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  background: rgba(32, 20, 38, 0.65);
  color: var(--t-white);
  font-family: var(--t-mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  border-radius: 100px;
}
.tenant-happitudeco .ho-tile-tag {
  display: inline-block;
  font-family: var(--t-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--t-gold);
  color: var(--t-mauve-deep);
  padding: 2px 7px;
  border-radius: 100px;
  margin-bottom: 8px;
}
.tenant-happitudeco .ho-tile-name {
  display: block;
  font-family: var(--t-serif);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--t-ink);
  margin-bottom: 6px;
}
.tenant-happitudeco .ho-tile-desc {
  display: -webkit-box;
  font-size: 0.85rem;
  opacity: 0.85;
  margin: 0;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Brand strip — rolling marquee of logos, pauses on hover, fades at
   both edges so logos scroll in/out rather than cut off abruptly */
.tenant-happitudeco .ho-brand-strip-section {
  padding-top: 20px;
  padding-bottom: 20px;
}
.tenant-happitudeco .ho-brand-strip-wrap {
  /* Full-bleed, same near-edge-to-edge treatment as the hero banner
     (margin: 0 4px) — breaks out of .ho-section's 1080px max-width/24px
     padding via the standard negative-margin bleed technique, since
     .ho-row-heading right above it still needs that normal padding. */
  margin-left: calc(50% - 50vw + 4px);
  margin-right: calc(50% - 50vw + 4px);
  background: var(--t-ivory-deep);
  border-radius: 20px;
  padding: 32px 0;
}
.tenant-happitudeco .ho-brand-strip {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.tenant-happitudeco .ho-brand-strip-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: ho-brand-scroll 22s linear infinite;
}
.tenant-happitudeco .ho-brand-strip:hover .ho-brand-strip-track {
  animation-play-state: paused;
}
.tenant-happitudeco .ho-brand-logo {
  flex: 0 0 auto;
  height: 40px;
  display: flex;
  align-items: center;
}
.tenant-happitudeco .ho-brand-logo img {
  height: 100%;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter 0.2s, opacity 0.2s;
}
.tenant-happitudeco .ho-brand-logo img:hover {
  filter: grayscale(0%);
  opacity: 1;
}
@keyframes ho-brand-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .tenant-happitudeco .ho-brand-strip-track { animation: none; }
}

/* Services grid — only 3 items, so bigger cards in a grid instead of a
   horizontal scroll row */
.tenant-happitudeco .ho-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.tenant-happitudeco .ho-services-grid .ho-tile {
  width: 100%;
}

/* Testimonial row — horizontal scroll track, two cards visible at a time
   on load, swipe/scroll sideways to reach the rest */
.tenant-happitudeco .ho-testimonial-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin: 0 -24px;
  padding: 4px 24px 12px;
  scrollbar-width: none;
}
.tenant-happitudeco .ho-testimonial-grid::-webkit-scrollbar {
  display: none;
}
.tenant-happitudeco .ho-testimonial-grid .ho-tile-flip {
  flex: 0 0 calc(50% - 10px);
  width: auto;
  max-width: none;
  scroll-snap-align: start;
}

/* Plain tiles — no media yet, themed gradient card, same size as rich tiles */
.tenant-happitudeco .ho-tile-plain {
  width: 240px;
  aspect-ratio: auto;
  background: linear-gradient(145deg, var(--t-gold-soft), var(--t-lavender));
  padding: 16px;
  justify-content: flex-start;
}
.tenant-happitudeco .ho-tile-plain .ho-tile-tag {
  background: var(--t-mauve);
  color: var(--t-white);
}
.tenant-happitudeco .ho-tile-plain .ho-tile-name {
  color: var(--t-mauve-deep);
}
.tenant-happitudeco .ho-tile-plain .ho-tile-desc {
  -webkit-line-clamp: 5;
}

/* Our Gallery — a mosaic of different-sized SQUARES (tiles 1 and 8 are
   2x2, the rest 1x1), not rectangles — every tile uses aspect-ratio:1/1
   so it's square at whatever size it renders, regardless of the
   column's fluid width. Positions are hand-placed (not auto-flow) so
   exactly 10 tiles fill the grid with zero gaps, on both breakpoints. */
.tenant-happitudeco .ho-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.tenant-happitudeco .ho-gallery-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  border: 1px solid var(--t-line);
  background-color: var(--t-ivory-deep);
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .tenant-happitudeco .ho-gallery-tile:hover {
    transform: scale(1.04);
    box-shadow: 0 14px 30px rgba(90, 47, 106, 0.25), 0 0 0 3px var(--t-gold);
    border-color: var(--t-gold);
    position: relative;
    z-index: 2;
  }
}
.tenant-happitudeco .ho-gallery-tile:nth-child(1)  { grid-column: 1 / 3; grid-row: 1 / 3; }
.tenant-happitudeco .ho-gallery-tile:nth-child(2)  { grid-column: 3 / 4; grid-row: 1 / 2; }
.tenant-happitudeco .ho-gallery-tile:nth-child(3)  { grid-column: 4 / 5; grid-row: 1 / 2; }
.tenant-happitudeco .ho-gallery-tile:nth-child(4)  { grid-column: 3 / 4; grid-row: 2 / 3; }
.tenant-happitudeco .ho-gallery-tile:nth-child(5)  { grid-column: 4 / 5; grid-row: 2 / 3; }
.tenant-happitudeco .ho-gallery-tile:nth-child(6)  { grid-column: 1 / 2; grid-row: 3 / 4; }
.tenant-happitudeco .ho-gallery-tile:nth-child(7)  { grid-column: 2 / 3; grid-row: 3 / 4; }
.tenant-happitudeco .ho-gallery-tile:nth-child(8)  { grid-column: 3 / 5; grid-row: 3 / 5; }
.tenant-happitudeco .ho-gallery-tile:nth-child(9)  { grid-column: 1 / 2; grid-row: 4 / 5; }
.tenant-happitudeco .ho-gallery-tile:nth-child(10) { grid-column: 2 / 3; grid-row: 4 / 5; }
@media (max-width: 640px) {
  .tenant-happitudeco .ho-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tenant-happitudeco .ho-gallery-tile:nth-child(1)  { grid-column: 1 / 3; grid-row: 1 / 3; }
  .tenant-happitudeco .ho-gallery-tile:nth-child(2)  { grid-column: 1 / 2; grid-row: 3 / 4; }
  .tenant-happitudeco .ho-gallery-tile:nth-child(3)  { grid-column: 2 / 3; grid-row: 3 / 4; }
  .tenant-happitudeco .ho-gallery-tile:nth-child(4)  { grid-column: 1 / 2; grid-row: 4 / 5; }
  .tenant-happitudeco .ho-gallery-tile:nth-child(5)  { grid-column: 2 / 3; grid-row: 4 / 5; }
  .tenant-happitudeco .ho-gallery-tile:nth-child(6)  { grid-column: 1 / 2; grid-row: 5 / 6; }
  .tenant-happitudeco .ho-gallery-tile:nth-child(7)  { grid-column: 2 / 3; grid-row: 5 / 6; }
  .tenant-happitudeco .ho-gallery-tile:nth-child(8)  { grid-column: 1 / 3; grid-row: 6 / 8; }
  .tenant-happitudeco .ho-gallery-tile:nth-child(9)  { grid-column: 1 / 2; grid-row: 8 / 9; }
  .tenant-happitudeco .ho-gallery-tile:nth-child(10) { grid-column: 2 / 3; grid-row: 8 / 9; }
}

/* ---------- Why HappitudeCo ---------- */
.tenant-happitudeco .ho-why {
  background: var(--t-white);
  border-radius: 24px;
}
.tenant-happitudeco .ho-why-text {
  font-family: var(--t-serif);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.5;
  max-width: 44ch;
  color: var(--t-mauve-deep);
  margin: 0 auto;
  text-align: center;
}

/* ---------- Testimonials — flip cards: short summary + person up
   front, full quote on the back. Hover flips on desktop (below); tap
   flips via JS (.is-flipped) since touch devices have no hover state. ---------- */
.tenant-happitudeco .ho-tile-flip {
  width: 240px;
  height: 340px;
  aspect-ratio: auto;
  background: none;
  border: none;
  padding: 0;
  overflow: visible;
  perspective: 1200px;
  cursor: pointer;
}
.tenant-happitudeco .ho-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}
.tenant-happitudeco .ho-tile-flip.is-flipped .ho-flip-inner {
  transform: rotateY(180deg);
}
.tenant-happitudeco .ho-tile-flip {
  transition: filter 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .tenant-happitudeco .ho-tile-flip:hover .ho-flip-inner {
    transform: rotateY(180deg);
  }
  .tenant-happitudeco .ho-tile-flip:hover {
    filter: drop-shadow(0 12px 22px rgba(169, 117, 37, 0.3));
  }
}
.tenant-happitudeco .ho-flip-front,
.tenant-happitudeco .ho-flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 16px;
  background: var(--t-lavender);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}
.tenant-happitudeco .ho-flip-front {
  align-items: center;
  text-align: center;
  justify-content: center;
}
.tenant-happitudeco .ho-flip-back {
  transform: rotateY(180deg);
  justify-content: flex-start;
  overflow-y: auto;
}
.tenant-happitudeco .ho-flip-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--t-mauve);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tenant-happitudeco .ho-flip-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tenant-happitudeco .ho-flip-avatar-initials {
  color: var(--t-white);
  font-family: var(--t-serif);
  font-size: 1.3rem;
  font-weight: 600;
}
.tenant-happitudeco .ho-flip-summary {
  font-family: var(--t-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--t-mauve-deep);
  margin: 0 0 14px;
}
.tenant-happitudeco .ho-flip-name {
  font-family: var(--t-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  font-weight: 600;
  color: var(--t-mauve-deep);
}
.tenant-happitudeco .ho-flip-title {
  display: block;
  font-size: 11.5px;
  opacity: 0.75;
  margin-top: 2px;
}
.tenant-happitudeco .ho-flip-hint {
  margin-top: 16px;
  font-family: var(--t-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.55;
}
.tenant-happitudeco .ho-quote-mark {
  font-family: var(--t-serif);
  font-size: 3rem;
  color: var(--t-gold-deep);
  line-height: 0.4;
  display: block;
  margin-bottom: 14px;
}
.tenant-happitudeco .ho-testimonial-text {
  font-style: italic;
  margin: 0 0 16px;
  font-size: 0.9rem;
}
.tenant-happitudeco .ho-testimonial-video {
  width: 100%;
  max-height: 230px;
  border-radius: 10px;
  margin-bottom: 14px;
  object-fit: contain;
  background: #000;
}
.tenant-happitudeco .ho-testimonial-name {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  flex-shrink: 0;
  font-family: var(--t-mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--t-mauve-deep);
  text-decoration: none;
  background: var(--t-white);
  border: 1.5px solid var(--t-gold-deep);
  border-radius: 100px;
  padding: 10px 14px;
}

/* ---------- Contact & close ---------- */
.tenant-happitudeco .ho-contact {
  background: var(--t-mauve);
  color: var(--t-white);
  text-align: center;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  /* client feedback 2026-10-15: this footer card was reading as too tall
     on mobile — tighter padding than the generic .ho-section default. */
  padding: 40px 24px;
}
.tenant-happitudeco .ho-contact-text {
  flex: 0 1 auto;
  text-align: left;
}
.tenant-happitudeco .ho-contact-actions {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 220px;
}
.tenant-happitudeco .ho-contact-actions .btn-whatsapp {
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
  padding: 10px 22px;
}
.tenant-happitudeco .ho-contact h2 {
  color: var(--t-white);
  max-width: 24ch;
  margin: 0;
  font-size: clamp(1.35rem, 3.6vw, 2rem);
  line-height: 1.25;
}
.tenant-happitudeco .ho-contact .btn-primary {
  background: linear-gradient(135deg, var(--t-gold) 0%, var(--t-gold-deep) 100%);
  color: var(--t-mauve-deep);
  font-weight: 600;
}
.tenant-happitudeco .ho-contact .btn-primary:hover {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25);
}
.tenant-happitudeco .ho-contact .btn-whatsapp:hover {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25), 0 0 0 4px rgba(255, 255, 255, 0.3);
}
.tenant-happitudeco .ho-contact-icons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}
.tenant-happitudeco .ho-contact-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 9px 18px;
  border-radius: 100px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: var(--t-white);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-sizing: border-box;
  transition: border-color 0.2s, background 0.2s;
}
.tenant-happitudeco .ho-contact-icons a:hover {
  border-color: var(--t-gold);
  background: rgba(255, 255, 255, 0.08);
}
.tenant-happitudeco .ho-contact-icons svg {
  width: 20px;
  height: 20px;
  stroke: var(--t-white);
  fill: none;
  stroke-width: 1.6;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .tenant-happitudeco .ho-section { padding: 48px 20px; }
  .tenant-happitudeco .ho-header { padding: 16px 20px; }
  .tenant-happitudeco .ho-hero { margin: 0 3px; border-radius: 14px; padding: 20px 20px 44px; min-height: 64vh; }
  .tenant-happitudeco .ho-row-track { margin: 0 -20px; padding: 4px 20px 12px; }
  .tenant-happitudeco .ho-tile-trending { width: 170px; }
  .tenant-happitudeco .ho-tile-rich,
  .tenant-happitudeco .ho-tile-plain { width: 210px; }
  .tenant-happitudeco .ho-tile-flip { width: 210px; height: 320px; }
  .tenant-happitudeco .ho-testimonial-grid { margin: 0 -20px; padding: 4px 20px 12px; }
  .tenant-happitudeco .ho-testimonial-grid .ho-tile-flip { flex-basis: 82%; }
  .tenant-happitudeco .ho-contact { flex-direction: column; text-align: center; gap: 18px; padding: 32px 20px; }
  .tenant-happitudeco .ho-contact-text { text-align: center; }
  .tenant-happitudeco .ho-contact h2 { margin: 0 auto; }
  .tenant-happitudeco .ho-contact-actions { width: 100%; max-width: 280px; margin: 0 auto; }
}

/* ---------- Video modal (in-page Instagram clip playback) ---------- */
.tenant-happitudeco .ho-video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.tenant-happitudeco .ho-video-modal.is-open {
  display: flex;
}
.tenant-happitudeco .ho-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(32, 20, 38, 0.82);
}
.tenant-happitudeco .ho-video-modal-body {
  position: relative;
  width: 100%;
  max-width: 400px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: var(--t-ink);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.tenant-happitudeco .ho-video-modal-frame {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  aspect-ratio: 9 / 16;
}
.tenant-happitudeco .ho-video-modal-frame iframe,
.tenant-happitudeco .ho-video-modal-frame video,
.tenant-happitudeco .ho-video-modal-frame img {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  object-fit: contain;
  background: #000;
}
.tenant-happitudeco .ho-video-modal-ig-link {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 14px;
  background: var(--t-mauve);
  color: var(--t-white);
  text-decoration: none;
  font-family: var(--t-sans);
  font-weight: 600;
  font-size: 0.95rem;
}
.tenant-happitudeco .ho-video-modal-ig-link:hover {
  background: var(--t-mauve-deep);
}
.tenant-happitudeco .ho-video-modal-ig-link svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}
.tenant-happitudeco .ho-video-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: var(--t-white);
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tenant-happitudeco .ho-video-modal-close:hover {
  background: rgba(0, 0, 0, 0.75);
}
.tenant-happitudeco .ho-video-modal-counter {
  display: none;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--t-white);
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.tenant-happitudeco .ho-video-modal-nav {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: var(--t-white);
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.tenant-happitudeco .ho-video-modal-nav:hover {
  background: rgba(0, 0, 0, 0.7);
}
.tenant-happitudeco .ho-video-modal-prev { left: 10px; }
.tenant-happitudeco .ho-video-modal-next { right: 10px; }
.tenant-happitudeco .ho-video-modal-nav svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ---------- Scroll reveal ---------- */
/* JS adds .ho-reveal up front (progressive enhancement — if JS never
   runs, content stays at its normal visible state), then .is-visible
   once the element scrolls into view. */
.tenant-happitudeco .ho-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.tenant-happitudeco .ho-reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .tenant-happitudeco .ho-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
