/**
 * Chekkos Home — conversion-focused landing sections
 */

.chekkos-home-page {
  background: var(--chekkos-bg-muted);
}

/* --- Hero --- */
.chekkos-hero {
  background: linear-gradient(135deg, #163a5f 0%, #1f4c7a 45%, #2a6cb0 100%);
  color: #fff;
  padding: clamp(40px, 6vw, 88px) 0;
  position: relative;
  overflow: hidden;
}

.chekkos-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(240, 65, 86, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

.chekkos-hero .container {
  position: relative;
  z-index: 1;
}

.chekkos-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--chekkos-space-8);
  align-items: center;
}

.chekkos-hero__eyebrow {
  display: inline-block;
  margin: 0 0 var(--chekkos-space-3);
  padding: 6px 12px;
  border-radius: var(--chekkos-radius-full);
  background: rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chekkos-hero__title {
  margin: 0 0 var(--chekkos-space-4);
  font-family: var(--chekkos-font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.1;
  font-weight: 700;
  color: #fff;
}

.chekkos-hero__subtitle {
  margin: 0 0 var(--chekkos-space-6);
  max-width: 52ch;
  font-size: clamp(1rem, 2vw, 1.8rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.chekkos-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--chekkos-space-3);
}

.chekkos-hero__panel {
  display: flex;
  justify-content: flex-end;
}

.chekkos-hero__card {
  width: min(100%, 300px);
  padding: var(--chekkos-space-6);
  border-radius: var(--chekkos-radius-lg);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  box-shadow: var(--chekkos-shadow-lg);
}

.chekkos-hero__card-label {
  margin: 0 0 var(--chekkos-space-2);
  font-size: 14px;
  opacity: 0.85;
}

.chekkos-hero__card-stat {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
}

.chekkos-hero__card-caption {
  margin: var(--chekkos-space-2) 0 0;
  font-size: 15px;
  opacity: 0.9;
}

/* --- Buttons --- */
.chekkos-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--chekkos-touch-min);
  padding: 0 var(--chekkos-space-5);
  border-radius: var(--chekkos-radius-md);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--chekkos-transition), color var(--chekkos-transition), border-color var(--chekkos-transition), transform var(--chekkos-transition);
}

.chekkos-btn--primary {
  background: #fff;
  color: var(--chekkos-primary);
}

.chekkos-btn--primary:hover {
  background: var(--chekkos-bg-muted);
  color: var(--chekkos-primary-dark);
}

.chekkos-btn--secondary {
  background: var(--chekkos-accent);
  color: #fff;
  border-color: var(--chekkos-accent);
}

.chekkos-btn--secondary:hover {
  background: var(--chekkos-accent-hover);
  border-color: var(--chekkos-accent-hover);
}

.chekkos-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.chekkos-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.chekkos-btn--light {
  background: #fff;
  color: var(--chekkos-primary);
}

.chekkos-btn--light:hover {
  background: var(--chekkos-bg-muted);
}

.chekkos-btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.chekkos-btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* --- Trust bar --- */
.chekkos-trust {
  background: var(--chekkos-bg);
  border-bottom: 1px solid var(--chekkos-border);
  padding: var(--chekkos-space-5) 0;
}

.chekkos-trust__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--chekkos-space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.chekkos-trust__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--chekkos-space-3);
  border-radius: var(--chekkos-radius-md);
  text-align: center;
}

.chekkos-trust__item strong {
  font-size: 15px;
  color: var(--chekkos-text);
}

.chekkos-trust__item span:last-child {
  font-size: 13px;
  color: var(--chekkos-text-muted);
  line-height: 1.4;
}

.chekkos-trust__icon {
  display: inline-flex;
  align-self: center;
  width: 40px;
  height: 40px;
  margin-bottom: var(--chekkos-space-1);
  align-items: center;
  justify-content: center;
  border-radius: var(--chekkos-radius-full);
  background: rgba(31, 76, 122, 0.08);
  color: var(--chekkos-primary);
}

.chekkos-trust__icon svg {
  width: 22px;
  height: 22px;
}

/* --- Sections --- */
.chekkos-section {
  padding: clamp(40px, 5vw, 72px) 0;
}

.chekkos-section__head {
  margin-bottom: var(--chekkos-space-6);
  text-align: center;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.chekkos-section__head--compact {
  margin-bottom: var(--chekkos-space-5);
}

.chekkos-section__title {
  font-family: 'Google Sans Flex', sans-serif;
  color: #1f4c7a;
  font-size: 68px;
  font-weight: 600;
  line-height: 0.25;
  letter-spacing: -1.28px;
  margin: 0;
  margin-bottom: 0;
  text-transform: initial;
  display: inline-block;
  vertical-align: top;
  padding: 0 35px;
  background: transparent;
  position: relative;
  line-height: 78px;
}

.chekkos-section__subtitle {
  margin: 0;
  color: var(--chekkos-text-muted);
  font-size: 1.6rem;
  line-height: 1.6;
}

/* --- Category grid --- */
.chekkos-categories {
  background: var(--chekkos-bg);
}

.chekkos-categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--chekkos-space-4);
}

.chekkos-category-card {
  display: flex;
  flex-direction: column;
  background: var(--chekkos-bg-elevated);
  border: 1px solid var(--chekkos-border);
  border-radius: var(--chekkos-radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--chekkos-transition), border-color var(--chekkos-transition), transform var(--chekkos-transition);
  cursor: pointer;
}

.chekkos-category-card:hover {
  border-color: var(--chekkos-primary-light);
  box-shadow: var(--chekkos-shadow-md);
  transform: translateY(-2px);
}

.chekkos-category-card__image {
  aspect-ratio: 1;
  background: var(--chekkos-bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  padding:0;
}

.chekkos-category-card__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.chekkos-category-card__body {
  padding: var(--chekkos-space-4);
}

.chekkos-category-card__title {
  margin: 0 0 var(--chekkos-space-2);
  font-size: 2rem;
  font-weight: 700;
  color: var(--chekkos-text);
  line-height: 1.3;
}

.chekkos-category-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--chekkos-primary);
}

/* --- Home modules (OpenCart widgets) --- */
.chekkos-home-modules {
  background: var(--chekkos-bg-muted);
}

.chekkos-home-modules__inner {
  display: block;
}

.chekkos-home-modules__content {
  min-width: 0;
}

.chekkos-home-modules .tt_product_module .module-title h2,
.chekkos-home-modules .featured-categories-slider h2 {
  font-family: var(--chekkos-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--chekkos-text);
  margin-bottom: var(--chekkos-space-5);
}

.chekkos-home-modules .banner7 {
  border-radius: var(--chekkos-radius-lg);
  overflow: hidden;
  margin-bottom: var(--chekkos-space-6);
  box-shadow: var(--chekkos-shadow-md);
}

.chekkos-home-modules .product-thumb {
  background: #fff;
}

/* --- CTA band --- */
.chekkos-cta-band {
  padding: clamp(36px, 5vw, 56px) 0;
  background: linear-gradient(90deg, #1f4c7a, #2a6cb0);
  color: #fff;
}

.chekkos-cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--chekkos-space-6);
  flex-wrap: wrap;
}

.chekkos-cta-band__title {
  margin: 0 0 var(--chekkos-space-2);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #fff;
}

.chekkos-cta-band__subtitle {
  margin: 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
}

.chekkos-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--chekkos-space-3);
}

/* --- Blog preview --- */
.chekkos-blog-preview {
background: var(--chekkos-bg-muted);
}

.chekkos-blog-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--chekkos-space-5);
}

.chekkos-blog-card {
  background: var(--chekkos-bg-elevated);
  border: 1px solid var(--chekkos-border);
  border-radius: var(--chekkos-radius-lg);
  overflow: hidden;
  transition: box-shadow var(--chekkos-transition);
}

.chekkos-blog-card:hover {
  box-shadow: var(--chekkos-shadow-md);
}

.chekkos-blog-card__image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--chekkos-bg-muted);
}

.chekkos-blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.chekkos-blog-card:hover .chekkos-blog-card__image img {
  transform: scale(1.03);
}

.chekkos-blog-card__body {
  padding: var(--chekkos-space-5);
}

.chekkos-blog-card__title {
  margin: 0 0 var(--chekkos-space-3);
  font-size: 1.05rem;
  line-height: 1.35;
}

.chekkos-blog-card__title a {
  color: var(--chekkos-text);
  text-decoration: none;
}

.chekkos-blog-card__title a:hover {
  color: var(--chekkos-primary);
}

.chekkos-blog-card__excerpt {
  margin: 0 0 var(--chekkos-space-3);
  font-size: 14px;
  color: var(--chekkos-text-muted);
  line-height: 1.55;
}

.chekkos-blog-card__more {
  font-size: 14px;
  font-weight: 600;
  color: var(--chekkos-primary);
  text-decoration: none;
}

.chekkos-blog-preview__footer {
  margin-top: var(--chekkos-space-6);
  text-align: center;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .chekkos-hero__grid {
    grid-template-columns: 1fr;
  }

  .chekkos-hero__panel {
    justify-content: flex-start;
  }

  .chekkos-trust__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .chekkos-categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chekkos-blog-preview__grid {
    grid-template-columns: 1fr;
  }
  .chekkos-hero__title{
    margin: 30px 0px;
  }
  .chekkos-hero__card{
    width: 100%;
    text-align: center;
  }
  .chekkos-hero__card-label{
    opacity: 1;
  }
}

@media (max-width: 575px) {
  .chekkos-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .chekkos-hero__actions .chekkos-btn {
    width: 100%;
  }

  .chekkos-cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .chekkos-cta-band__actions {
    width: 100%;
    flex-direction: column;
  }

  .chekkos-cta-band__actions .chekkos-btn {
    width: 100%;
  }

  .chekkos-categories__grid {
    grid-template-columns: 1fr;
  }

  .chekkos-blog-card{
        border-radius: var(--chekkos-radius-sm);
  }
  .chekkos-cta-band__title{
    font-size: 24px;
        letter-spacing: 0;
        line-height: 34px;
        -webkit-text-stroke-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chekkos-category-card:hover,
  .chekkos-blog-card:hover .chekkos-blog-card__image img {
    transform: none;
  }
}