﻿:root {
  --navy: #082454;
  --navy-2: #0d3a76;
  --green: #78a800;
  --gold: #f4b326;
  --red: #c9262e;
  --ink: #172033;
  --muted: #657284;
  --line: #d9e2ef;
  --soft: #f4f8fc;
  --white: #ffffff;
  font-family: "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: #f5f8fb; color: var(--ink); margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(280px, 1fr) auto auto;
  left: 0;
  padding: 14px 34px;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 5;
}

.brand, .site-header nav, .hero-actions, .signal-band, .site-footer { align-items: center; display: flex; }
.brand { gap: 12px; }
.brand-mark {
  align-items: center;
  border: 4px solid var(--navy);
  border-radius: 50%;
  color: var(--navy);
  display: inline-flex;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  width: 48px;
}
.brand strong { color: var(--navy); display: block; font-size: 18px; line-height: 1.1; }
.brand small, .site-header nav a, .eyebrow, .medicine-card span, .quality-grid p, .contact-list span, .site-footer span { color: var(--muted); }
.site-header nav { gap: 22px; }
.site-header nav a, .header-action { font-size: 14px; font-weight: 800; }

.header-action, .primary-action, .secondary-action {
  border-radius: 6px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 42px;
  padding: 11px 16px;
}
.header-action, .primary-action { background: var(--navy); border: 0; color: var(--white); }
.secondary-action { background: var(--gold); color: var(--navy); }

.hero {
  align-items: center;
  background:
    linear-gradient(120deg, rgba(8, 36, 84, 0.96), rgba(13, 58, 118, 0.88)),
    #082454;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr);
  min-height: 86vh;
  overflow: hidden;
  padding: 72px 34px 48px;
  position: relative;
}
.hero::after {
  background: var(--green);
  content: "";
  height: 260px;
  position: absolute;
  right: -90px;
  top: -80px;
  transform: rotate(32deg);
  width: 280px;
}
.hero-copy { color: var(--white); max-width: 760px; position: relative; z-index: 1; }
.eyebrow { font-size: 12px; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }
.hero .eyebrow { color: rgba(255, 255, 255, 0.75); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(42px, 7vw, 82px); line-height: 0.96; margin-top: 12px; }
.hero-copy p:not(.eyebrow) { color: rgba(255, 255, 255, 0.84); font-size: 20px; line-height: 1.55; margin-top: 24px; }
.hero-actions { flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.signal-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.signal-band div { border-right: 1px solid var(--line); display: grid; gap: 5px; padding: 22px 34px; }
.signal-band strong { color: var(--navy); font-size: 30px; }
.signal-band span { color: var(--muted); font-size: 13px; font-weight: 800; }

.section { margin: 0 auto; max-width: 1240px; padding: 78px 34px; }
.section-heading { display: grid; gap: 12px; margin-bottom: 24px; max-width: 840px; }
h2 { color: var(--navy); font-size: clamp(30px, 4vw, 48px); line-height: 1.08; }
.section-heading p:not(.eyebrow), .quality-copy p { color: var(--muted); font-size: 17px; line-height: 1.55; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.filter { background: var(--white); border: 1px solid var(--line); border-radius: 999px; color: var(--navy); cursor: pointer; font-weight: 900; padding: 10px 14px; }
.filter.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.product-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.medicine-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--navy-2);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(22, 32, 51, 0.07);
  display: grid;
  gap: 8px;
  min-height: 146px;
  padding: 18px;
}
.medicine-image { background: #fff; border: 1px solid var(--line); border-radius: 6px; height: 112px; object-fit: contain; padding: 4px; width: 112px; }
.medicine-card strong { color: var(--navy); font-size: 25px; line-height: 1; }
.medicine-card span { font-size: 13px; line-height: 1.45; }
.medicine-card small { color: var(--red); font-weight: 900; }
.medicine-card.highlight { background: #fff7df; border-left-color: var(--gold); }
.medicine-card.dark { background: var(--navy); border-left-color: var(--gold); }
.medicine-card.dark strong, .medicine-card.dark span, .medicine-card.dark small { color: var(--white); }
.medicine-card.is-hidden { display: none; }
.product-information-cta { display: flex; justify-content: center; margin-top: 26px; }

.information-main { padding-top: 86px; }
.information-hero { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: var(--white); padding: 64px max(34px, calc((100vw - 1172px) / 2)); }
.information-hero .eyebrow { color: rgba(255,255,255,.72); }
.information-hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.02; margin: 12px 0 16px; }
.information-hero p:not(.eyebrow) { color: rgba(255,255,255,.86); line-height: 1.6; max-width: 780px; }
.information-tools { align-items: center; display: flex; gap: 14px; justify-content: space-between; margin: 0 auto 20px; max-width: 1172px; }
.information-tools label { flex: 1; max-width: 520px; }
.information-tools p { color: var(--muted); font-size: 14px; font-weight: 800; }
.information-list { display: grid; gap: 16px; margin: 0 auto; max-width: 1172px; }
.information-card { background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--navy-2); border-radius: 8px; box-shadow: 0 14px 36px rgba(22,32,51,.06); padding: 24px; scroll-margin-top: 100px; }
.information-card.is-filtered { display: none; }
.information-card h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 18px; }
.information-product-image { background: #fff; border: 1px solid var(--line); border-radius: 6px; display: block; height: 170px; margin: 0 0 18px; object-fit: contain; padding: 5px; width: 170px; }
.information-card dl { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin: 0; }
.information-card dl > div { background: var(--soft); border-radius: 6px; padding: 13px; }
.information-card dt { color: var(--navy); font-size: 12px; font-weight: 900; letter-spacing: .04em; margin-bottom: 5px; text-transform: uppercase; }
.information-card dd { color: var(--ink); line-height: 1.55; margin: 0; }
.information-card .wide-detail { grid-column: 1 / -1; }
.information-empty { color: var(--muted); display: none; padding: 24px; text-align: center; }
.information-empty.visible { display: block; }

.quality-section, .contact-section {
  align-items: start;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}
.quality-copy { display: grid; gap: 14px; }
.quality-grid { display: grid; gap: 14px; }
.quality-grid article, .contact-panel, .enquiry-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 45px rgba(22, 32, 51, 0.08);
  padding: 22px;
}
.quality-grid article { display: grid; gap: 10px; }
.quality-grid span { color: var(--green); font-weight: 900; }
.quality-grid h3 { color: var(--navy); font-size: 22px; }

.contact-panel { display: grid; gap: 16px; }
.contact-list { display: grid; gap: 12px; }
.contact-list a, .contact-list span { background: var(--soft); border-radius: 6px; display: block; font-weight: 800; line-height: 1.45; padding: 12px; }
.contact-list a { color: var(--navy); }
.enquiry-form { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
label { color: #44546a; display: grid; font-size: 13px; font-weight: 800; gap: 7px; }
input, select, textarea { background: #fbfdff; border: 1px solid #cbd6e5; border-radius: 6px; color: var(--ink); min-height: 42px; outline: none; padding: 10px 12px; width: 100%; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(13, 58, 118, 0.14); }
.wide, .form-status { grid-column: 1 / -1; }
.enquiry-form button { cursor: pointer; width: fit-content; }
.form-status { color: var(--green); font-weight: 900; min-height: 20px; }
.form-status.error { color: #b33a3a; }
button:disabled { cursor: not-allowed; opacity: 0.72; }

.admin-main { padding-top: 86px; }
.admin-section { max-width: 1380px; }
.admin-section h1 { color: var(--navy); font-size: clamp(34px, 5vw, 56px); line-height: 1.04; }
.admin-toolbar {
  align-items: end;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 45px rgba(22, 32, 51, 0.08);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(280px, 420px) auto minmax(180px, 1fr);
  margin-bottom: 18px;
  padding: 18px;
}
.admin-table-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 45px rgba(22, 32, 51, 0.08);
  overflow-x: auto;
}
.admin-table { border-collapse: collapse; min-width: 1080px; width: 100%; }
.admin-table th,
.admin-table td { border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: left; vertical-align: top; }
.admin-table th { color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.admin-table td { color: var(--ink); font-size: 14px; line-height: 1.4; }

.site-footer { background: var(--navy); color: var(--white); gap: 14px; justify-content: space-between; padding: 24px 34px; }
.site-footer span { color: rgba(255, 255, 255, 0.72); }

@media (max-width: 980px) {
  .site-header, .hero, .quality-section, .contact-section, .signal-band { grid-template-columns: 1fr; }
  .site-header nav { flex-wrap: wrap; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .site-header, .hero, .section, .signal-band div, .site-footer { padding-left: 18px; padding-right: 18px; }
  .product-grid, .enquiry-form { grid-template-columns: 1fr; }
  .admin-main { padding-top: 0; }
  .admin-toolbar { grid-template-columns: 1fr; }
  .header-action { width: 100%; }
  .hero { padding-top: 42px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .medicine-card strong { font-size: 22px; }
  .information-hero { padding: 42px 18px; }
  .information-main { padding-top: 0; }
  .information-tools { align-items: stretch; flex-direction: column; margin-left: 18px; margin-right: 18px; }
  .information-tools label { max-width: none; }
  .information-list { margin-left: 18px; margin-right: 18px; }
  .information-card { padding: 18px; }
  .information-card dl { grid-template-columns: 1fr; }
  .information-card .wide-detail { grid-column: auto; }
}

.information-product-category { color: var(--muted); font-size: 15px; font-weight: 800; margin: -8px 0 16px; }
