/* styles.css */

:root {
  --bg: #f7f3e9;
  --ink: #1a221f;
  --paper: #ffffff;
  --paper2: #f0ece3;

  --muted: #6c7a74;
  --muted2: #9aa8a2;

  --brand: #2f8f6a;
  --brand2: #1f6f54;
  --gold: #c6a96a;

  --line: rgba(20, 35, 28, 0.12);
  --r: 18px;
  --max: 1120px;
  --premium-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
  --metallic: linear-gradient(135deg, #f0ece3, #e8dcc0);
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  background: var(--bg);
  color: var(--ink);
  font-feature-settings: 'kern' 1, 'liga' 1;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Topbar header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 99;
  background: linear-gradient(135deg, var(--brand), #5bc49a);
  padding: 1rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 20px;
  color: black; /* adjust color as needed */
  font-family: 'Playfair Display', serif;
  min-width: 280px;
}

.brand__logo {
  width: 120px;   /* Increase from 56px */
  height: auto;   /* Keep aspect ratio */
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
  border-radius: 4px; /* soften corner if needed */
}
.brand__name {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}

.brand__tagline {
  font-size: 12px;
  opacity: 0.9;
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 16px;
}

.nav a {
  color: white;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 12px;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.pill {
  background: rgba(255, 255, 255, 0.3);
  font-weight: 700;
}

.cta {
  background: #f6e27f;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 700;
  color: var(--brand2);
  box-shadow: 0 8px 20px rgba(255 242 110 / 0.75);
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta:hover,
.cta:focus {
  background: #ffd33d;
  color: #184722;
  outline: none;
}

/* Hero Section */
.hero {
  position: relative;
  height: 480px;
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
  font-family: 'Playfair Display', serif;
  background-size: cover;
  background-position: center center;
  margin-top: 20px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(47, 143, 106, 0.6);
  mix-blend-mode: multiply;
  z-index: 1;
}

.hero__content {
  position: relative;
  max-width: 720px;
  padding: 0 20px;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  margin-bottom: 0.5em;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5em;
  max-width: 600px;
  line-height: 1.4;
}

.hero .btn.primary {
  padding: 14px 28px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 30px;
  color: #0b2a1f;
  background: linear-gradient(135deg, var(--brand), #5bc49a);
  border: none;
  box-shadow: 0 16px 40px rgba(47, 143, 106, 0.2);
  transition: all 0.3s ease;
}

.hero .btn.primary:hover {
  filter: saturate(1.1);
  transform: translateY(-2px);
}

/* Trust strip */
.trust-strip {
  padding: 16px 0;
  background: var(--paper2);
  font-weight: 600;
  color: var(--brand2);
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.trust-grid {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Product Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 32px;
}

.card {
  background: var(--paper);
  border-radius: var(--r);
  box-shadow: var(--premium-shadow);
  flex: 1 1 320px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover, .card:focus-within {
  transform: translateY(-10px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}

.card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--line);
}

.card__body {
  padding: 16px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card h3 {
  margin-top: 0;
  color: var(--brand2);
  font-weight: 700;
  font-size: 1.4rem;
}

.card p {
  flex-grow: 1;
  margin-top: 8px;
  color: var(--muted2);
  font-size: 0.9rem;
  line-height: 1.4;
}

.chips {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  background: var(--gold);
  color: #1a221f;
  padding: 5px 10px;
  border-radius: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  user-select: none;
}

/* Compliance Section */
.section.dark {
  background-color: var(--brand2);
  color: var(--paper);
  padding: 40px 0;
  border-radius: var(--r);
  margin: 48px 0 32px 0;
}

.section .trust-grid > div {
  font-size: 1.1rem;
  user-select: none;
}

/* Contact Section */
.section__head h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--brand2);
}

.section__head p {
  margin-top: 0;
  font-size: 1rem;
  color: var(--muted2);
  max-width: 600px;
}

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

.inquiry-form {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  flex: 1 1 100%;
  max-width: 100%;
  resize: vertical;
}

.inquiry-form select {
  flex: 1 1 60%;
  min-width: 180px;
}

.inquiry-form button {
  max-width: 220px;
  padding: 12px 20px;
  border-radius: 30px;
  border: none;
  background: var(--brand);
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
}

.inquiry-form button:hover,
.inquiry-form button:focus {
  background: #1f6f54;
  outline: none;
}

.contact-info {
  flex: 1 1 280px;
  font-size: 1rem;
  color: var(--ink);
}

.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--brand2);
}

.contact-info p {
  margin-bottom: 1rem;
  line-height: 1.4;
}

.contact-link {
  color: var(--brand);
  text-decoration: underline;
}

.contact-icons {
  margin-top: 20px;
  font-size: 1.5rem;
  display: flex;
  gap: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .topbar__inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    order: 3;
    margin-top: 12px;
  }

  .cta {
    order: 2;
    margin-top: 12px;
    width: 100%;
    text-align: center;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .contact-grid {
    flex-direction: column;
  }
}