/* compra.onl landing — standalone design (no Tailwind) */

:root {
  --color-hero-bg: #a7f3d0;
  --color-dark: #334155;
  --color-dark-soft: #475569;
  --color-accent: #059669;
  --color-accent-hover: #047857;
  --color-accent-muted: rgb(5 150 105 / 14%);
  --color-light: #ecfdf5;
  --color-light-alt: #d1fae5;
  --color-white: #fff;
  --color-text: #1e293b;
  --color-text-light: #64748b;
  --font-display: "Outfit", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 5rem;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

.compra-landing__wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.compra-landing__wrap main { flex: 1; }

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Hero */
.c-hero {
  min-height: 82vh;
  min-height: 82dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
  background: var(--color-hero-bg);
  background-image: radial-gradient(ellipse 80% 50% at 50% 0%, rgb(5 150 105 / 22%), transparent 55%);
  position: relative;
}

.c-hero__logo {
  display: block;
  max-width: 160px;
  height: auto;
  margin: 0 auto var(--space-lg);
  transition: transform 0.45s ease-in-out;
}

.c-hero__logo:hover {
  transform: scale(1.25);
}

.c-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 7vw, 3.5rem);
  line-height: 1.15;
  color: var(--color-dark);
  margin: 0 0 var(--space-xl);
  letter-spacing: -0.03em;
}

.c-hero__title .c-hero__accent {
  color: var(--color-accent);
}

.c-hero__title span:not(.c-hero__accent) {
  color: var(--color-dark-soft);
}

.c-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-accent-hover);
  background: var(--color-white);
  border: none;
  border-radius: var(--radius-lg);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px rgb(0 0 0 / 12%);
}

.c-hero__cta:hover {
  background: var(--color-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgb(0 0 0 / 18%);
}

.c-hero__cta:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

/* Section common */
.c-section {
  padding: var(--space-2xl) var(--space-md);
  max-width: 72rem;
  margin: 0 auto;
}

.c-section--full-bleed {
  max-width: none;
  width: 100%;
}

.c-section__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.c-section--light {
  background: var(--color-light);
}

.c-section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--color-dark);
  margin: 0 0 var(--space-lg);
  text-align: center;
}

.c-section__sub {
  text-align: center;
  color: var(--color-text-light);
  max-width: 36rem;
  margin: 0 auto var(--space-xl);
  font-size: 1.0625rem;
}

/* Product cards */
.c-products {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (width >= 640px) {
  .c-products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width >= 1024px) {
  .c-products {
    grid-template-columns: repeat(3, 1fr);
  }
}

.c-product {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 1px 3px rgb(0 0 0 / 6%);
  transition: box-shadow var(--transition), transform var(--transition);
  border: 1px solid var(--color-light-alt);
  text-decoration: none;
  color: inherit;
  display: block;
}

.c-product:hover {
  box-shadow: 0 12px 24px -8px rgb(0 0 0 / 12%);
  transform: translateY(-4px);
}

.c-product__image-wrap {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
  background: var(--color-light-alt);
}

.c-product__image-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-product__image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 2rem;
}

.c-product__body {
  padding: var(--space-md);
}

.c-product__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-accent);
  margin: 0 0 var(--space-xs);
}

.c-product__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-dark);
  margin: 0;
  line-height: 1.3;
}

.c-product__cta {
  display: inline-block;
  margin-top: var(--space-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* Products carousel */
.c-products-carousel-wrapper {
  position: relative;
  padding-left: 5.5rem;
  padding-right: 5.5rem;
}

.c-products-carousel__slide {
  padding: 0 var(--space-xs);
}

.c-products-carousel__slide .c-product {
  height: 100%;
}

.c-products-carousel .slick-prev,
.c-products-carousel .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background var(--transition), transform var(--transition);
}

.c-products-carousel .slick-prev:hover,
.c-products-carousel .slick-next:hover {
  background: var(--color-accent-hover);
  transform: translateY(-50%) scale(1.05);
}

.c-products-carousel .slick-prev {
  left: -5rem;
}

.c-products-carousel .slick-next {
  right: -5rem;
}

.c-products-carousel .slick-prev::before,
.c-products-carousel .slick-next::before {
  content: none;
}

.c-products-carousel .slick-prev i,
.c-products-carousel .slick-next i {
  font-size: 1rem;
}

@media (width < 640px) {
  .c-products-carousel-wrapper {
    padding-left: 5.5rem;
    padding-right: 5.5rem;
  }

  .c-products-carousel .slick-prev {
    left: -5rem;
  }

  .c-products-carousel .slick-next {
    right: -5rem;
  }

  .c-products-carousel .slick-prev,
  .c-products-carousel .slick-next {
    width: 2.25rem;
    height: 2.25rem;
  }

  .c-products-carousel .slick-prev i,
  .c-products-carousel .slick-next i {
    font-size: 0.875rem;
  }
}

/* Features */
.c-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (width >= 768px) {
  .c-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width >= 1200px) {
  .c-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.c-feature {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-light-alt);
  transition: box-shadow var(--transition), transform var(--transition);
}

.c-feature:hover {
  box-shadow: 0 4px 12px rgb(0 0 0 / 6%);
  transform: translateY(-2px);
}

.c-feature__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  border-radius: var(--radius-md);
  font-size: 1.125rem;
  flex-shrink: 0;
}

.c-feature__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-dark);
  margin: 0 0 var(--space-xs);
}

.c-feature__text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* Trust strip */
.c-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg) var(--space-xl);
  padding: var(--space-lg) var(--space-md);
  background: var(--color-light-alt);
  color: var(--color-text-light);
  font-size: 0.9375rem;
}

.c-trust__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.c-trust__item i { color: var(--color-accent); }

/* Footer */
.c-footer {
  padding: var(--space-2xl) var(--space-md);
  background: var(--color-dark-soft);
  color: rgb(255 255 255 / 85%);
  font-size: 1rem;
}

.c-footer__inner {
  max-width: 72rem;
  margin: 0 auto;
  text-align: center;
}

.c-footer__copy {
  margin: 0;
  font-weight: 600;
  color: var(--color-white);
}
