/* === Variables === */
:root {
  --green: #74A12C;
  --deep: #3F6212;
  --leaf: #C8DD9C;
  --mist: #EEF5E1;
  --ink: #23300F;
  --muted: #56643F;
  --white: #FFFFFF;
}

/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Karla', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Bitter', serif;
  font-weight: 700;
  line-height: 1.3;
}

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

a:hover {
  color: var(--deep);
}

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

/* === Container === */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Header === */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--leaf);
  padding: 0 24px;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--deep);
}

.header-brand img {
  width: 44px;
  height: 44px;
}

.header-brand span {
  font-family: 'Bitter', serif;
  font-weight: 800;
  font-size: 1.25rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle svg {
  width: 28px;
  height: 28px;
  stroke: var(--deep);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 8px 16px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.nav a:hover,
.nav a:focus-visible {
  background: var(--mist);
  color: var(--deep);
}

.nav a.btn-nav {
  background: var(--green);
  color: var(--white);
  font-weight: 700;
}

.nav a.btn-nav:hover,
.nav a.btn-nav:focus-visible {
  background: var(--deep);
  color: var(--white);
}

/* === Hero === */
.hero {
  padding: 80px 24px;
  background: var(--mist);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 30px,
    rgba(116, 161, 44, 0.06) 30px,
    rgba(116, 161, 44, 0.06) 32px
  );
  pointer-events: none;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 64px;
  position: relative;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--deep);
  margin-bottom: 16px;
}

.hero-text p {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: 'Karla', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  transition: background 0.2s, transform 0.1s;
  cursor: pointer;
  border: none;
}

.btn:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--deep);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--deep);
  border: 2px solid var(--green);
}

.btn-secondary:hover {
  background: var(--mist);
  color: var(--deep);
}

.hero-seal {
  flex-shrink: 0;
}

.hero-seal img {
  width: 260px;
  height: 260px;
}

/* === Sections === */
section {
  padding: 80px 24px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--deep);
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 56px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* === Products === */
.products-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.product-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--leaf);
  transition: box-shadow 0.2s, transform 0.2s;
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(63, 98, 18, 0.1);
  transform: translateY(-2px);
}

.product-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-card h3 {
  font-size: 1.15rem;
  color: var(--deep);
  margin-bottom: 8px;
}

.product-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* === Kismet === */
.kismet {
  background: var(--deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.kismet::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 30px,
    rgba(255, 255, 255, 0.03) 30px,
    rgba(255, 255, 255, 0.03) 32px
  );
  pointer-events: none;
}

.kismet-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.kismet h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.kismet-brand {
  font-size: 3rem;
  font-weight: 800;
  font-family: 'Bitter', serif;
  color: var(--leaf);
  margin-bottom: 24px;
  letter-spacing: 2px;
}

.kismet p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
}

/* === About === */
.about-content {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--muted);
}

.strengths {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.strength-card {
  padding: 32px;
  border-radius: 16px;
  background: var(--mist);
  text-align: center;
}

.strength-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
}

.strength-icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.strength-card h3 {
  font-size: 1.1rem;
  color: var(--deep);
  margin-bottom: 8px;
}

.strength-card p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* === Contact === */
.contact {
  background: var(--mist);
}

.contact-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.3rem;
  color: var(--deep);
  margin-bottom: 20px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.contact-detail svg {
  width: 22px;
  height: 22px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail a,
.contact-detail span {
  color: var(--ink);
  font-size: 0.95rem;
}

.contact-detail a:hover {
  color: var(--green);
}

.contact-cta {
  margin-top: 32px;
}

.contact-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--leaf);
  min-height: 300px;
}

.contact-map iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/* === Footer === */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding: 32px 24px;
  text-align: center;
  font-size: 0.9rem;
}

.footer a {
  color: var(--leaf);
}

.footer a:hover {
  color: var(--white);
}

.footer-line {
  margin-bottom: 4px;
}

/* === Mobile === */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--leaf);
    gap: 4px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
  }

  .header-inner {
    position: relative;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-seal img {
    width: 180px;
    height: 180px;
  }

  .hero {
    padding: 48px 24px;
  }

  section {
    padding: 56px 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .kismet-brand {
    font-size: 2.2rem;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .product-detail-card {
    flex-direction: column;
    gap: 16px;
  }

  .kismet-about-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .packaging-grid {
    gap: 16px;
  }

  .packaging-item {
    width: 80px;
  }

  .packaging-size {
    width: 64px;
    height: 64px;
    font-size: 1.2rem;
  }
}

/* === Nav Active === */
.nav-active {
  color: var(--deep) !important;
  background: var(--mist);
  font-weight: 700 !important;
}

/* === Page Hero === */
.page-hero {
  padding: 80px 24px 64px;
  background: var(--mist);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 30px,
    rgba(116, 161, 44, 0.06) 30px,
    rgba(116, 161, 44, 0.06) 32px
  );
  pointer-events: none;
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--deep);
  margin-bottom: 16px;
  position: relative;
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* === Product Detail Cards === */
.products-detail {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 24px;
}

.product-detail-card {
  display: flex;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--leaf);
  scroll-margin-top: 100px;
}

.product-detail-card:last-child {
  border-bottom: none;
}

.product-detail-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mist);
  border-radius: 16px;
}

.product-detail-icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-detail-content h2 {
  font-size: 1.5rem;
  color: var(--deep);
  margin-bottom: 12px;
}

.product-detail-content p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.product-specs {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
}

.product-specs li {
  font-size: 0.95rem;
  color: var(--ink);
  padding-left: 20px;
  position: relative;
}

.product-specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

/* === Product Card Links (homepage) === */
.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.product-card-link:hover {
  color: inherit;
}

/* === Section More === */
.section-more {
  text-align: center;
  margin-top: 40px;
}

/* === Kismet Button === */
.btn-kismet {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: 'Karla', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  background: var(--leaf);
  color: var(--deep);
  margin-top: 24px;
  transition: background 0.2s, transform 0.1s;
}

.btn-kismet:hover {
  background: var(--white);
  color: var(--deep);
}

/* === Kismet Hero (dedicated page) === */
.kismet-hero {
  padding: 80px 24px 64px;
  background: var(--deep);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.kismet-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 30px,
    rgba(255, 255, 255, 0.03) 30px,
    rgba(255, 255, 255, 0.03) 32px
  );
  pointer-events: none;
}

.kismet-hero-inner {
  position: relative;
}

.kismet-hero h2 {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.kismet-hero .kismet-brand {
  margin-bottom: 16px;
}

.kismet-hero-tagline {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin: 0 auto;
}

/* === Kismet About === */
.kismet-about {
  padding: 80px 24px;
}

.kismet-about-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.kismet-about-block h2 {
  font-size: 1.4rem;
  color: var(--deep);
  margin-bottom: 12px;
}

.kismet-about-block p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
}

/* === Kismet Types Grid === */
.kismet-products {
  padding: 80px 24px;
  background: var(--mist);
}

.kismet-types-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.kismet-type-card {
  background: var(--white);
  padding: 28px 24px;
  border-radius: 16px;
  border: 1px solid var(--leaf);
}

.kismet-type-card h3 {
  font-size: 1.1rem;
  color: var(--deep);
  margin-bottom: 8px;
}

.kismet-type-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* === Kismet Packaging === */
.kismet-packaging {
  padding: 80px 24px;
}

.kismet-packaging-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.kismet-packaging-inner h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--deep);
  margin-bottom: 12px;
}

.kismet-packaging-inner > p {
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.packaging-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.packaging-item {
  width: 100px;
  text-align: center;
}

.packaging-size {
  font-family: 'Bitter', serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--deep);
  background: var(--mist);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
}

.packaging-label {
  font-size: 0.85rem;
  color: var(--muted);
}

/* === Kismet Uses === */
.kismet-uses {
  padding: 80px 24px;
  background: var(--mist);
}

.uses-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.use-card {
  background: var(--white);
  padding: 28px 24px;
  border-radius: 16px;
  border: 1px solid var(--leaf);
}

.use-card h3 {
  font-size: 1.1rem;
  color: var(--deep);
  margin-bottom: 8px;
}

.use-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* === Page CTA === */
.page-cta {
  padding: 64px 24px;
  text-align: center;
  background: var(--white);
}

.page-cta h2 {
  font-size: 1.8rem;
  color: var(--deep);
  margin-bottom: 12px;
}

.page-cta p {
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* === Focus styles === */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

/* === Accent line === */
.accent-line {
  width: 60px;
  height: 4px;
  background: var(--green);
  border-radius: 2px;
  margin: 0 auto 48px;
}