/* =========================================================
   Actava Biopharmaceutics — global stylesheet
   Clean / light professional pharmaceutical theme
   ========================================================= */

:root {
  /* Brand palette */
  --teal:        #0e7c7b;
  --teal-dark:   #0a5d58;
  --teal-darker: #073f3c;
  --green:       #3fae7a;
  --green-soft:  #eaf6ef;
  --navy:        #12263a;
  --ink:         #1d2b36;
  --text:        #41525e;
  --muted:       #6c7e8a;
  --line:        #e4ecec;
  --bg:          #ffffff;
  --bg-soft:     #f4f9f8;
  --bg-mint:     #eef6f4;
  --white:       #ffffff;

  --radius:      14px;
  --radius-sm:   10px;
  --shadow:      0 18px 40px -24px rgba(12, 74, 71, 0.35);
  --shadow-soft: 0 10px 30px -18px rgba(12, 74, 71, 0.30);
  --maxw:        1180px;
  --transition:  0.25s ease;

  --font: "Inter", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; font-weight: 700; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--mint { background: var(--bg-mint); }
.center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.section-head { max-width: 760px; margin: 0 0 52px; }
.center.section-head { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .98rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 12px 24px -12px rgba(14,124,123,.7); }
.btn--primary:hover { background: var(--teal-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--light { background: #fff; color: var(--teal-dark); }
.btn--light:hover { background: #eafffb; color: var(--teal-darker); transform: translateY(-2px); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__logo img { height: 34px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav__links a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 500;
  font-size: .96rem;
}
.nav__links a:hover { background: var(--bg-mint); color: var(--teal-dark); }
.nav__links a.is-active { color: var(--teal); font-weight: 600; }
.nav__cta { margin-left: 12px; }
.nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav__toggle span {
  width: 24px; height: 2px; background: var(--navy); border-radius: 2px;
  transition: var(--transition);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 480px at 85% -10%, var(--bg-mint), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, #f0f8f3, transparent 55%),
    var(--bg);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding-top: 92px;
  padding-bottom: 96px;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .hl { color: var(--teal); }
.hero p { font-size: 1.18rem; color: var(--muted); max-width: 540px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero__stats {
  display: flex;
  gap: 38px;
  margin-top: 46px;
  flex-wrap: wrap;
}
.hero__stat strong {
  display: block;
  font-size: 1.9rem;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero__stat span { font-size: .9rem; color: var(--muted); }

.hero__visual {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(155deg, var(--teal) 0%, var(--teal-dark) 60%, var(--teal-darker) 100%);
  color: #fff;
  padding: 40px;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 380px;
}
.hero__visual::after {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  right: -90px; top: -90px;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%);
  border-radius: 50%;
}
.hero__visual h3 { color: #fff; font-size: 1.2rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.2);
  padding: 7px 14px; border-radius: 50px;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  margin-bottom: 26px;
}
.hero__visual ul { list-style: none; position: relative; z-index: 1; }
.hero__visual li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: .98rem;
}
.hero__visual li:first-child { border-top: 0; }
.hero__visual li .tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,.2); display: grid; place-items: center;
  font-size: .7rem; margin-top: 2px;
}

/* ---------- Logo strip ---------- */
.markets {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 30px 0;
}
.markets__row {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 18px 44px;
}
.markets__row span:first-child { color: var(--muted); font-size: .9rem; font-weight: 500; }
.markets__flag {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; color: var(--navy); font-size: 1rem;
}
.markets__flag em { font-size: 1.4rem; font-style: normal; }

/* =========================================================
   Cards / grids
   ========================================================= */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: #d4e7e4; }
.card__icon {
  width: 52px; height: 52px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--green-soft); color: var(--teal-dark);
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }

/* feature list with checks */
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: "✓";
  flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--green-soft); color: var(--teal-dark);
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
  margin-top: 2px;
}

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__media {
  border-radius: var(--radius);
  background: linear-gradient(155deg, #e9f6f1, #d7ede7);
  min-height: 340px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: grid; place-items: center;
  padding: 40px;
}
.stat-tile {
  background: #fff; border-radius: var(--radius-sm);
  padding: 22px; text-align: center; box-shadow: var(--shadow-soft);
}
.stat-tile strong { display: block; font-size: 1.7rem; color: var(--teal); font-weight: 800; }
.stat-tile span { font-size: .85rem; color: var(--muted); }
.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }

/* =========================================================
   Process / steps
   ========================================================= */
.steps { counter-reset: step; display: grid; gap: 24px; grid-template-columns: repeat(4,1fr); }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step,decimal-leading-zero);
  font-weight: 800; font-size: 1.05rem; color: var(--teal);
  display: inline-block; margin-bottom: 12px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { margin: 0; font-size: .94rem; color: var(--muted); }

/* =========================================================
   Product category pills / table
   ========================================================= */
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.pill {
  background: #fff; border: 1px solid var(--line); border-radius: 50px;
  padding: 10px 20px; font-weight: 600; color: var(--navy); font-size: .92rem;
}

.prod-card { overflow: hidden; padding: 0; }
.prod-card__top {
  padding: 26px 28px;
  background: linear-gradient(150deg, var(--bg-mint), #e3f1ec);
  border-bottom: 1px solid var(--line);
}
.prod-card__top .tag {
  display: inline-block; background: var(--teal); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 50px; margin-bottom: 12px;
}
.prod-card__top h3 { margin: 0; }
.prod-card__body { padding: 24px 28px 28px; }
.prod-card__body ul { list-style: none; display: grid; gap: 9px; }
.prod-card__body li { display: flex; gap: 10px; font-size: .95rem; color: var(--text); }
.prod-card__body li::before { content: "•"; color: var(--green); font-weight: 700; }

/* ---------- Product image gallery ---------- */
.prod-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.prod-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: #d4e7e4; }
.prod-tile__img {
  aspect-ratio: 1 / 1;
  background: linear-gradient(170deg, #ffffff, #f6fbfa);
  display: grid; place-items: center;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
.prod-tile__img img { width: 100%; height: 100%; object-fit: contain; }
.prod-tile__name {
  padding: 15px 12px 18px;
  font-weight: 600; color: var(--navy); font-size: 1rem; line-height: 1.3;
}
.prod-tile__name small {
  display: block; margin-top: 4px;
  font-size: .78rem; font-weight: 600; color: var(--teal); letter-spacing: .01em;
}
.prod-count {
  display: inline-block; margin-left: 10px;
  background: var(--green-soft); color: var(--teal-dark);
  font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 50px;
  vertical-align: middle;
}

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
  background: linear-gradient(150deg, var(--teal) 0%, var(--teal-dark) 70%, var(--teal-darker) 100%);
  color: #fff; border-radius: 22px; padding: 56px;
  text-align: center; position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.cta-band::before {
  content:""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 90% 0%, rgba(255,255,255,.12), transparent 60%);
}
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 600px; margin: 0 auto 26px; position: relative; }
.cta-band .hero__actions { justify-content: center; position: relative; }

/* =========================================================
   Page hero (inner pages)
   ========================================================= */
.page-hero {
  background:
    radial-gradient(900px 360px at 88% -20%, var(--bg-mint), transparent 60%),
    var(--bg-soft);
  padding: 70px 0 64px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { max-width: 680px; color: var(--muted); font-size: 1.15rem; margin: 0; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--teal); }

/* =========================================================
   Values / about
   ========================================================= */
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-item .card__icon { flex: none; margin-bottom: 0; }
.value-item h3 { font-size: 1.1rem; margin-bottom: 4px; }
.value-item p { margin: 0; color: var(--muted); font-size: .96rem; }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; margin-bottom: 20px;
}
.info-row { display: flex; gap: 15px; align-items: flex-start; padding: 12px 0; }
.info-row:not(:last-child) { border-bottom: 1px solid var(--line); }
.info-row .card__icon { flex: none; width: 44px; height: 44px; margin: 0; }
.info-row h4 { margin: 0 0 3px; font-size: 1rem; color: var(--navy); }
.info-row p { margin: 0; color: var(--muted); font-size: .95rem; }
.info-row a { font-weight: 600; }

form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 7px; }
form input, form select, form textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
form input:focus, form select:focus, form textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14,124,123,.12);
}
form textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.form-success {
  display: none; background: var(--green-soft); border: 1px solid #cfe9dc;
  color: var(--teal-darker); padding: 14px 18px; border-radius: 10px; margin-bottom: 18px;
  font-weight: 500;
}
.form-success.show { display: block; }
.form-error {
  display: none; background: #fdecec; border: 1px solid #f4c7c7;
  color: #a32424; padding: 14px 18px; border-radius: 10px; margin-bottom: 18px;
  font-weight: 500;
}
.form-error.show { display: block; }
.form-error a { color: #a32424; text-decoration: underline; }
/* Honeypot anti-spam field — visually hidden, off-screen */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.map-embed {
  border: 0; width: 100%; height: 280px; border-radius: var(--radius);
  margin-top: 28px; box-shadow: var(--shadow-soft);
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 22px 0; font-size: 1.08rem; font-weight: 600; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: inherit;
}
.faq__q .ic { flex: none; transition: transform var(--transition); color: var(--teal); font-size: 1.3rem; }
.faq__item.open .faq__q .ic { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 0 22px; margin: 0; color: var(--muted); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--navy); color: #c7d3dc; padding: 64px 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-footer img { height: 22px; margin-bottom: 18px; }
.site-footer p { color: #9fb0bc; font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: #b6c4ce; font-size: .95rem; }
.footer-links a:hover { color: #fff; }
.footer-contact { font-style: normal; color: #9fb0bc; font-size: .95rem; line-height: 1.8; }
.footer-contact a { color: #cfe9dc; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; font-size: .85rem; color: #8497a3;
}
.footer-disclaimer { font-size: .82rem; color: #768995; margin-top: 18px; max-width: 520px; line-height: 1.6; }

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding-top: 64px; padding-bottom: 70px; }
  .hero__visual { min-height: auto; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .prod-gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; inset: 76px 0 auto 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 22px;
    transform: translateY(-130%); transition: transform .3s ease;
    box-shadow: var(--shadow-soft);
  }
  .nav__menu.open { transform: translateY(0); }
  .nav__links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__links a { padding: 13px 12px; border-radius: 8px; }
  .nav__cta { margin: 12px 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container {
    padding-left: max(28px, env(safe-area-inset-left));
    padding-right: max(28px, env(safe-area-inset-right));
  }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .grid--3, .grid--4, .grid--2, .steps, .form-row { grid-template-columns: 1fr; }
  .prod-gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .prod-tile__name { font-size: .9rem; padding: 12px 8px 14px; }

  /* Hero — tighter, balanced margins on phones */
  .hero__inner { padding-top: 36px; padding-bottom: 48px; gap: 30px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1.05rem; }
  .hero__visual { padding: 26px; border-radius: 18px; }
  .hero__stats { gap: 20px 30px; margin-top: 32px; }
  .hero__stat strong { font-size: 1.55rem; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  /* Markets strip */
  .markets { padding: 22px 0; }
  .markets__row { gap: 12px 18px; }
  .markets__row span:first-child { width: 100%; text-align: center; }

  /* Inner page hero */
  .page-hero { padding: 44px 0 38px; }
  .page-hero p { font-size: 1.05rem; }
  .page-hero h1 { font-size: 1.9rem; }

  /* CTA band */
  .cta-band { padding: 36px 22px; }
  .cta-band .btn { width: 100%; justify-content: center; }

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