/* Pixel Look theme — refined to echo the reference layout */
:root {
  color-scheme: light;
  font-family: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pl-primary: #0f3c25;
  --pl-primary-dark: #072716;
  --pl-secondary: #198754;
  --pl-accent: #30c077;
  --pl-muted: #586270;
  --pl-bg: #f2f5f8;
  --pl-surface: #ffffff;
  --pl-border: rgba(23, 73, 47, 0.12);
  --pl-shadow: 0 20px 42px rgba(18, 60, 38, 0.14);
  --pl-radius-lg: 20px;
  --pl-radius: 14px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--pl-bg);
  color: var(--pl-primary);
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--pl-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--pl-accent);
  text-decoration: underline;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #0a3a1f;
  box-shadow: 0 18px 34px rgba(9, 43, 24, 0.5);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 60px;
  height: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  margin-left: auto;
}

.site-nav {
  background: linear-gradient(180deg, #0f4627 0%, #09341d 100%);
  display: block;
}

.site-nav__row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 18px;
}

.site-nav__row--primary {
  justify-content: space-between;
}

.site-nav__row--sub {
  justify-content: right;
  gap: 36px;
  font-size: 0.60rem;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-nav__menu {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.site-nav__menu a {
  font-size: 0.75rem;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.92);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--pl-accent);
  transition: width 0.22s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  width: 100%;
}

main {
  flex: 1 0 auto;
}

section {
  padding: clamp(30px, 5vw, 30px) 0;
}

.hero {
  padding: clamp(40px, 5vw, 60px) 0 clamp(30px, 5vw, 30px);
}

.hero__inner {
  background: var(--pl-surface);
  border-radius: var(--pl-radius-lg);
  border: 1px solid rgba(23, 73, 47, 0.08);
  box-shadow: var(--pl-shadow);
  padding: clamp(40px, 5vw, 40px);
  display: grid;
  gap: 24px;
  max-width: 100%;
  margin: 0 auto;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  color: var(--pl-secondary);
  font-weight: 600;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  line-height: 1.05;
}

.hero h2 {
  margin: 0;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 600;
  color: var(--pl-muted);
}

.hero p {
  margin: 0;
  font-size: 1.08rem;
  color: #40505c;
}

.section-card {
  background: var(--pl-surface);
  border-radius: var(--pl-radius-lg);
  border: 1px solid var(--pl-border);
  box-shadow: var(--pl-shadow);
  padding: clamp(40px, 6vw, 68px);
  display: grid;
  gap: 30px;
}

.section-card h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.offer-card {
  --card-accent: var(--pl-accent);
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 252, 245, 0.92) 100%);
  border-radius: 28px;
  border: 1px solid rgba(23, 73, 47, 0.08);
  box-shadow: 0 22px 46px rgba(18, 60, 38, 0.14);
  padding: 36px 34px 32px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.offer-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 4px;
  border-radius: 999px;
  background: var(--card-accent);
}

.offer-card:hover,
.offer-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(18, 60, 38, 0.2);
  border-color: rgba(23, 73, 47, 0.18);
}

.offers-grid article:nth-child(2) {
  --card-accent: #f5b63b;
}

.offers-grid article:nth-child(3) {
  --card-accent: #f26852;
}

.offers-grid article:nth-child(4) {
  --card-accent: #3a79f6;
}

.offers-grid article:nth-child(5) {
  --card-accent: #8e5bf6;
}

.offer-card__header {
  display: flex;
      justify-content: center;
      align-items: center;
      gap: 24px;
      flex-direction: column;
}

.offer-card__brand {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

.offer-card__brand img {
  width: 88px;
  height: auto;
}

.offer-card__brand strong {
  display: block;
  font-size: 1.26rem;
  color: var(--pl-primary);
  letter-spacing: -0.01em;
}

.offer-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(25, 135, 84, 0.12);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pl-secondary);
}

.offer-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(25, 135, 84, 0.12);
  font-weight: 600;
  color: var(--pl-secondary);
  font-size: 0.9rem;
}

.offer-card__badge img {
  width: 28px;
  height: 28px;
}

.offer-card ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--pl-muted);
  line-height: 1.6;
  list-style: none;
}

.offer-card ul li {
  position: relative;
  padding-left: 26px;
}

.offer-card ul li::before {
  content: "";
  position: absolute;
  inset: 8px auto auto 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--card-accent);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.offer-card__cta {
  display: flex;
  justify-content: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  color: #ffffff;
  font-weight: 600;
  background: linear-gradient(135deg, var(--pl-secondary) 0%, var(--pl-primary-dark) 95%);
  box-shadow: 0 20px 40px rgba(18, 60, 38, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 26px 48px rgba(18, 60, 38, 0.38);
  text-decoration: none;
}

.reviews-grid {
  display: grid;
  gap: 24px;
}

.review-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(23, 73, 47, 0.12);
  box-shadow: 0 20px 42px rgba(18, 60, 38, 0.12);
  padding: 26px;
}

.review-card h3 {
  margin-top: 0;
  font-size: 1.32rem;
}

.feed-layout {
  padding: clamp(50px, 7vw, 84px) 0;
}

.feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.feed-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.feed-refresh {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(25, 135, 84, 0.35);
  color: var(--pl-secondary);
  background: rgba(25, 135, 84, 0.08);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.feed-refresh:hover {
  background: rgba(25, 135, 84, 0.12);
  transform: translateY(-1px);
}

.feed-status {
  font-size: 0.95rem;
  color: var(--pl-muted);
}

.feed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.feed-item {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(23, 73, 47, 0.12);
  box-shadow: 0 24px 48px rgba(18, 60, 38, 0.12);
  padding: 24px 26px;
  display: grid;
  gap: 18px;
}

.feed-item.has-thumb {
  grid-template-columns: 152px 1fr;
  align-items: center;
  gap: 20px;
}

.feed-item__thumb {
  width: 100%;
  height: 100%;
  max-height: 220px;
  border-radius: 14px;
  object-fit: cover;
}

.feed-item.has-thumb .feed-item__thumb {
  height: 140px;
  border-radius: 12px;
}

.feed-item__meta {
  font-size: 0.85rem;
  color: var(--pl-muted);
}

.feed-item__title {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--pl-primary);
}

.feed-item__title a {
  color: inherit;
  text-decoration: none;
}

.feed-item__title a:hover {
  text-decoration: underline;
}

.feed-item__excerpt {
  margin: 0;
  color: var(--pl-muted);
}

.feed-empty {
  background: #ffffff;
  border-radius: 16px;
  border: 1px dashed rgba(23, 73, 47, 0.18);
  padding: 32px;
  text-align: center;
  color: var(--pl-muted);
}

.site-footer {
  background: #082214;
  color: rgba(255, 255, 255, 0.82);
  padding: 76px 0 40px;
  margin-top: auto;
  border-top: 4px solid var(--pl-secondary);
}

.footer-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.footer-menu {
  width: 30%;
  flex-shrink: 0;
}

.footer-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-menu li:last-child {
  border-bottom: none;
}

.footer-menu a {
  display: block;
  padding: 14px 0;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-menu a:hover,
.footer-menu a:focus {
  color: rgba(255, 255, 255, 0.9);
  padding-left: 8px;
  text-decoration: none;
}

.footer-content {
  width: 70%;
  flex: 1;
}

.foot-logo {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  margin-bottom: 32px;
}

.foot-logo a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.foot-logo a:hover,
.foot-logo a:focus-visible {
  transform: translateY(-2px);
  background: rgba(48, 192, 119, 0.12);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.foot-logo img {
  height: 36px;
  width: auto;
  filter: saturate(1.05);
}

.footer__grid {
  display: grid;
  gap: 30px;
}

.footer__grid h3 {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.68);
}

.footer__grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer__meta {
  margin-top: 36px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.page-hero__inner {
  background: var(--pl-surface);
  border-radius: var(--pl-radius-lg);
  border: 1px solid rgba(23, 73, 47, 0.12);
  box-shadow: 0 20px 42px rgba(18, 60, 38, 0.14);
  padding: clamp(38px, 5vw, 68px);
  display: grid;
  gap: 16px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.2vw, 3.1rem);
}

.page-hero h2 {
  margin: 0;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  color: var(--pl-muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(25, 135, 84, 0.12);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pl-secondary);
}

.rich-text {
  background: var(--pl-surface);
  border-radius: var(--pl-radius-lg);
  border: 1px solid rgba(23, 73, 47, 0.1);
  box-shadow: 0 18px 38px rgba(18, 60, 38, 0.12);
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  gap: 18px;
}

.rich-text h2,
.rich-text h3 {
  margin: 16px 0 8px;
  color: var(--pl-primary);
}

.rich-text ul,
.rich-text ol {
  margin: 0;
  padding-left: 24px;
  display: grid;
  gap: 8px;
  color: var(--pl-muted);
}

.media-block {
  display: grid;
  gap: 24px;
}

.media-block img {
  width: 100%;
  border-radius: var(--pl-radius-lg);
  box-shadow: 0 20px 44px rgba(18, 60, 38, 0.18);
}

.form-card {
  background: var(--pl-surface);
  border-radius: var(--pl-radius-lg);
  border: 1px solid rgba(23, 73, 47, 0.1);
  box-shadow: 0 20px 44px rgba(18, 60, 38, 0.14);
  padding: clamp(34px, 5vw, 64px);
  display: grid;
  gap: 24px;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.form-grid label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--pl-primary);
}

.form-grid label.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  border: 1px solid rgba(23, 73, 47, 0.16);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 1rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  font-family: inherit;
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  border-color: var(--pl-secondary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.18);
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--pl-radius-lg);
  border: 1px solid rgba(23, 73, 47, 0.12);
  box-shadow: 0 20px 44px rgba(18, 60, 38, 0.12);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: var(--pl-radius-lg);
  overflow: hidden;
}

thead {
  background: rgba(25, 135, 84, 0.12);
  color: var(--pl-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

th,
td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(23, 73, 47, 0.08);
  color: var(--pl-muted);
}

th {
  font-weight: 700;
  color: var(--pl-primary);
}

.two-column {
  display: grid;
  gap: 28px;
}

.card-muted {
  background: #ffffff;
  border-radius: var(--pl-radius-lg);
  border: 1px solid rgba(23, 73, 47, 0.12);
  box-shadow: 0 18px 38px rgba(18, 60, 38, 0.12);
  padding: 26px;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav__row--primary {
    flex-wrap: wrap;
    gap: 12px;
  }

  .site-nav__menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-left: 0;
    gap: 16px;
    padding-top: 12px;
  }

  .site-nav__menu.is-open {
    display: flex;
  }

  .site-nav__row--sub {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 24px;
  }

  .site-nav__row--sub.is-open {
    display: flex;
  }
}

@media (max-width: 720px) {
  .hero__inner,
  .section-card,
  .offer-card,
  .review-card,
  .form-card,
  .rich-text {
    padding: 24px;
  }

  .offer-card__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .offer-card__brand {
    grid-template-columns: 1fr;
    justify-items: flex-start;
  }

  .feed-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feed-item.has-thumb {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .feed-item__thumb {
    width: 100%;
    height: 180px;
  }

  .media-block img {
    border-radius: 16px;
  }

  .foot-logo {
    flex-wrap: wrap;
  }

  .foot-logo img {
    height: 30px;
  }

  .footer-layout {
    flex-direction: column;
    gap: 32px;
  }

  .footer-menu {
    width: 100%;
  }

  .footer-content {
    width: 100%;
  }
}


