/* ===================================================
   VERIDIAN PHARMA — Global Stylesheet
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ── VARIABLES ── */
:root {
  --deep:       #0a1628;
  --navy:       #0f2244;
  --navy-light: #152b56;
  --teal:       #0e8c6e;
  --teal-light: #12b08a;
  --gold:       #c9a84c;
  --gold-light: #e8c96a;
  --cream:      #f8f5ef;
  --white:      #ffffff;
  --gray:       #8a9bb0;
  --light:      #e8edf5;
  --danger:     #c0392b;
  --border:     rgba(255,255,255,0.07);
  --shadow:     0 8px 40px rgba(0,0,0,0.35);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--deep);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.1;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.5rem; font-weight: 400; margin-bottom: 0.7rem; }
h4 { font-size: 1.1rem; font-weight: 400; margin-bottom: 0.4rem; }
p  { font-weight: 300; line-height: 1.85; }

em { font-style: italic; color: var(--teal-light); }

/* ── LAYOUT ── */
section { padding: 7rem 5%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── NAVIGATION ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 5%;
  background: rgba(10,22,40,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201,168,76,0.12);
  transition: padding 0.3s;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 600;
  letter-spacing: 0.04em; color: var(--white);
}
.logo span { color: var(--gold); }

.nav-links {
  display: flex; gap: 2.2rem; align-items: center;
}
.nav-links a {
  font-size: 0.82rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray); transition: color 0.3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-light); }

.nav-cta {
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 2px;
  font-size: 0.78rem !important;
  letter-spacing: 0.12em !important;
  transition: background 0.3s, color 0.3s !important;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--deep) !important;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--teal); color: var(--white);
  padding: 0.95rem 2.2rem; border: none; border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover { background: var(--teal-light); transform: translateY(-2px); }

.btn-gold {
  display: inline-block;
  background: var(--gold); color: var(--deep);
  padding: 0.95rem 2.2rem; border: none; border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; transition: background 0.3s, transform 0.2s;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5); font-size: 0.85rem;
  letter-spacing: 0.06em; transition: color 0.3s;
}
.btn-ghost::after { content: '→'; transition: transform 0.3s; }
.btn-ghost:hover { color: var(--gold-light); }
.btn-ghost:hover::after { transform: translateX(4px); }

.btn-outline {
  display: inline-block;
  border: 1px solid var(--teal); color: var(--teal-light);
  padding: 0.8rem 1.8rem; border-radius: 2px;
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}
.btn-outline:hover { background: var(--teal); color: var(--white); }

/* ── SECTION LABELS ── */
.section-tag {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal-light); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 10px;
}
.section-tag::before {
  content: ''; width: 24px; height: 1px; background: var(--teal-light);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 160px 5% 80px;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(14,140,110,0.12) 0%, transparent 60%),
    linear-gradient(160deg, var(--deep) 0%, var(--navy) 60%, var(--deep) 100%);
  position: relative; overflow: hidden;
}
.page-hero-grid {
  position: absolute; inset: 0; opacity: 0.03;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 2; max-width: 700px; }
.page-hero h1 { margin-bottom: 1.2rem; }
.page-hero p {
  font-size: 1.05rem; color: rgba(255,255,255,0.6);
  max-width: 520px; font-weight: 300; line-height: 1.8;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: var(--gray);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--gray); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: var(--gold); }

/* ── CARDS ── */
.card {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: 2px; padding: 2rem;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.card:hover {
  background: var(--navy-light);
  border-color: rgba(14,140,110,0.3);
  transform: translateY(-4px);
}
.card-top-accent {
  height: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s;
  margin-bottom: 1.5rem;
}
.card:hover .card-top-accent { transform: scaleX(1); }

/* ── TAG / BADGE ── */
.tag {
  display: inline-block;
  font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--teal-light); background: rgba(14,140,110,0.1);
  padding: 0.3rem 0.8rem; border-radius: 1px; margin-bottom: 1rem;
}
.tag-gold {
  color: var(--gold); background: rgba(201,168,76,0.1);
}

/* ── DIVIDERS ── */
.divider {
  height: 1px; background: var(--border); margin: 3rem 0;
}

/* ── FORMS ── */
.form-group { margin-bottom: 1.4rem; }
label {
  display: block;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 0.5rem;
}
input, textarea, select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px; padding: 0.9rem 1rem;
  color: var(--white); font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; outline: none; transition: border-color 0.3s;
}
input:focus, textarea:focus, select:focus { border-color: var(--teal); }
textarea { resize: vertical; min-height: 120px; }
select option { background: var(--deep); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-success {
  font-size: 0.85rem; color: var(--teal-light);
  padding: 0.8rem 1.2rem; border: 1px solid rgba(14,140,110,0.3);
  border-radius: 2px; display: none; margin-top: 1rem;
}

/* ── FOOTER ── */
footer {
  background: #060e1a;
  padding: 4rem 5% 2rem;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand p {
  font-size: 0.85rem; color: var(--gray);
  line-height: 1.8; margin-top: 0.8rem;
  font-weight: 300; max-width: 280px;
}
.footer-col h5 {
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem; font-weight: 500;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul li a {
  font-size: 0.84rem; color: var(--gray); transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem; border-top: 1px solid var(--border);
  font-size: 0.78rem; color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: rgba(255,255,255,0.3); transition: color 0.3s; }
.footer-bottom a:hover { color: var(--gray); }
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: var(--gray); transition: border-color 0.3s, color 0.3s;
}
.footer-socials a:hover { border-color: var(--gold); color: var(--gold); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.anim-1 { animation: fadeUp 0.9s 0.1s ease both; }
.anim-2 { animation: fadeUp 0.9s 0.25s ease both; }
.anim-3 { animation: fadeUp 0.9s 0.4s ease both; }
.anim-4 { animation: fadeUp 0.9s 0.55s ease both; }

/* ── STAT STRIP ── */
.stat-strip {
  display: flex; gap: 0;
  border-top: 1px solid var(--border); padding-top: 2.5rem; margin-top: 4rem;
}
.stat { flex: 1; padding-right: 2rem; }
.stat + .stat {
  padding-left: 2rem; border-left: 1px solid var(--border);
}
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem; font-weight: 300; color: var(--gold-light); line-height: 1;
}
.stat-label { font-size: 0.78rem; color: var(--gray); letter-spacing: 0.05em; margin-top: 4px; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .grid-2  { grid-template-columns: 1fr; gap: 3rem; }
  .grid-3  { grid-template-columns: 1fr 1fr; }
  .grid-4  { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .nav-links { display: none; }
  .stat-strip { flex-wrap: wrap; gap: 1.5rem; }
  .stat + .stat { border-left: none; padding-left: 0; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  section { padding: 4rem 5%; }
  .page-hero { padding: 130px 5% 60px; }
}
