/* Experimental playground styles for index2.html only */

:root {
  --fx-glow: 0 0 0 rgba(93, 180, 116, 0);
}

.playground-mode {
  position: relative;
  overflow-x: clip;
}

.playground-mode::before {
  content: "";
  position: fixed;
  inset: -30%;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(36rem 36rem at 6% 12%, rgba(96, 194, 127, 0.16), transparent 60%),
    radial-gradient(32rem 32rem at 94% 20%, rgba(148, 207, 171, 0.2), transparent 58%),
    radial-gradient(30rem 30rem at 50% 120%, rgba(182, 224, 198, 0.18), transparent 60%);
  animation: ambientShift 24s linear infinite alternate;
}

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1400;
  width: var(--progress-width, 0%);
  height: 4px;
  background: linear-gradient(90deg, #32a655, #7ad28e);
  box-shadow: 0 0 18px rgba(50, 166, 85, 0.35);
}

.ambient-orb {
  position: fixed;
  z-index: -2;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(4px);
  opacity: 0.45;
}

.orb-1 {
  width: 14rem;
  height: 14rem;
  left: -4rem;
  top: 8rem;
  background: radial-gradient(circle at 30% 30%, #9be0b1, transparent 65%);
  animation: orbFloat 12s ease-in-out infinite;
}

.orb-2 {
  width: 11rem;
  height: 11rem;
  right: -2rem;
  top: 18rem;
  background: radial-gradient(circle at 70% 40%, #6fbc88, transparent 60%);
  animation: orbFloat 15s ease-in-out infinite reverse;
}

.orb-3 {
  width: 16rem;
  height: 16rem;
  left: 50%;
  bottom: -7rem;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 50%, #c7ead2, transparent 62%);
  animation: orbFloat 18s ease-in-out infinite;
}

.site-header {
  box-shadow: 0 8px 24px rgba(31, 61, 44, 0.08);
}

.main-nav a {
  position: relative;
  transition: color 180ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
  background: linear-gradient(90deg, #38a15a, #79d191);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero-copy h1 {
  position: relative;
}

.hero-copy h1::before {
  content: "";
  position: absolute;
  left: -0.55rem;
  top: -0.45rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, rgba(86, 188, 119, 0.3), transparent 70%);
  z-index: -1;
  animation: pulseSoft 3.5s ease-in-out infinite;
}

.hero-media {
  transform-style: preserve-3d;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.hero-media img {
  transition: transform 700ms ease;
}

.hero-media:hover {
  box-shadow: 0 26px 45px rgba(19, 47, 30, 0.18);
}

.hero-media:hover img {
  transform: scale(1.03);
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 55%);
  opacity: 0;
  transform: translateX(-20%);
  transition: opacity 220ms ease;
}

.btn:hover::before,
.btn:focus-visible::before {
  opacity: 1;
}

.btn:hover,
.btn:focus-visible {
  animation: microWobble 350ms ease;
  box-shadow: 0 10px 24px rgba(42, 109, 62, 0.18), 0 0 22px rgba(90, 190, 122, 0.25);
}

.info-card,
.product-card,
.glass-card,
.wide-card,
.quote-card,
.contact-card {
  transform: perspective(850px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(0);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
  will-change: transform;
}

.info-card:hover,
.product-card:hover,
.glass-card:hover,
.wide-card:hover,
.quote-card:hover,
.contact-card:hover {
  transform: perspective(850px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-8px);
  box-shadow: 0 18px 30px rgba(24, 52, 35, 0.14);
  border-color: #b5d4be;
}

.quote-card {
  overflow: hidden;
}

.quote-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(116, 206, 144, 0) 30%, rgba(116, 206, 144, 0.14) 48%, rgba(116, 206, 144, 0) 70%);
  transform: translateX(-120%);
  transition: transform 550ms ease;
}

.quote-card:hover::after {
  transform: translateX(120%);
}

.contact-band {
  position: relative;
  overflow: hidden;
}

.contact-band::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 16rem;
  background: radial-gradient(circle at 50% 0%, rgba(199, 242, 213, 0.23), transparent 68%);
  pointer-events: none;
}

.floating-whatsapp {
  animation: pulseSoft 3s ease-in-out infinite;
}

.corner-sweet {
  position: sticky;
  left: 0;
  top: calc(100vh - clamp(60px, 7.2vw, 99px) - 0.85rem - env(safe-area-inset-bottom));
  margin-left: 0.75rem;
  width: clamp(60px, 7.2vw, 99px);
  height: 0;
  z-index: 1080;
  pointer-events: none;
  animation: cornerFloat 5.2s ease-in-out infinite;
}

.corner-sweet video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
  clip-path: circle(44% at 50% 50%);
  border-radius: 0;
  border: 0;
  box-shadow: 0 8px 18px rgba(28, 60, 39, 0.18);
  background: transparent;
}

[id] {
  scroll-margin-top: 120px;
}

.reveal {
  transition: opacity 680ms ease, transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  animation: revealPop 650ms ease both;
}

@keyframes microWobble {
  0% { transform: rotate(0deg); }
  35% { transform: rotate(-1.2deg); }
  70% { transform: rotate(0.9deg); }
  100% { transform: rotate(0deg); }
}

@keyframes pulseSoft {
  0%, 100% { box-shadow: 0 0 0 rgba(80, 175, 112, 0); }
  50% { box-shadow: 0 0 24px rgba(80, 175, 112, 0.22); }
}

@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

@keyframes ambientShift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(0, -1.4%, 0) scale(1.04); }
}

@keyframes revealPop {
  0% { opacity: 0; transform: translateY(18px) scale(0.98); }
  70% { opacity: 1; transform: translateY(-3px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cornerFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -6px, 0); }
}

@media (max-width: 860px) {
  .ambient-orb {
    opacity: 0.3;
  }

  .info-card,
  .product-card,
  .glass-card,
  .wide-card,
  .quote-card,
  .contact-card {
    transform: none !important;
  }
}

@media (max-width: 540px) {
  .hero .hero-cta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .hero .hero-cta .btn {
    min-width: 0;
    width: 100%;
    padding: 0.52rem 0.18rem;
    border-radius: 10px;
    font-size: 0.63rem;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .corner-sweet {
    position: fixed;
    left: 0.7rem;
    bottom: calc(0.95rem + env(safe-area-inset-bottom));
    top: auto;
    width: 57px;
    height: auto;
    margin-left: 0;
  }
}

@media (max-width: 390px) {
  .hero .hero-cta .btn {
    font-size: 0.58rem;
    padding: 0.48rem 0.14rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .playground-mode::before,
  .ambient-orb,
  .floating-whatsapp,
  .corner-sweet,
  .btn,
  .hero-media img,
  .quote-card::after,
  .reveal {
    animation: none !important;
    transition: none !important;
  }
}
