/* ============================================================
   GIH Life Sciences — Example Refresh Site
   Design system: clean B2B manufacturing, navy + teal + white
   ============================================================ */

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0d1b2a;
  --navy-mid:  #1a2e45;
  --teal:      #0f8070;
  --teal-dark: #0a6058;
  --teal-light:#17a991;
  --accent:    #2dc6a8;
  --gold:      #c8a84b;
  --white:     #ffffff;
  --off-white: #f5f7fa;
  --gray-100:  #eaeef3;
  --gray-300:  #c4cdd8;
  --gray-500:  #7f8fa4;
  --gray-700:  #3d4f63;
  --text:      #1a2030;
  --radius:    6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
  --shadow:    0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.13);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif:'Georgia', 'Palatino Linotype', serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

h1,h2,h3,h4 {
  font-weight: 700;
  line-height: 1.22;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p  { max-width: 68ch; }

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* --- Utility --------------------------------------------- */
.text-teal   { color: var(--teal); }
.text-gold   { color: var(--gold); }
.text-center { text-align: center; }
.text-white  { color: var(--white); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  box-shadow: 0 4px 14px rgba(15,128,112,.3);
}
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); box-shadow: 0 6px 20px rgba(15,128,112,.38); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline-teal:hover { background: var(--teal); color: var(--white); }

.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

/* --- Navigation ------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 2px 12px rgba(0,0,0,.22);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,.82);
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: background .15s, color .15s;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active { background: rgba(255,255,255,.1); color: var(--white); }
.nav-links a.nav-portal {
  margin-left: 8px;
  border: 1px solid rgba(255,255,255,.24);
  color: rgba(255,255,255,.9);
  font-size: .85rem;
}
.nav-links a.nav-portal:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.38);
}
.nav-cta { margin-left: 12px; padding: 9px 20px !important; font-size: .85rem !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .25s;
}
.mobile-nav {
  display: none;
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 12px 24px 20px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  color: rgba(255,255,255,.85);
  padding: 10px 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.07);
  text-decoration: none;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a.mobile-portal {
  color: var(--white);
  font-weight: 600;
}

/* --- Hero ------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #103348 100%);
  padding: 54px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(15,128,112,.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(45,198,168,.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-featured-facility {
  position: relative;
  z-index: 1;
  min-height: clamp(360px, 48vw, 620px);
  margin-bottom: 58px;
  overflow: hidden;
  border-radius: 26px;
  background: var(--navy);
  box-shadow: 0 34px 100px rgba(0,0,0,.34);
  border: 1px solid rgba(255,255,255,.16);
}
.hero-featured-facility::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,18,34,.04) 20%, rgba(7,18,34,.70) 100%),
    linear-gradient(90deg, rgba(7,18,34,.34), transparent 48%);
  pointer-events: none;
}
.hero-featured-facility > img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 50% 44%;
}
.hero-featured-facility figcaption {
  position: absolute;
  z-index: 2;
  left: 26px;
  bottom: 26px;
  max-width: min(620px, calc(100% - 52px));
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(13,27,42,.78);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--white);
  backdrop-filter: blur(10px);
}
.hero-featured-facility figcaption strong {
  display: block;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  line-height: 1.1;
}
.hero-featured-facility figcaption span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.76);
  font-size: .96rem;
}
.hero-featured-badge {
  position: absolute;
  z-index: 3;
  right: 24px;
  top: 24px;
  width: 118px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 55px rgba(0,0,0,.28);
}
.hero-featured-badge img { width: 100%; height: auto; }
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45,198,168,.12);
  border: 1px solid rgba(45,198,168,.3);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub {
  color: rgba(255,255,255,.78);
  font-size: 1.15rem;
  margin-bottom: 36px;
  max-width: 50ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-photo-stack {
  grid-template-columns: 1.12fr .88fr;
  gap: 18px;
  align-items: stretch;
}
.hero-photo,
.feature-photo,
.gallery-card,
.about-hero-photo,
.location-photo-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow-lg);
}
.hero-photo img,
.feature-photo img,
.gallery-card img,
.about-hero-photo img,
.location-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo-main { grid-column: 1 / -1; min-height: 330px; }
.hero-photo-main img[src*="gih-leadership-facility"] {
  object-position: 50% 52%;
}
.hero-photo-secondary { min-height: 280px; }
.hero-photo figcaption,
.feature-photo figcaption,
.gallery-card figcaption,
.about-hero-photo figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  background: rgba(13,27,42,.78);
  color: var(--white);
  padding: 10px 12px;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.35;
  backdrop-filter: blur(6px);
}
.hero-capability-card {
  grid-column: 2;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow);
}
.hero-capability-card strong {
  display: block;
  color: var(--white);
  font-size: .95rem;
  margin-bottom: 7px;
}
.hero-capability-card span {
  display: block;
  color: rgba(255,255,255,.64);
  font-size: .84rem;
  line-height: 1.55;
}
.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  backdrop-filter: blur(4px);
  transition: transform .2s, background .2s;
}
.hero-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.09); }
.hero-card-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.hero-card h4 { color: var(--white); margin-bottom: 4px; font-size: .95rem; }
.hero-card p  { color: rgba(255,255,255,.6); font-size: .82rem; max-width: none; }

/* --- Trust Bar -------------------------------------------- */
.trust-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-100);
  padding: 24px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-700);
  font-size: .85rem;
  font-weight: 600;
}
.trust-badge .badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--teal);
  border-radius: 50%;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}
.trust-badge strong { display: block; font-weight: 700; color: var(--navy); }
.trust-badge span   { display: block; font-size: .75rem; color: var(--gray-500); font-weight: 400; }

/* --- Section Defaults ------------------------------------- */
.section { padding: 88px 0; }
.section-alt { background: var(--off-white); }
.section-dark {
  background: var(--navy);
  color: var(--white);
}
.section-dark h2,
.section-dark h3 { color: var(--white); }
.section-dark p   { color: rgba(255,255,255,.75); }

.section-header {
  margin-bottom: 52px;
}
.section-header p {
  color: var(--gray-500);
  margin-top: 14px;
  font-size: 1.05rem;
}

/* --- Services Grid ---------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(15,128,112,.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.service-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.service-card p  { color: var(--gray-500); font-size: .92rem; }

/* --- Formats ---------------------------------------------- */
.formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}
.format-pill {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 100px;
  padding: 14px 20px;
  text-align: center;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: background .15s, color .15s, border-color .15s;
}
.format-pill:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }



/* --- Image-led proof sections ----------------------------- */
.facility-showcase { background: linear-gradient(180deg, #fff 0%, var(--off-white) 100%); }
.facility-layout,
.product-showcase-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.facility-copy p { color: var(--gray-500); font-size: 1.03rem; margin-top: 16px; }
.proof-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.proof-list div {
  border-left: 4px solid var(--teal);
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
.proof-list strong { display: block; color: var(--navy); font-size: .92rem; }
.proof-list span { display: block; color: var(--gray-500); font-size: .84rem; margin-top: 2px; }
.facility-photo-grid {
  display: grid;
  grid-template-columns: 1.25fr .9fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.feature-photo { min-height: 210px; }
.feature-photo-large { grid-row: span 2; min-height: 500px; }
.product-showcase-card {
  margin-top: 42px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow);
}
.product-showcase-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 4px);
}
.product-showcase-card div { padding: 8px 20px 8px 6px; }
.product-showcase-card h3 { margin-bottom: 12px; }
.product-showcase-card p { color: var(--gray-500); }


.brand-proof { background: var(--white); }
.proof-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-rows: 260px;
  gap: 18px;
}
.proof-gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--navy);
}
.proof-gallery-card-tall { grid-row: span 2; }
.proof-gallery-card-wide { grid-column: span 2; }
.proof-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.proof-gallery-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  background: rgba(13,27,42,.78);
  color: var(--white);
  padding: 10px 12px;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.35;
  backdrop-filter: blur(6px);
}

/* --- Process Steps ---------------------------------------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
  counter-reset: step;
  position: relative;
}
.process-step {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  position: relative;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--teal);
  color: var(--white);
  font-size: .9rem;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 14px;
}
.process-step h3 { font-size: 1rem; margin-bottom: 8px; }
.process-step p  { font-size: .86rem; color: var(--gray-500); }

/* --- Testimonials ----------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--accent);
  opacity: .35;
  position: absolute;
  top: 12px;
  left: 24px;
  line-height: 1;
}
.testimonial-text {
  color: rgba(255,255,255,.85);
  font-size: .97rem;
  line-height: 1.7;
  margin-bottom: 20px;
  padding-top: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.author-name { font-weight: 700; color: var(--white); font-size: .9rem; }
.stars { color: var(--gold); font-size: .9rem; letter-spacing: 2px; }

/* --- CTA Strip -------------------------------------------- */
.cta-strip {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  padding: 64px 0;
  text-align: center;
}
.cta-strip h2 { color: var(--white); margin-bottom: 14px; }
.cta-strip p  { color: rgba(255,255,255,.82); margin-bottom: 32px; font-size: 1.05rem; max-width: 56ch; margin-inline: auto; margin-bottom: 32px; }
.cta-strip .btn-outline { border-color: rgba(255,255,255,.55); }

/* --- About page specifics --------------------------------- */
.about-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 72px 0 64px;
  color: var(--white);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 48px;
  align-items: center;
}
.about-hero h1 { color: var(--white); margin-bottom: 16px; }
.about-hero p  { color: rgba(255,255,255,.78); font-size: 1.1rem; }
.about-hero-photo { min-height: 360px; border: 1px solid rgba(255,255,255,.12); }

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.credential-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.credential-card .cred-icon { font-size: 2rem; margin-bottom: 10px; }
.credential-card h4 { font-size: .95rem; color: var(--navy); margin-bottom: 4px; }
.credential-card p  { font-size: .82rem; color: var(--gray-500); max-width: none; }

.values-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.values-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: .92rem;
  box-shadow: var(--shadow-sm);
}
.values-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 900;
  margin-top: 1px;
}



.editorial-gallery {
  display: grid;
  grid-template-columns: 1.35fr .82fr .82fr;
  gap: 20px;
}
.gallery-card { min-height: 420px; box-shadow: var(--shadow); }
.gallery-card-wide { min-height: 420px; }

/* --- Contact page ----------------------------------------- */
.contact-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 72px 0 64px;
}
.contact-hero h1 { color: var(--white); margin-bottom: 14px; }
.contact-hero p  { color: rgba(255,255,255,.75); font-size: 1.05rem; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 { margin-bottom: 20px; }
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(15,128,112,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail strong { display: block; font-size: .85rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.contact-detail p { font-size: .95rem; max-width: none; }
.contact-detail a { color: var(--teal); font-weight: 500; }

.inquiry-types {
  margin-top: 32px;
}
.inquiry-types h4 { margin-bottom: 12px; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gray-500); }
.inquiry-tag {
  display: inline-flex;
  background: rgba(15,128,112,.08);
  border: 1px solid rgba(15,128,112,.2);
  color: var(--teal-dark);
  font-size: .8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  margin: 4px 4px 4px 0;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form-card h3 { margin-bottom: 28px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 6px;
}
.form-group label .req { color: var(--teal); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--off-white);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15,128,112,.12);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .8rem; color: var(--gray-500); margin-top: 8px; }



.location-photo-card { min-height: 520px; }
.location-photo-card figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 8px;
  background: rgba(13,27,42,.82);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  padding: 18px;
  color: var(--white);
  backdrop-filter: blur(6px);
}
.location-photo-card figcaption strong { font-size: 1.05rem; }
.location-photo-card figcaption span { color: rgba(255,255,255,.68); font-size: .86rem; }
.location-photo-card .btn { justify-content: center; padding: 10px 18px; font-size: .84rem; margin-top: 4px; }

/* --- Footer ----------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { font-size: 1.1rem; display: block; margin-bottom: 12px; }
.footer-brand p { font-size: .88rem; max-width: 38ch; line-height: 1.6; }
.footer-col h4 {
  color: var(--white);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  transition: color .15s;
}
.footer-col ul a:hover { color: var(--accent); text-decoration: none; }
.footer-address { font-size: .88rem; line-height: 1.7; font-style: normal; }
.footer-address strong { display: block; color: var(--white); margin-bottom: 4px; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-bottom: 24px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-badge {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  letter-spacing: .06em;
}

/* --- Responsive ------------------------------------------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-featured-facility { min-height: 430px; margin-bottom: 42px; }
  .hero-visual { grid-template-columns: 1fr; max-width: 640px; }
  .hero-photo-secondary,
  .hero-capability-card { display: none; }
  .hero-photo-main { grid-column: auto; min-height: 360px; }
  .facility-layout,
  .product-showcase-card,
  .about-hero-grid { grid-template-columns: 1fr; }
  .facility-photo-grid,
  .editorial-gallery,
  .proof-gallery-grid { grid-template-columns: 1fr 1fr; }
  .proof-gallery-grid { grid-auto-rows: 240px; }
  .feature-photo-large,
  .gallery-card-wide,
  .proof-gallery-card-wide { grid-column: 1 / -1; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 28px 0 56px; }
  .hero .container { max-width: 390px; margin-left: 0; margin-right: 0; }
  .hero-featured-facility { width: 100%; min-height: 350px; border-radius: 18px; margin-bottom: 34px; }
  .hero-featured-facility > img { object-position: 45% 45%; }
  .hero-featured-facility figcaption { left: 14px; right: 14px; bottom: 14px; max-width: none; padding: 14px; }
  .hero-featured-facility figcaption strong { font-size: 1rem; }
  .hero-featured-facility figcaption span { font-size: .86rem; }
  .hero-featured-badge { right: 12px; top: 12px; width: 76px; border-radius: 14px; }
  .hero-eyebrow { white-space: normal; line-height: 1.5; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; text-align: center; }
  .section { padding: 60px 0; }
  .form-row { grid-template-columns: 1fr; }
  .trust-bar-inner { gap: 20px; justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .facility-photo-grid,
  .editorial-gallery,
  .proof-gallery-grid { grid-template-columns: 1fr; }
  .proof-gallery-grid { grid-auto-rows: 300px; }
  .proof-gallery-card-tall,
  .proof-gallery-card-wide { grid-column: auto; grid-row: auto; }
  .feature-photo-large,
  .gallery-card,
  .gallery-card-wide,
  .location-photo-card { min-height: 340px; }
  .product-showcase-card img { height: 260px; }
}

/* --- Launch-readiness refinements ------------------------- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.split-grid-center { align-items: center; gap: 48px; }

@media (max-width: 860px) {
  .split-grid,
  .split-grid-center { grid-template-columns: 1fr; gap: 36px; }
}

/* --- NSF certification highlights ------------------------- */
.trust-badge-logo {
  padding: 0;
}
.trust-badge-logo img {
  display: block;
  width: 170px;
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(13,27,42,.12));
}
.credential-card-featured {
  border-color: rgba(15,128,112,.35);
  box-shadow: 0 16px 40px rgba(15,128,112,.16);
}
.credential-logo {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 12px;
}
.nsf-contact-badge {
  margin-top: 30px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(15,128,112,.1), rgba(13,79,134,.08));
  border: 1px solid rgba(15,128,112,.22);
  box-shadow: var(--shadow-sm);
}
.nsf-contact-badge img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  margin-bottom: 12px;
}
.nsf-contact-badge p {
  color: var(--gray-700);
  font-size: .9rem;
  line-height: 1.55;
}
@media (max-width: 640px) {
  .trust-badge-logo img { width: 150px; }
}

/* Fit expanded certification set cleanly on desktop */
.trust-bar-inner { gap: 26px; }
.trust-badge-logo img { width: 142px; }
.hero-eyebrow { font-size: .72rem; letter-spacing: .08em; }
.trust-bar-inner { gap: 16px; }
.trust-badge { font-size: .78rem; gap: 8px; }
.trust-badge span { font-size: .68rem; }
.trust-badge .badge-icon { width: 32px; height: 32px; }
.trust-badge-logo img { width: 130px; }

/* --- Specific NSF GMP hero overlay ------------------------ */
.hero-photo-stack { position: relative; }
.hero-certification-overlay {
  position: absolute;
  z-index: 4;
  top: -34px;
  right: -28px;
  width: 168px;
  transform: rotate(2deg);
  filter: drop-shadow(0 18px 26px rgba(13,27,42,.34));
}
.hero-certification-overlay img {
  display: block;
  width: 100%;
  height: auto;
}
.trust-badge-logo img {
  width: 86px;
  max-height: 98px;
  object-fit: contain;
}
.credential-logo {
  width: 112px;
}
.nsf-contact-badge img {
  width: 126px;
}
@media (max-width: 860px) {
  .hero-certification-overlay {
    top: -24px;
    right: -10px;
    width: 138px;
  }
}
@media (max-width: 640px) {
  .hero-certification-overlay {
    top: -18px;
    right: 8px;
    width: 118px;
  }
}

/* --- 3PL / inventory management highlight ---------------- */
.logistics-callout {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 38px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.logistics-callout-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 28px;
  align-items: center;
}
.logistics-callout h2 {
  color: var(--white);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  margin-bottom: 8px;
}
.logistics-callout p {
  color: rgba(255,255,255,.76);
  max-width: 62ch;
  font-size: .98rem;
}
.logistics-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.logistics-points span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
  padding: 7px 12px;
  font-size: .78rem;
  font-weight: 700;
}
.service-card-highlight {
  border-color: rgba(15,128,112,.35);
  box-shadow: 0 18px 42px rgba(15,128,112,.14);
}
@media (max-width: 860px) {
  .logistics-callout-inner { grid-template-columns: 1fr; }
  .logistics-callout-inner .btn { justify-content: center; }
}

/* --- Blog / SEO content section --------------------------- */
.blog-hero,
.blog-post-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 76px 0 66px;
}
.blog-hero h1,
.blog-post-hero h1 { color: var(--white); margin-bottom: 16px; }
.blog-hero p,
.blog-post-hero p { color: rgba(255,255,255,.76); font-size: 1.08rem; }
.blog-hero-grid,
.blog-post-hero-grid {
  display: grid;
  grid-template-columns: 1fr .42fr;
  gap: 48px;
  align-items: center;
}
.blog-hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
}
.blog-hero-card img { display: block; width: 116px; height: auto; margin-bottom: 16px; }
.blog-hero-card strong { display: block; color: var(--white); margin-bottom: 7px; }
.blog-hero-card span { color: rgba(255,255,255,.65); font-size: .9rem; line-height: 1.55; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 28px;
}
.blog-card {
  overflow: hidden;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card-image {
  display: block;
  height: 220px;
  background: var(--off-white);
  overflow: hidden;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-image img[src$=".svg"] { object-fit: contain; padding: 24px; }
.blog-card-body { padding: 26px; }
.blog-label {
  display: inline-flex;
  color: var(--teal);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .11em;
  margin-bottom: 12px;
}
.blog-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.blog-card h3 a { color: var(--navy); }
.blog-card p { color: var(--gray-500); font-size: .92rem; margin-bottom: 18px; }
.text-link { color: var(--teal); font-weight: 800; font-size: .9rem; }
.breadcrumb-link { display: inline-flex; color: var(--accent); font-weight: 800; margin-bottom: 18px; }
.blog-post-hero time { display: block; color: rgba(255,255,255,.58); font-size: .88rem; margin-top: 18px; }
.blog-post-image {
  min-height: 330px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,.07);
  box-shadow: var(--shadow-lg);
}
.blog-post-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-post-image img[src$=".svg"] { object-fit: contain; padding: 34px; }
.blog-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 56px;
  padding-top: 72px;
  padding-bottom: 82px;
}
.blog-post-content {
  font-size: 1.04rem;
  line-height: 1.82;
}
.blog-post-content h2 { margin-top: 34px; margin-bottom: 12px; }
.blog-post-content p,
.blog-post-content li { color: var(--gray-700); }
.blog-post-content ul { margin: 18px 0 24px 22px; }
.blog-inline-cta {
  margin-top: 42px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15,128,112,.2);
  background: linear-gradient(135deg, rgba(15,128,112,.08), rgba(45,198,168,.08));
  padding: 30px;
}
.blog-inline-cta h2 { margin-top: 0; }
.blog-sidebar { display: grid; align-content: start; gap: 20px; }
.sidebar-card {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
.sidebar-card h3 { font-size: 1rem; margin-bottom: 14px; }
.sidebar-card ul { margin-left: 18px; color: var(--gray-700); font-size: .92rem; line-height: 1.75; }
.sidebar-card a { color: var(--teal-dark); font-weight: 700; }
@media (max-width: 860px) {
  .blog-hero-grid,
  .blog-post-hero-grid,
  .blog-post-layout { grid-template-columns: 1fr; }
  .blog-post-layout { gap: 34px; }
}
@media (max-width: 640px) {
  .blog-hero,
  .blog-post-hero { padding: 58px 0 52px; }
  .blog-card-image { height: 190px; }
  .blog-post-layout { padding-top: 50px; padding-bottom: 58px; }
}

/* --- Online seller / marketplace support highlight -------- */
.seller-channel-strip {
  background: var(--off-white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 44px 0;
}
.seller-channel-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  align-items: center;
}
.seller-channel-strip h2 { margin-bottom: 10px; }
.seller-channel-strip p { color: var(--gray-500); font-size: .98rem; }
.seller-channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.seller-channel-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border: 1px solid rgba(15,128,112,.18);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  font-size: .82rem;
  font-weight: 800;
  text-align: center;
  padding: 10px;
}
@media (max-width: 860px) {
  .seller-channel-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .seller-channel-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Brand proof and certification badges ----------------- */
.brand-proof-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}
.brand-proof-panel {
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: 42px;
  align-items: center;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 38px;
}
.brand-proof-copy p {
  color: var(--gray-500);
  font-size: 1rem;
  margin-top: 14px;
}
.brand-proof-copy a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.brand-proof-note {
  font-size: .9rem !important;
  color: var(--gray-500) !important;
}
.certification-badge-grid {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 16px;
  align-items: center;
}
.certification-badge-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.certification-badge-grid img:first-child {
  grid-row: span 2;
  max-width: 150px;
  justify-self: center;
}
@media (max-width: 860px) {
  .brand-proof-panel { grid-template-columns: 1fr; }
  .certification-badge-grid { max-width: 560px; }
}
@media (max-width: 640px) {
  .brand-proof-panel { padding: 26px; }
  .certification-badge-grid { grid-template-columns: 1fr; }
  .certification-badge-grid img:first-child { grid-row: auto; }
}

/* --- Sales resources page --------------------------------- */
.sales-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 76px 0 66px;
}
.sales-hero h1 { color: var(--white); margin-bottom: 16px; }
.sales-hero p { color: rgba(255,255,255,.76); font-size: 1.08rem; }
.sales-hero-grid {
  display: grid;
  grid-template-columns: 1fr .42fr;
  gap: 48px;
  align-items: center;
}
.sales-hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
}
.sales-hero-card img { display: block; width: 104px; height: auto; margin-bottom: 16px; }
.sales-hero-card strong { display:block; color: var(--white); margin-bottom: 7px; }
.sales-hero-card span { color: rgba(255,255,255,.65); font-size: .9rem; }
.sales-resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.sales-resource-card {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  display: flex;
  flex-direction: column;
  min-height: 330px;
}
.sales-resource-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(15,128,112,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  margin-bottom: 16px;
}
.sales-resource-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.sales-resource-card p { color: var(--gray-500); font-size: .9rem; margin-bottom: 20px; }
.sales-resource-card .btn { margin-top: auto; justify-content: center; }
@media (max-width: 1040px) {
  .sales-resource-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .sales-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sales-resource-grid { grid-template-columns: 1fr; }
}
.blog-post-image figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  background: rgba(13,27,42,.78);
  color: var(--white);
  padding: 10px 12px;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.35;
  backdrop-filter: blur(6px);
}
