:root {
  --berry: #16a39d;
  --berry-dark: #0d6c68;
  --blush: #79c4c1;
  --blush-soft: #e2f1f0;
  --cream: #f7fbfb;
  --ink: #1d2b2b;
  --muted: #566565;
  --line: #d7e8e7;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--sans);
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--berry-dark);
}

a {
  color: var(--berry);
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 250, 248, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo-text {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 1.5px;
  color: var(--berry-dark);
  line-height: 1;
}

/* Majestic Gahana logo on the Brands page */
.brand-logo {
  max-width: 320px;
  width: 100%;
  height: auto;
  margin-bottom: 1.25rem;
}

/* Bonica logo in the footer */
.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 0.75rem;
  /* logo is teal; sit it on a white chip so it stays visible on the dark footer */
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--berry-dark);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--berry-dark);
  border-color: var(--blush);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--blush-soft), var(--cream));
  text-align: center;
  padding: 6rem 1.25rem 5rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  max-width: 18ch;
  margin: 0 auto 1.25rem;
}

.hero p {
  max-width: 60ch;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  background: var(--berry);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover {
  background: var(--berry-dark);
  transform: translateY(-1px);
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: var(--blush-soft);
  text-align: center;
  padding: 3.5rem 1.25rem 3rem;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
}

.page-header p {
  color: var(--muted);
  max-width: 60ch;
  margin: 0.75rem auto 0;
}

/* ---------- Sections ---------- */
.section {
  max-width: 920px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}

.section h2 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

.section p {
  margin-bottom: 1rem;
  color: #3d3338;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 4px 18px rgba(125, 46, 70, 0.05);
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--muted);
  margin-bottom: 1rem;
}

/* Stat grid for the Facts page */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.stat {
  background: var(--blush-soft);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
}

.stat .num {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--berry);
  display: block;
}

.stat .label {
  color: var(--muted);
  font-size: 0.95rem;
}

.quote {
  border-left: 4px solid var(--blush);
  background: #fff;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  font-style: italic;
  border-radius: 0 12px 12px 0;
}

.quote cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-weight: 600;
  color: var(--berry-dark);
}

/* Contact details */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-grid h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.contact-grid a {
  text-decoration: none;
}

/* ---------- Images & illustrations ---------- */
.illus {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

.illus--portrait {
  max-width: 240px;
  margin: 0 auto;
  border-radius: 0;
}

/* founder photo */
.founder-photo {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--blush);
  box-shadow: 0 6px 22px rgba(13, 108, 104, 0.18);
  display: block;
  margin: 0 auto;
}

.founder-name {
  text-align: center;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--berry-dark);
  font-size: 1.3rem;
  margin: 1rem 0 0;
}

.founder-title {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0.15rem 0 0;
}

/* two-column hero: text + illustration */
.hero-grid {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  max-width: 1080px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 320px;
  text-align: left;
}

.hero-text h1 {
  max-width: none;
  margin: 0 0 1.25rem;
}

.hero-text p {
  max-width: 60ch;
  margin: 0 0 2rem;
}

.hero-art {
  flex: 1 1 300px;
}

.hero-art img {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(13, 108, 104, 0.18);
}

/* image + text rows on inner pages */
.media {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.media .media-text {
  flex: 1 1 320px;
}

.media .media-art {
  flex: 1 1 260px;
}

.media--reverse {
  flex-direction: row-reverse;
}

/* full-width illustration banner */
.banner-art {
  max-width: 520px;
  margin: 0 auto 2rem;
}

/* product gallery: equal tiles, cropped to fit */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  box-shadow: 0 4px 18px rgba(13, 108, 104, 0.12);
}

/* award cards: centered content */
.award-card {
  text-align: center;
}

/* award trophy badge */
.award-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fdf3d6;
  margin-bottom: 0.85rem;
}

.award-icon {
  width: 30px;
  height: 30px;
  display: block;
}

/* ---------- Contact page ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 18px rgba(13, 108, 104, 0.06);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--blush-soft);
  margin-bottom: 1rem;
}

.icon-badge svg {
  width: 28px;
  height: 28px;
  fill: var(--berry-dark);
}

.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

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

.info-card a {
  color: var(--berry);
  text-decoration: none;
  word-break: break-word;
}

.info-card a:hover {
  text-decoration: underline;
}

.btn-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn--outline {
  background: transparent;
  color: var(--berry);
  border: 2px solid var(--berry);
}

.btn--outline:hover {
  background: var(--berry);
  color: #fff;
}

.map-embed {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(13, 108, 104, 0.14);
  line-height: 0;
}

.map-embed iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--berry-dark);
  color: #f3e1e5;
  padding: 3rem 1.25rem 2rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.site-footer h4 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.site-footer p,
.site-footer a {
  color: #e7c9d1;
  font-size: 0.95rem;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1080px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  color: #d8a0ae;
  text-align: center;
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--line);
  }
  .hero-text {
    text-align: center;
  }
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-art {
    order: -1;
  }
}
