/* Converted from HP WEBSITE FINAL2.html */
:root {
  --green-deep: #0f2d1c;
  --green-dark: #1a4a2e;
  --green-mid: #2d6e47;
  --green-bright: #3a8f5c;
  --green-light: #eaf5ef;
  --green-pale: #f4fbf6;
  --gold: #c8a84b;
  --gold-light: #f0dfa0;
  --gold-pale: #fdf8ea;
  --red: #c0392b;
  --blue: #1a3a8f;
  --white: #ffffff;
  --off-white: #f8f9f6;
  --text-dark: #111827;
  --text-mid: #374151;
  --text-light: #6b7280;
  --border: #d4e8db;
}

body{
  margin:0;
  font-family: 'DM Sans', sans-serif;
}

/* body.no-ticker {
    padding-top: 0 !important;
}

body.has-ticker {
    padding-top: 120px !important;
} */

/* OPTIONAL SAFETY */
.event-ticker {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--off-white);
}

::-webkit-scrollbar-thumb {
  background: var(--green-mid);
  border-radius: 3px;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 70px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.nav-brand {
  display: flex;
  flex-direction: column;
}

.nav-name {
  font-weight: 800;
  font-size: 15px;
  line-height: 1.1;
  color: var(--green-dark);
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.nav-sub {
  font-size: 10.5px;
  color: var(--green-bright);
  font-weight: 500;
  letter-spacing: .03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 7px;
  transition: all .18s;
}

.nav-links a:hover {
  background: var(--green-light);
  color: var(--green-dark);
}

.nav-cta {
  background: var(--green-dark) !important;
  color: #fff !important;
  padding: 9px 22px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
}

.nav-cta:hover {
  background: var(--green-mid) !important;
}

.nav-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25d366;
  color: #fff !important;
  padding: 9px 16px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-decoration: none;
}

.nav-wa:hover {
  background: #1ebe58 !important;
}

/* SHARED */
.container {
  max-width: 100%;
  margin: 0 auto;
}


.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--green-bright);
  border-radius: 2px;
}

.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.12;
  margin-bottom: 14px;
  letter-spacing: -.02em;
}

.sec-body {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.75;
  max-width: 540px;
}

/* HERO */
.hero {
  min-height: 100vh;
  background: linear-gradient(150deg, var(--green-deep) 0%, #133322 45%, #0c2416 100%);
  display: flex;
  align-items: center;
  padding: 110px 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 55% 55% at 12% 55%, rgba(58, 143, 92, .22) 0%, transparent 60%), radial-gradient(ellipse 40% 40% at 88% 18%, rgba(200, 168, 75, .14) 0%, transparent 55%), radial-gradient(ellipse 35% 35% at 65% 85%, rgba(58, 143, 92, .12) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .035;
  background-image: linear-gradient(rgba(255, 255, 255, .6) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .6) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 72px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(200, 168, 75, .14);
  border: 1px solid rgba(200, 168, 75, .38);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 26px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: blink 2s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .3
  }
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 4px;
}

.company-name {
  font-family: 'DM Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 3.2vw, 40px);
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -.02em;
}

.company-name .gold {
  color: var(--gold);
}

.company-pvt {
  font-size: 13px;
  color: rgba(255, 255, 255, .4);
  font-weight: 400;
  margin-bottom: 10px;
}

.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(13px, 1.6vw, 18px);
  font-style: italic;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 30px;
  line-height: 1.5;
}

.hero-tagline em {
  color: var(--gold);
  font-style: normal;
}

.hero-hl {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 6vw, 78px);
  font-weight: 900;
  color: var(--white);
  line-height: .98;
  letter-spacing: -.03em;
  margin-bottom: 22px;
}

.hero-hl .accent {
  color: var(--gold);
  display: block;
  font-style: italic;
}

.hero-desc {
  font-size: 15.5px;
  color: rgba(255, 255, 255, .65);
  line-height: 1.75;
  margin-bottom: 38px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--green-deep);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: all .2s;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(200, 168, 75, .4);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .22);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: all .2s;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .13);
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.stat-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  padding: 22px 20px;
  transition: border-color .2s;
}

.stat-card:hover {
  border-color: rgba(200, 168, 75, .45);
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-lbl {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .55);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.cert-strip {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cert-lbl {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, .4);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-right: 4px;
}

.cert-chip {
  background: rgba(200, 168, 75, .18);
  border: 1px solid rgba(200, 168, 75, .35);
  color: var(--gold-light);
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: .04em;
}

.cert-chip.dmf {
  background: rgba(200, 168, 75, .3);
  border-color: var(--gold);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

/* PROFILE */
.profile-section {
  background: var(--white);
}

.profile-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 72px;
  align-items: start;
}

.profile-card {
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 34px;
  position: sticky;
  top: 86px;
}

.md-name {
  font-size: 21px;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 3px;
}

.md-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--green-bright);
  margin-bottom: 20px;
}

.md-quote {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-style: italic;
  line-height: 1.65;
  color: var(--green-dark);
  padding-left: 18px;
  border-left: 3px solid var(--gold);
  margin-bottom: 24px;
}

.profile-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pm-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-mid);
}

.pm-row .ic {
  font-size: 17px;
  flex-shrink: 0;
  margin-top: 1px;
}

.pm-row strong {
  color: var(--green-dark);
}

.pm-row a {
  color: var(--green-bright);
  text-decoration: none;
}

.pm-row a:hover {
  text-decoration: underline;
}

.profile-text {
  font-size: 15.5px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 18px;
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.vision-card {
  background: var(--green-pale);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 18px;
  border-top: 3px solid var(--green-bright);
}

.vision-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 7px;
}

.vision-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
}

.ethics-bar {
  margin-top: 24px;
  background: var(--gold-pale);
  border: 1px solid #e8d48a;
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ethics-bar .ic {
  font-size: 26px;
  flex-shrink: 0;
}

.ethics-bar h4 {
  font-size: 14px;
  font-weight: 700;
  color: #7a5c10;
  margin-bottom: 4px;
}

.ethics-bar p {
  font-size: 13px;
  color: #9a7a2a;
  line-height: 1.55;
}

/* WHY US */
.why-section {
  background: var(--off-white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
  transition: all .25s;
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-bright), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}

.why-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, .1);
  transform: translateY(-4px);
}

.why-card:hover::after {
  transform: scaleX(1);
}

.why-n {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--green-bright);
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: .06em;
}

.why-ico {
  font-size: 28px;
  margin-bottom: 12px;
}

.why-t {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.why-d {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* PRODUCTS */
.products-section {
  background: var(--white);
}

.products-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 52px;
}

.pharma-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.pf {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--green-light);
  border-radius: 12px;
  padding: 16px 18px;
  border-left: 3px solid var(--green-bright);
}

.pf .ic {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.pf h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 3px;
}

.pf p {
  font-size: 12.5px;
  color: var(--text-mid);
  line-height: 1.55;
}

.grades-note {
  background: var(--gold-pale);
  border: 1px solid #e8d48a;
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 16px;
  font-size: 13px;
  color: #7a5c10;
  font-weight: 500;
  line-height: 1.65;
}

.excipient-box {
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.excipient-box .eyebrow {
  margin-bottom: 10px;
}

.exc-intro {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 18px;
}

.exc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exc-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dark);
}

.exc-check {
  color: var(--green-bright);
  font-weight: 900;
  font-size: 16px;
  line-height: 1.2;
  flex-shrink: 0;
}

.tbl-wrap {
  overflow-x: auto;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .1);
}

.ptbl {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
}

.ptbl thead tr {
  background: var(--green-dark);
}

.ptbl thead th {
  padding: 14px 18px;
  text-align: left;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .8);
}

.ptbl tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}

.ptbl tbody tr:hover {
  background: var(--green-pale);
}

.ptbl tbody tr:last-child {
  border-bottom: none;
}

.ptbl tbody td {
  padding: 12px 18px;
  font-size: 13.5px;
}

.cat-row {
  background: var(--green-light) !important;
}

.cat-row td {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--green-dark);
  padding: 10px 18px;
}

.fm {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--green-mid);
}

.cas {
  font-family: 'DM Mono', monospace;
  font-size: 11.5px;
  color: var(--text-light);
}

.gtags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.gt {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--green-light);
  color: var(--green-dark);
}

.gt.g {
  background: var(--gold-pale);
  color: #7a5c10;
}

/* CERTS */
.certs-section {
  background: linear-gradient(140deg, var(--green-deep) 0%, #153526 100%);
}

.certs-section .sec-title {
  color: var(--white);
}

.certs-section .eyebrow {
  color: var(--gold);
}

.certs-section .eyebrow::before {
  background: var(--gold);
}

.certs-section .sec-body {
  color: rgba(255, 255, 255, .6);
  max-width: 100%;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 46px;
}

.cert-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  padding: 24px 14px;
  text-align: center;
  transition: all .25s;
}

.cert-card:hover {
  background: rgba(200, 168, 75, .15);
  border-color: rgba(200, 168, 75, .45);
  transform: translateY(-3px);
}

.cert-card.ft {
  border-color: rgba(200, 168, 75, .5);
  background: rgba(200, 168, 75, .1);
}

.cert-card .ico {
  font-size: 28px;
  margin-bottom: 10px;
}

.cert-card .cn {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}

.cert-card.ft .cn {
  color: var(--gold);
}

.cert-card .cd {
  font-size: 11px;
  color: rgba(255, 255, 255, .45);
  line-height: 1.4;
}

.fos {
  margin-top: 44px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  padding: 28px 32px;
}

.fos-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 16px;
}

.fos-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fos-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .8);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
}

.fos-tag::before {
  content: '✓';
  color: var(--gold);
  font-weight: 900;
}

.tech-bar {
  margin-top: 24px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  padding: 24px 28px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.tech-item {
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* CLIENTS */
.clients-section {
  background: var(--off-white);
  padding-top: 40px;
}

.clients-intro {
  text-align: center;
  margin-bottom: 46px;
}

.client-cat {
  margin-bottom: 36px;
}

.cat-lbl {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-light);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* CLIENT LOGOS */
.client-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.food-grid {
  grid-template-columns: repeat(6, 1fr);
}

.client-cell {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 8px 8px;
  text-align: center;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all .22s;
  gap: 5px;
  position: relative;
}

.client-cell:hover {
  border-color: var(--green-bright);
  box-shadow: 0 4px 16px rgba(45, 110, 71, .12);
  transform: translateY(-2px);
}

.client-cell img {
  max-height: 44px;
  max-width: 88%;
  object-fit: contain;
  transition: transform .2s;
}

.client-cell:hover img {
  transform: scale(1.06);
}

.client-cell span.cname {
  font-size: 8px;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.3;
  max-width: 100%;
  word-break: break-word;
}

.client-cell.text-only {
  background: var(--green-pale);
}

.client-cell.text-only .cname {
  font-size: 10px;
  font-weight: 700;
  color: var(--green-dark);
}

.wiki-logo {
  opacity: 0;
  transition: opacity .3s;
}

.wiki-logo.loaded {
  opacity: 1;
}

.logo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  color: var(--green-dark);
  background: var(--green-light);
  border-radius: 8px;
  padding: 4px;
  width: 100%;
  min-height: 36px;
  line-height: 1.3;
}

/* SELECT ARROW */
.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: '▼';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--gold);
  pointer-events: none;
  font-weight: 700;
}

.select-wrap select {
  padding-right: 36px;
}

/* GROUP COMPANIES */
.group-section {
  background: var(--green-pale);
  border-top: 1px solid var(--border);
  padding: 40px 20px;
}

.group-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.group-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
  transition: all .22s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.group-card:hover {
  border-color: var(--green-bright);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .09);
  transform: translateY(-3px);
}

.group-card img {
  /*max-height: 44px;*/
  max-width: 100%;
  object-fit: contain;
}

.group-card .gname {
  font-size: 12px;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.3;
}

.group-card .gdesc {
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.4;
}

@media(max-width:900px) {
  .group-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* CONTACT */
.contact-section {
  background: linear-gradient(140deg, var(--green-deep) 0%, #0f2d1c 100%);
  padding: 40px 20px;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact-section .sec-title {
  color: var(--white);
}

.contact-section .eyebrow {
  color: var(--gold);
}

.contact-section .eyebrow::before {
  background: var(--gold);
}

.contact-section .sec-body {
  color: rgba(255, 255, 255, .6);
  max-width: 100%;
  margin-bottom: 32px;
}

.c-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.c-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.c-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.c-lbl {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold);
  margin-bottom: 3px;
}

.c-val {
  font-size: 14px;
  color: rgba(255, 255, 255, .82);
  line-height: 1.6;
}

.c-val a {
  text-decoration: none;
  color: rgba(255, 255, 255, .82);
}

.c-val a:hover {
  color: var(--gold);
}

.wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 24px;
  border-radius: 12px;
  text-decoration: none;
  margin-top: 22px;
  transition: all .2s;
}

.wa-btn:hover {
  background: #1ebe5c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, .35);
}

.cform {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  padding: 36px;
}

.form-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}

.fg {
  margin-bottom: 16px;
}

.fg label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 7px;
}

.fg input,
.fg textarea,
.fg select {
  width: 100%;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
}

.fg input::placeholder,
.fg textarea::placeholder {
  color: rgba(255, 255, 255, .28);
}

.fg input:focus,
.fg textarea:focus,
.fg select:focus {
  border-color: var(--gold);
}

.fg select option {
  background: var(--green-deep);
  color: var(--white);
}

.fg textarea {
  resize: vertical;
  min-height: 100px;
}

.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.btn-sub {
  width: 100%;
  background: var(--gold);
  color: var(--green-deep);
  font-weight: 800;
  font-size: 15px;
  border: none;
  border-radius: 10px;
  padding: 15px;
  cursor: pointer;
  transition: all .2s;
  font-family: 'DM Sans', sans-serif;
  margin-top: 6px;
}

.btn-sub:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200, 168, 75, .4);
}

/* FOOTER */
footer {
  background: #1a4a2e;
  padding: 44px 48px;
  border-top: 1px solid rgba(255, 255, 255, .05);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  /*display: flex;*/
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-name {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, .6);
}

.footer-tag {
  font-size: 11px;
  font-style: italic;
  color: var(--gold);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .38);
  text-decoration: none;
  transition: color .2s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: 11.5px;
  color: #ccc;
  width: 100%;
  text-align: center;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .05);
  padding-top: 20px;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.hero-badge {
  animation: fadeUp .55s .05s both;
}

.hero-brand {
  animation: fadeUp .55s .15s both;
}

.company-pvt {
  animation: fadeUp .55s .2s both;
}

.hero-tagline {
  animation: fadeUp .55s .25s both;
}

.hero-hl {
  animation: fadeUp .55s .32s both;
}

.hero-desc {
  animation: fadeUp .55s .40s both;
}

.hero-btns {
  animation: fadeUp .55s .48s both;
}

.hero-right {
  animation: fadeUp .65s .58s both;
}

/* RESPONSIVE */
@media(max-width:1100px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .certs-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media(max-width:900px) {
  nav {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }


  .hero {
    padding: 90px 20px 60px;
  }

  .hero-inner,
  .profile-inner,
  .products-top,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .client-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .food-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .profile-card {
    position: static;
  }

  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media(max-width:600px) {
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .client-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── CLIENTS ──────────────────────────────────────── */
.client-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 11px;
}

.food-grid {
  grid-template-columns: repeat(6, 1fr);
}

@media(max-width:1000px) {
  .client-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .food-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media(max-width:700px) {
  .client-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.client-cell {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 8px 8px;
  text-align: center;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all .22s;
  gap: 5px;
}

.client-cell:hover {
  border-color: var(--green-bright);
  box-shadow: 0 4px 16px rgba(45, 110, 71, .12);
  transform: translateY(-2px);
}

.client-cell img,
.wiki-logo {
  max-height: 44px;
  max-width: 88%;
  object-fit: contain;
  transition: transform .2s;
}

.wiki-logo {
  opacity: 0;
  transition: opacity .35s;
}

.wiki-logo.loaded {
  opacity: 1;
}

.client-cell:hover img,
.client-cell:hover .wiki-logo.loaded {
  transform: scale(1.06);
}

.client-cell span.cname {
  font-size: 8px;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.3;
  max-width: 100%;
  word-break: break-word;
}

/* ── GALLERY ──────────────────────────────────────── */
.gallery-section {
  background: var(--off-white);
  padding: 90px 48px;
}

.gtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.gtab {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-mid);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .18s;
  font-family: 'DM Sans', sans-serif;
}

.gtab:hover {
  border-color: var(--green-bright);
  color: var(--green-dark);
}

.gtab.active {
  background: var(--green-dark);
  color: #fff;
  border-color: var(--green-dark);
}

.gtab-content {
  display: none;
}

.gtab-content.active {
  display: block;
}

.ggrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 4px;
}

@media(max-width:900px) {
  .ggrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gi {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--border);
}

.gi img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s, filter .3s;
}

.gi:hover img {
  transform: scale(1.07);
  filter: brightness(.75);
}

.gover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s;
  background: rgba(15, 45, 28, .3);
}

.gi:hover .gover {
  opacity: 1;
}

.gover span {
  color: #fff;
  font-size: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .8);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Lightbox */
.glb {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .93);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.glb.open {
  display: flex;
}

.glb img {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .6);
}

.glb-close {
  position: absolute;
  top: 22px;
  right: 30px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  opacity: .8;
  z-index: 10000;
}

.glb-close:hover {
  opacity: 1;
}


/* ── TEAM ─────────────────────────────────────────── */
.team-section {
  background: var(--white);
  padding: 40px 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media(max-width:960px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  background: var(--green-pale);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all .25s;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  box-shadow: 0 12px 40px rgba(15, 45, 28, .12);
  transform: translateY(-4px);
}

.tm-img-wrap {
  height: 220px;
  overflow: hidden;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tm-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  transition: transform .35s;
}

.team-card:hover .tm-img-wrap img {
  transform: scale(1.04);
}

.tm-body {
  padding: 24px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tm-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.2;
}

.tm-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--green-bright);
  margin-bottom: 2px;
}

.tm-quals {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-light);
  font-style: italic;
  padding: 5px 10px;
  background: var(--white);
  border-radius: 6px;
  display: inline-block;
  width: fit-content;
  border: 1px solid var(--border);
}

.tm-bio {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.65;
  margin-top: 8px;
}

/* highlight first card (MD) */
/*.team-card:first-child {*/
/*  border-color: var(--green-bright);*/
/*  background: linear-gradient(135deg, var(--green-pale) 0%, #edfaf2 100%);*/
/*}*/

/*.team-card:first-child .tm-title {*/
/*  color: var(--gold);*/
/*}*/


/* ── TEAM (updated) ───────────────────────────── */
.team-section {
  background: var(--white);
  padding: 40px 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media(max-width:960px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  background: var(--green-pale);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all .28s;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  box-shadow: 0 16px 48px rgba(15, 45, 28, .14);
  transform: translateY(-5px);
}

/*.team-card.tm-featured {*/
/*  border: 2px solid var(--green-bright);*/
/*  background: linear-gradient(150deg, #f0faf5 0%, var(--green-pale) 100%);*/
/*}*/

.tm-img-wrap {
  height: 280px;
  overflow: hidden;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tm-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  transition: transform .4s;
}

.team-card:hover .tm-img-wrap img {
  transform: scale(1.05);
}

.tm-body {
  padding: 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tm-name {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.2;
}

.tm-featured .tm-name {
  font-size: 18px;
}

.tm-title {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--green-bright);
  margin-bottom: 2px;
}

.tm-featured .tm-title {
  color: var(--gold);
}

.tm-quals {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-mid);
  font-style: italic;
  padding: 4px 10px;
  background: var(--white);
  border-radius: 6px;
  display: inline-block;
  border: 1px solid var(--border);
  margin-bottom: 4px;
}

.tm-bio {
  font-size: 12.5px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-top: 6px;
}

/* ── CERT DOCS ──────────────────────────────────── */
.cert-docs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media(max-width:900px) {
  .cert-docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cert-doc-item {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all .22s;
  display: flex;
  flex-direction: column;
}

.cert-doc-item:hover {
  border-color: rgba(200, 168, 75, .5);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

.cert-doc-item img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  object-position: top;
}

.cert-doc-item span {
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .65);
  padding: 8px 10px;
  text-align: center;
  background: rgba(255, 255, 255, .05);
}

/* ── EVENT TICKER ─────────────────────────────── */
.event-ticker {
  background: linear-gradient(90deg, var(--green-deep), #0d3520);
  padding: 10px 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1000;
  border-bottom: 1px solid rgba(200, 168, 75, .25);
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.ticker-badge {
  background: var(--gold);
  color: var(--green-deep);
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-text {
  font-size: 13px;
  color: rgba(255, 255, 255, .82);
  flex: 1;
}

.ticker-text a {
  color: var(--gold-light);
  text-decoration: none;
}

.ticker-text a:hover {
  text-decoration: underline;
}

.ticker-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, .5);
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  flex-shrink: 0;
}

.ticker-close:hover {
  color: #fff;
}

@media(max-width:700px) {
  .event-ticker {
    padding: 10px 20px;
    flex-wrap: wrap;
  }

  .ticker-text {
    font-size: 12px;
  }
}

/* WordPress wrapper adjustments */
.event-ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

nav {
  top: 44px;
}

.hero {
  padding-top: 154px;
}

body.ticker-closed nav {
  top: 0;
}

body.ticker-closed .hero {
  padding-top: 110px;
}

body:not(.home)>section:first-of-type {
  padding-top: 154px;
}

body.ticker-closed:not(.home)>section:first-of-type {
  padding-top: 110px;
}

.acf-page-hero {
  background: linear-gradient(140deg, var(--green-deep) 0%, #153526 100%);
  padding-bottom: 64px;
  color: var(--white);
}

.acf-page-hero .eyebrow {
  color: var(--gold);
}

.acf-page-hero .eyebrow::before {
  background: var(--gold);
}

.acf-page-hero .sec-title {
  color: var(--white);
  max-width: 760px;
}

.acf-page-hero .sec-body {
  color: rgba(255, 255, 255, .68);
  max-width: 760px;
}

.acf-page-hero .sec-body p {
  margin: 0 0 12px;
}

.acf-page-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.dynamic-page-content {
  background: #fbfcfa;
  color: #10241c;
}

/*.dynamic-page-content .container {*/
/*  max-width: 1100px;*/
/*}*/

.dynamic-page-content h1,
.dynamic-page-content h2,
.dynamic-page-content h3 {
  color: #10241c;
  font-family: 'Playfair Display', serif;
  line-height: 1.15;
  margin: 0 0 16px;
}

.dynamic-page-content p,
.dynamic-page-content li {
  color: #5f6b66;
  font-size: 16px;
  line-height: 1.75;
}

.dynamic-page-content p {
  margin: 0 0 18px;
}

.dynamic-page-content a {
  color: var(--green-mid);
  font-weight: 700;
}

.dynamic-page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.admin-bar .event-ticker {
  top: 32px;
}

.admin-bar nav {
  top: 76px;
}

.admin-bar.ticker-closed nav {
  top: 32px;
}

@media(max-width:782px) {
  .admin-bar .event-ticker {
    top: 46px;
  }

  .admin-bar nav {
    top: 90px;
  }

  .admin-bar.ticker-closed nav {
    top: 46px;
  }
}

@media(max-width:700px) {
  nav {
    top: 60px;
  }

  .hero {
    padding-top: 160px;
  }

  body:not(.home)>section:first-of-type {
    padding-top: 170px;
  }
}

/* Premium visual refresh inspired by the provided reference.
   Content remains unchanged; these rules only adjust presentation. */
:root {
  --hp-ink: #092319;
  --hp-ink-2: #0d3325;
  --hp-gold: #d9ad43;
  --hp-gold-soft: #f5d371;
  --hp-line: #dfe8e2;
  --hp-card: #ffffff;
  --hp-muted: #5f6b66;
}

body {
  background: #fbfcfa;
  color: #10241c;
  font-size: 15px;
}

.event-ticker {
  min-height: 34px;
  padding: 7px max(24px, calc((100vw - 1210px)/2));
  background: #062417;
  border-bottom: 1px solid rgba(217, 173, 67, .22);
  box-shadow: none;
}

.ticker-badge {
  background: transparent;
  color: var(--hp-gold-soft);
  padding: 0;
  border-radius: 0;
  letter-spacing: .03em;
}

.ticker-badge::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--hp-gold);
  box-shadow: 0 0 0 4px rgba(217, 173, 67, .12);
  vertical-align: middle;
}

.ticker-text {
  font-size: 12px;
  color: rgba(255, 255, 255, .78);
  text-align: right;
}

.ticker-close {
  color: rgba(255, 255, 255, .48);
}

nav {
  top: 34px;
  height: 76px;
  padding: 0 max(24px, calc((100vw - 1210px)/2));
  background: #fff;
  border-bottom: 1px solid rgba(16, 36, 28, .08);
  box-shadow: 0 10px 26px rgba(8, 26, 18, .08);
}

.nav-logo img {
  height: 60px !important;
}

.nav-name {
  font-size: 13px;
  color: var(--hp-ink);
  letter-spacing: .02em;
}

.nav-sub {
  color: #6d7a75;
  font-size: 10px;
  letter-spacing: .02em;
}

.nav-links {
  gap: 6px;
}

.nav-links a {
  border-radius: 6px;
  color: #172821;
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 12px;
}

.nav-links a:hover {
  background: #eef6f1;
  color: var(--hp-ink);
}

.nav-cta {
  background: var(--hp-gold) !important;
  color: #10241c !important;
  box-shadow: 0 8px 18px rgba(217, 173, 67, .28);
}

.nav-wa {
  background: var(--hp-ink) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(9, 35, 25, .18);
}

.hero {
  min-height: 620px;
  padding: 40px 48px 86px;
  background:
    linear-gradient(90deg, rgba(5, 31, 21, .99) 0%, rgba(5, 31, 21, .94) 38%, rgba(5, 31, 21, .74) 57%, rgba(5, 31, 21, .22) 100%),
    linear-gradient(0deg, rgba(5, 31, 21, .28), rgba(5, 31, 21, .08)),
    radial-gradient(circle at 15% 75%, rgba(72, 168, 116, .2), transparent 34%),
    url("https://hindustanphosphates.com/wp-content/uploads/photo-gallery/Factory_Photos/HP-factory-4.jpg");
  background-size: cover;
  background-position: center right;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 110px;
  background: linear-gradient(0deg, rgba(2, 18, 12, .5), transparent);
  pointer-events: none;
}

.hero-grid {
  opacity: .11;
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, #000, transparent 68%);
}

.hero-glow {
  background:
    radial-gradient(ellipse 45% 55% at 13% 55%, rgba(44, 134, 87, .28), transparent 62%),
    radial-gradient(ellipse 35% 44% at 64% 45%, rgba(217, 173, 67, .14), transparent 58%);
}

.hero-inner {
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
}

.hero-badge {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .12);
  color: #f3e3ad;
  font-size: 10px;
  padding: 8px 14px;
}

.company-name {
  font-size: clamp(22px, 2.4vw, 34px);
}

.company-pvt,
.hero-tagline {
  color: rgba(255, 255, 255, .62);
}

.hero-hl {
  font-size: clamp(48px, 5.7vw, 78px);
  letter-spacing: -.025em;
  text-shadow: 0 8px 28px rgba(0, 0, 0, .18);
}

.hero-hl .accent {
  color: var(--hp-gold);
}

.hero-desc {
  color: rgba(255, 255, 255, .8);
  max-width: 560px;
  font-weight: 600;
}

.btn-gold,
.btn-sub {
  background: var(--hp-gold);
  color: #10241c;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(217, 173, 67, .25);
}

.btn-gold:hover,
.btn-sub:hover {
  background: var(--hp-gold-soft);
}

.btn-ghost {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .28);
  border-radius: 8px;
}

.stat-grid {
  max-width: 360px;
  margin-left: auto;
  align-self: center;
}

.stat-card {
  min-height: 118px;
  padding: 22px;
  border-radius: 10px;
  background: rgba(6, 36, 23, .5);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.stat-num {
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 30px;
  font-weight: 900;
}

.stat-lbl {
  color: rgba(255, 255, 255, .76);
  font-size: 10px;
  letter-spacing: .02em;
}

.cert-strip {
  max-width: 520px;
  margin-left: auto;
  border-radius: 10px;
  background: rgba(6, 36, 23, .52);
  backdrop-filter: blur(10px);
}


.container {
  max-width: 100%;
}


.eyebrow::before {
  background: var(--hp-ink-2);
}


.sec-body {
  color: var(--hp-muted);
}

.why-section,
.products-section,
.clients-section,
.gallery-section {
  background: #fbfcfa;
}

.why-section .container,
.products-section .container,
.clients-section .container,
.gallery-section .container {
  position: relative;
}

.why-grid {
  gap: 16px;
  margin-top: 36px;
}

.why-card,
.client-cell,
.group-card,
.team-card,
.cert-doc-card {
  border: 1px solid var(--hp-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(9, 35, 25, .05);
}

.why-card {
  padding: 26px 22px;
}

.why-card::after {
  background: var(--hp-gold);
}

.why-ico {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eaf4ef;
  color: var(--hp-ink);
  font-size: 20px;
}

.why-n {
  color: var(--hp-gold);
}

.why-t {
  color: #152820;
}

.why-d {
  color: #66736e;
}

.products-top {
  grid-template-columns: 1fr .82fr;
  gap: 52px;
  margin-bottom: 34px;
}

.pf,
.excipient-box,
.grades-note {
  border-radius: 10px;
}

.tbl-wrap {
  border: 1px solid var(--hp-line);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(9, 35, 25, .08);
}

.ptbl thead tr {
  background: linear-gradient(90deg, #062417, #0e3a28);
}

.ptbl tbody td {
  color: #263831;
}

.ptbl tbody tr:hover {
  background: #f4faf7;
}

.certs-section,
.contact-section,
.acf-page-hero {
  background:
    radial-gradient(ellipse at 85% 20%, rgba(217, 173, 67, .14), transparent 38%),
    radial-gradient(ellipse at 15% 100%, rgba(68, 164, 112, .2), transparent 42%),
    linear-gradient(140deg, #041c13 0%, #0b3524 100%);
}

.certs-section {
  padding: 40px 20px;
}

.cert-card {
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .12);
}

.cert-card .cn {
  color: #fff;
}

.cert-card.ft .cn,
.cert-card.ft {
  color: var(--hp-gold-soft);
}

.clients-intro {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.client-grid {
  gap: 12px;
}

.client-cell {
  min-height: 96px;
  padding: 14px 10px;
}

.client-cell img {
  max-height: 48px;
}

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

.ggrid {
  gap: 14px;
}

.gi {
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(9, 35, 25, .08);
}

.gi img {
  aspect-ratio: 1.35/1;
}

.contact-section {
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.cform {
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
}

.fg input,
.fg textarea,
.fg select {
  border-radius: 8px;
}

footer {
  background: #1a4a2e;
  color: #10241c;
  padding: 42px max(24px, calc((100vw - 1210px)/2));
  border-top: 1px solid var(--hp-line);
}

.footer-inner {
  max-width: 1210px;
}

.footer-name {
  color: #fff;
  font-weight: 900;
}

.footer-tag {
  color: #fff;
}

body.ticker-closed nav {
  top: 0;
}

body.ticker-closed .hero {
  padding-top: 136px;
}

body:not(.home)>section:first-of-type {
  padding-top: 150px;
}

body.ticker-closed:not(.home)>section:first-of-type {
  padding-top: 110px;
}

.admin-bar nav {
  top: 66px;
}

.admin-bar .hero {
  padding-top: 202px;
}

.admin-bar.ticker-closed nav {
  top: 32px;
}

.admin-bar.ticker-closed .hero {
  padding-top: 168px;
}

@media(max-width:1100px) {
  .hero-inner {
    grid-template-columns: 1fr .85fr;
  }

  .nav-links a {
    padding: 8px 9px;
    font-size: 12px;
  }
}

@media(max-width:900px) {
  nav {
    height: 72px;
    padding: 0 20px;
  }

  .hero {
    padding: 150px 20px 64px;
    background-position: center;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .stat-grid,
  .cert-strip {
    margin-left: 0;
  }

  .products-top {
    grid-template-columns: 1fr;
  }
}

@media(max-width:700px) {
  .event-ticker {
    min-height: 58px;
  }

  .ticker-text {
    text-align: left;
  }

  nav {
    top: 58px;
  }

  .hero {
    padding-top: 158px;
  }

  body.ticker-closed .hero {
    padding-top: 104px;
  }

  .hero-hl {
    font-size: 44px;
  }

  .stat-card {
    min-height: 104px;
  }
}

/* Hero refinement: clearer plant image and readable stat numbers */
.hero {
  min-height: 680px;
  background:
    linear-gradient(90deg, rgba(3, 24, 16, .99) 0%, rgba(3, 24, 16, .96) 32%, rgba(3, 24, 16, .76) 52%, rgba(3, 24, 16, .24) 75%, rgba(3, 24, 16, .08) 100%),
    linear-gradient(0deg, rgba(3, 24, 16, .36), rgba(3, 24, 16, .08) 36%, rgba(3, 24, 16, .08)),
    radial-gradient(ellipse at 16% 86%, rgba(31, 131, 82, .34), transparent 36%),
    radial-gradient(ellipse at 62% 45%, rgba(217, 173, 67, .12), transparent 34%),
    url("https://hindustanphosphates.com/wp-content/uploads/photo-gallery/Factory_Photos/HP-factory-4.jpg");
  background-size: cover;
  background-position: 74% center;
}

.hero-inner {
  max-width: 1280px;
  grid-template-columns: .86fr 1.14fr;
  gap: 48px;
}

.hero-hl {
  text-shadow: 0 4px 0 rgba(0, 0, 0, .16), 0 18px 40px rgba(0, 0, 0, .32);
}

.hero-right {
  justify-content: center;
  align-items: flex-start;
  padding-left: 42px;
}

.stat-grid {
  width: 420px;
  max-width: 100%;
  margin: 0;
  gap: 18px;
}

.stat-card {
  min-height: 136px;
  padding: 25px 26px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: linear-gradient(145deg, rgba(9, 48, 32, .66), rgba(6, 31, 22, .42));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 36px rgba(0, 0, 0, .18);
}

/* .stat-card::before {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  border: 1px solid rgba(217, 173, 67, .86);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(217, 173, 67, .22), rgba(217, 173, 67, .04));
  box-shadow: 0 0 0 5px rgba(217, 173, 67, .06);
} */

/* ===== FIX STAT CARD (RESTORE PREMIUM UI) ===== */

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 25px;
    transition: all 0.3s ease;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* GOLD NUMBER */
.stat-card h3,
.stat-card .stat-num {
    color:  var(--hp-gold);
    font-weight: 700;
    font-size: 38px;
    font-family: Playfair Display, serif;
}

/* LABEL */
.stat-card small {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    text-transform: uppercase;
}

/* HOVER EFFECT */
.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212,175,55,0.5);
}

.stat-num {
  color: #fff;
  font-size: 34px;
  line-height: 1;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .45);
}

.stat-lbl {
  color: #fff;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}

.cert-strip {
  width: 420px;
  max-width: 100%;
  margin: 18px 0 0;
}

@media(max-width:1100px) {
  .hero-inner {
    grid-template-columns: 1fr .95fr;
  }

  .hero-right {
    padding-left: 0;
  }

  .stat-grid {
    width: 360px;
  }
}

@media(max-width:900px) {
  .hero {
    min-height: auto;
    background-position: center right;
  }

  .hero-right {
    align-items: stretch;
  }

  .stat-grid,
  .cert-strip {
    width: 100%;
  }
}


.hero {
    background: linear-gradient(135deg, #0b3d2e, #1f5a3c);
    color: #fff;
    position: relative;
}

.stat-card {
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    color: #fff;
}

/* MOBILE IMPROVEMENTS */
@media (max-width: 768px) {

    .hero h1 {
        font-size: 32px;
    }

    .hero img {
        height: 50px !important;
    }

}

.why-section{
  padding: 40px 20px;;
}



/* LOGO */
.glogo{
  max-height:44px;
  width:auto;
  object-fit:contain;
  margin-bottom:12px;
}

/* ACTIVE CARD */
.active-card{
  border-color:var(--green-bright);
  background:var(--green-light);
}

/* GRID */
.group-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

/* CARD */
.group-card{
  padding:20px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.1);
  transition:all .3s ease;
  text-decoration:none;
}

.group-card:hover{
  transform:translateY(-5px);
}

/* CTA */
.group-cta{
  text-align:center;
  margin-top:32px;
}

/* RESPONSIVE */
@media(max-width:992px){
  .group-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:576px){
  .group-grid{
    grid-template-columns:1fr;
  }
}