/* Milith Pharma — site stylesheet */
:root {
  --green-dark: #14331f;
  --green: #1f6b2f;
  --green-brand: #3f7d1f;
  --lime: #8dc63f;
  --lime-deep: #6fa82e;
  --cream: #f7f6ef;
  --ink: #1c231d;
  --ink-soft: #4b544c;
  --line: #e2e6dc;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(20,51,31,0.10);
  --radius: 14px;
  --maxw: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
h1, h2, h3, h4 { font-family: "Poppins", "Segoe UI", Arial, sans-serif; margin: 0 0 .5em; line-height: 1.18; font-weight: 600; color: var(--green-dark); letter-spacing: -0.01em; }
h1 { font-weight: 700; letter-spacing: -0.02em; }
h2 { font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(143,198,63,.14);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.bg-cream { background: var(--cream); }
.bg-dark { background: var(--green-dark); color: #dfe8de; }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }
.bg-dark p { color: #b9c7b6; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--lime); color: var(--green-dark); box-shadow: 0 8px 20px rgba(141,198,63,.35); }
.btn-primary:hover { background: var(--lime-deep); }
.btn-outline { border-color: rgba(255,255,255,.55); color: inherit; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-outline-dark { border-color: var(--green); color: var(--green-dark); }
.btn-outline-dark:hover { background: var(--green-dark); color: #fff; border-color: var(--green-dark); }
.btn-block { width: 100%; justify-content: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(20,51,31,.03), 0 8px 24px rgba(20,51,31,.05);
}
.notice-bar {
  background: var(--green-dark);
  color: #cfe0cc;
  font-size: .78rem;
  padding: 7px 0;
  letter-spacing: .01em;
}
.notice-bar .wrap { text-align: center; }
.notice-bar strong { color: var(--lime); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 48px; width: auto; }
.brand-text { font-weight: 700; font-size: 1.05rem; color: var(--green-dark); letter-spacing: .02em; }
.brand-text span { display: block; font-weight: 400; font-size: .68rem; color: var(--ink-soft); letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .93rem;
  color: var(--ink);
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover, .nav-links a.active { background: var(--green-dark); color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  min-height: 720px;
  max-height: 92vh;
  display: flex;
  align-items: flex-start;
  color: #fff;
  overflow: hidden;
  padding-top: 64px;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 55%; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,35,20,.32) 0%, rgba(15,35,20,.42) 55%, rgba(15,35,20,.68) 100%); }
.hero-content { position: relative; z-index: 2; text-align: left; }
.hero-content .eyebrow { background: rgba(141,198,63,.25); color: var(--lime); }
.hero-content h1 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.4rem); margin-bottom: 20px; }
.hero-content p { color: #e7efe4; font-size: 1.08rem; max-width: 720px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats { position: relative; z-index: 2; display: flex; gap: 36px; margin-top: 56px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 1.7rem; color: var(--lime); }
.hero-stats div span { font-size: .82rem; color: #cfe0cc; }

.page-hero {
  position: relative;
  padding: 130px 0 60px;
  color: #fff;
  background: linear-gradient(120deg, var(--green-dark), var(--green) 130%);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(141,198,63,.35), transparent 55%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 10px; }
.breadcrumb { font-size: .85rem; color: #c6d8c2; margin-bottom: 16px; }
.breadcrumb a { color: #cfe0cc; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero p { color: #d7e5d3; max-width: 620px; }

/* Cards / grids */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(20,51,31,.14); }
.icon-badge {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(141,198,63,.16);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { font-size: .92rem; margin-bottom: 0; }

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: -64px;
  position: relative;
  z-index: 5;
}
.stat-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 20px;
  text-align: center;
  border: 1px solid var(--line);
}
.stat-box strong { display: block; font-size: 1.9rem; color: var(--green-dark); }
.stat-box span { font-size: .82rem; color: var(--ink-soft); }

/* Product cards */
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(20,51,31,.14); }
.product-media {
  background: linear-gradient(160deg, #fafbf7 0%, #f1f4ea 100%);
  padding: 22px;
  display: flex; align-items: center; justify-content: center;
  height: 190px;
  border-bottom: 1px solid var(--line);
}
.product-media img { filter: drop-shadow(0 8px 14px rgba(20,51,31,.10)); }
.product-media img { max-height: 100%; object-fit: contain; }
.product-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); background: rgba(63,125,31,.1); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; align-self: flex-start; }
.product-body h3 { font-size: 1.02rem; margin-bottom: 6px; }
.product-body p { font-size: .87rem; flex: 1; }
.product-body .btn { margin-top: 10px; align-self: flex-start; padding: 9px 18px; font-size: .82rem; }

.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .15s ease;
}
.filter-btn:hover { border-color: var(--green); color: var(--green-dark); }
.filter-btn.active { background: var(--green-dark); color: #fff; border-color: var(--green-dark); }

/* Timeline */
.timeline { position: relative; margin-top: 20px; padding-left: 28px; border-left: 3px solid rgba(141,198,63,.4); }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -35.5px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--lime); border: 3px solid var(--green-dark);
}
.timeline-item strong { color: var(--green-dark); display: block; margin-bottom: 4px; }

/* Team */
.team-card { text-align: center; }
.team-avatar {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--green-dark); color: var(--lime);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.3rem;
  margin: 0 auto 16px;
}
.team-card h3 { margin-bottom: 2px; font-size: 1.02rem; }
.team-role { color: var(--green); font-size: .82rem; font-weight: 600; margin-bottom: 10px; }

/* Split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.check-list li { display: flex; gap: 10px; margin-bottom: 12px; font-size: .95rem; color: var(--ink-soft); align-items: flex-start; }
.check-list li::before { content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--green-dark), var(--green));
  color: #fff;
  border-radius: 24px;
  padding: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #d7e5d3; margin-bottom: 0; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .84rem; font-weight: 600; color: var(--green-dark); }
.field input, .field select, .field textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: .93rem;
  background: var(--cream);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--lime); background: #fff; }
.field-full { grid-column: 1 / -1; }
.form-note { font-size: .8rem; color: var(--ink-soft); margin-top: 10px; }
.form-success {
  display: none;
  background: rgba(141,198,63,.14);
  border: 1px solid var(--lime);
  color: var(--green-dark);
  padding: 14px 18px;
  border-radius: 10px;
  font-size: .9rem;
  margin-bottom: 18px;
  font-weight: 600;
}
.form-success.show { display: block; }

/* Contact info cards */
.info-card { display: flex; gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.info-card .icon-badge { margin-bottom: 0; flex-shrink: 0; }
.info-card h3 { font-size: .98rem; margin-bottom: 4px; }
.info-card p { font-size: .88rem; margin-bottom: 2px; }

/* Careers */
.job-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.job-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.job-meta span { font-size: .8rem; color: var(--ink-soft); background: var(--cream); padding: 4px 12px; border-radius: 999px; }

/* Footer */
.site-footer { background: var(--green-dark); color: #bccab8; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { height: 44px; margin-bottom: 14px; background: #fff; border-radius: 10px; padding: 6px; }
.footer-col h4 { color: #fff; font-size: .92rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; font-size: .88rem; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: .8rem; flex-wrap: wrap; gap: 12px; }
.made-by { display: inline-flex; align-items: center; gap: 5px; }
.made-by .heart-icon { color: #e8556b; }
.made-by a { color: var(--lime); font-weight: 600; }
.made-by a:hover { text-decoration: underline; }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.social-row a:hover { background: var(--lime); color: var(--green-dark); }
.social-row a svg { width: 16px; height: 16px; }
.fab svg { width: 24px; height: 24px; }
.icon-badge svg { width: 24px; height: 24px; }
.info-card .icon-badge svg { width: 22px; height: 22px; }
.footer-disclaimer { font-size: .76rem; color: #8fa08a; margin-top: 8px; line-height: 1.6; }

/* Floating actions */
.floating-actions { position: fixed; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 12px; z-index: 200; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0,0,0,.22); font-size: 1.3rem; color: #fff; }
.fab-whatsapp { background: #25D366; }
.fab-call { background: var(--green-dark); }

/* Mobile */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-outline-dark { display: none; }
  .nav-toggle { display: block; background: none; border: none; font-size: 1.4rem; color: var(--green-dark); cursor: pointer; }
  .nav-links.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 24px; border-bottom: 1px solid var(--line); }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
  .cta-band { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .modal-box { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .modal-visual { min-height: 160px; }
}

/* Request Details modal */
body.modal-open { overflow: hidden; }
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15,25,17,.55);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  position: relative;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  max-width: 880px;
  width: 100%;
  max-height: 88vh;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  box-shadow: 0 30px 70px rgba(10,20,12,.35);
  transform: translateY(16px) scale(.98);
  transition: transform .2s ease;
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: none;
  font-size: 1.4rem; line-height: 1; color: var(--green-dark);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: #fff; }
.modal-visual {
  position: relative;
  background-size: cover;
  background-position: center 60%;
  display: flex; align-items: flex-end;
  min-height: 220px;
}
.modal-visual-scrim { position: absolute; inset: 0; background: linear-gradient(200deg, rgba(15,35,20,.35), rgba(15,35,20,.82)); }
.modal-visual-content { position: relative; z-index: 1; padding: 28px 26px; color: #fff; }
.modal-logo { height: 40px; margin-bottom: 14px; background: #fff; border-radius: 8px; padding: 5px; }
.modal-visual-content h3 { color: #fff; font-size: 1.15rem; margin-bottom: 10px; }
.modal-visual-content p { color: #dce9d9; font-size: .85rem; margin-bottom: 0; }
.modal-form-side { padding: 32px 30px; overflow-y: auto; }
.modal-form-side h3 { font-size: 1.25rem; margin-bottom: 6px; }
.modal-product-line { font-size: .88rem; margin-bottom: 18px; }
.modal-product-line strong { color: var(--green-dark); }
.modal-form-side .field { margin-bottom: 14px; }
.modal-success {
  display: none;
  background: rgba(141,198,63,.14);
  border: 1px solid var(--lime);
  color: var(--green-dark);
  padding: 16px 18px;
  border-radius: 10px;
  font-size: .92rem;
  font-weight: 600;
  text-align: center;
}
.modal-success.show { display: block; }
