/* ============================================================
   DPT Alpha Pharma and Medical Supplies — shared stylesheet
   Brand: Navy / Gold / Gray (see project Brand Guide)
   ============================================================ */

:root{
  --navy: #1A3E58;
  --navy-deep: #12293B;
  --gold: #AD8535;
  --gold-light: #E1C289;
  --gray: #D5D6D8;
  --gray-light: #F2F2F3;
  --gold-tint: #FAF3E4;
  --gold-tint-deep: #F3E5C8;
  --ink: #1A1A1A;
  --muted: #6B7280;
  --white: #FFFFFF;

  --tube-purple: #6A4C93;
  --tube-red: #C0392B;
  --tube-yellow: #E8B923;
  --tube-blue: #2E75B6;

  --font-head: Cambria, Georgia, "Times New Roman", serif;
  --font-body: Calibri, "Segoe UI", Arial, Helvetica, sans-serif;

  --radius: 10px;
  --shadow: 0 6px 24px rgba(18, 41, 59, 0.10);
  --container: 1140px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4{
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1{ font-size: clamp(2rem, 4vw, 3rem); }
h2{ font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3{ font-size: 1.3rem; }

p{ margin: 0 0 1em; color: var(--ink); }
a{ color: var(--navy); text-decoration: none; }
a:hover{ color: var(--gold); }

img{ max-width: 100%; display: block; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section{ padding: 72px 0; }
.section--tight{ padding: 48px 0; }
.section--gray{ background: var(--gold-tint); }
.section--navy{ background: var(--gold-tint); color: var(--ink); border-top: 1px solid var(--gold-light); border-bottom: 1px solid var(--gold-light); }
.section--navy h2, .section--navy h3{ color: var(--navy); }
.section--navy p{ color: var(--ink); }

.eyebrow{
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75em;
}

.lede{
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 60ch;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn--primary{
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.btn--primary:hover{
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy-deep);
}
.btn--outline{
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn--outline:hover{
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: var(--white);
}
.btn--outline-navy{
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline-navy:hover{
  background: var(--navy);
  color: var(--white);
}
.btn--dark{
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--dark:hover{
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--white);
}

/* ---------- Header / Nav ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--gray);
}
.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.nav__brand{ display: flex; align-items: center; gap: 10px; }
.nav__brand img{ height: 42px; width: auto; }
.nav__links{
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__links a{
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav__links a:hover, .nav__links a.active{
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.nav__cta{ margin-left: 8px; }
.nav__toggle{ display: none; }

@media (max-width: 860px){
  .nav__links{
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--gray);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav__links.open{ max-height: 400px; }
  .nav__links li{ width: 100%; }
  .nav__links a{ display: block; padding: 14px 24px; border-bottom: 1px solid var(--gray-light); }
  .nav__cta{ margin: 12px 24px 16px; display: inline-block; }
  .nav__toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border: 1px solid var(--gray);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
  }
  .nav__toggle span, .nav__toggle span::before, .nav__toggle span::after{
    content: "";
    display: block;
    width: 18px; height: 2px;
    background: var(--navy);
    position: relative;
  }
  .nav__toggle span::before{ position: absolute; top: -6px; }
  .nav__toggle span::after{ position: absolute; top: 6px; }
}

/* ---------- Hero ---------- */
.hero{
  background: linear-gradient(160deg, var(--white) 0%, var(--gold-tint) 78%, var(--gold-tint-deep) 100%);
  color: var(--ink);
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::after{
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,62,88,0.10) 0%, rgba(26,62,88,0) 70%);
}
.hero .container{ position: relative; z-index: 1; }
.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px){ .hero-grid{ grid-template-columns: 1fr; } }
.hero h1{ color: var(--navy); }
.hero .lede{ color: var(--muted); max-width: 52ch; }
.hero-actions{ display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-badges{
  display: flex; gap: 18px; flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--gold-light);
}
.hero-badge{ font-size: 0.85rem; color: var(--muted); }
.hero-badge strong{ display: block; color: var(--navy); font-family: var(--font-head); font-size: 1.4rem; }

.hero-card{
  background: var(--white);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.hero-card img{ border-radius: 8px; background: var(--white); padding: 24px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  background: linear-gradient(160deg, var(--white) 0%, var(--gold-tint) 100%);
  color: var(--ink);
  padding: 64px 0;
  border-bottom: 1px solid var(--gold-light);
}
.page-hero h1{ color: var(--navy); margin-bottom: 0.3em; }
.page-hero .lede{ color: var(--muted); }
.breadcrumb{ font-size: 0.85rem; color: var(--gold); margin-bottom: 12px; }
.breadcrumb a{ color: var(--muted); }

/* ---------- Cards / Grids ---------- */
.grid{ display: grid; gap: 28px; }
.grid--3{ grid-template-columns: repeat(3, 1fr); }
.grid--2{ grid-template-columns: repeat(2, 1fr); }
.grid--4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){
  .grid--3, .grid--4{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
  .grid--2, .grid--3, .grid--4{ grid-template-columns: 1fr; }
}

.card{
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card--flat{ box-shadow: none; background: var(--white); border-color: var(--gray); }
.card h3{ margin-bottom: 0.4em; }
.card p:last-child{ margin-bottom: 0; }

.icon-chip{
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--gold-light);
  color: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.2rem;
  margin-bottom: 16px;
  font-family: var(--font-head);
}

/* ---------- Section heading ---------- */
.section-head{ max-width: 720px; margin-bottom: 44px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Table ---------- */
.table-wrap{ overflow-x: auto; }
table{ width: 100%; border-collapse: collapse; background: var(--white); }
th, td{
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--gray);
  vertical-align: top;
}
th{
  font-family: var(--font-head);
  color: var(--navy);
  background: var(--gray-light);
  font-size: 0.95rem;
}
tr:last-child td{ border-bottom: none; }

/* ---------- Product photo gallery ---------- */
.product-gallery{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 32px; }
@media (max-width: 900px){ .product-gallery{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .product-gallery{ grid-template-columns: 1fr; } }
.product-photo{
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.product-photo img{ width: 100%; aspect-ratio: 4/3; object-fit: contain; background: var(--white); display: block; }
.product-photo-caption{ padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.product-photo-caption .tube-cap{ width: 16px; height: 16px; flex-shrink: 0; }
.product-photo-caption span.name{ font-weight: 700; color: var(--navy); font-size: 0.9rem; line-height: 1.3; }

/* ---------- Tube chips (LEVAC cap colors — functional, not brand) ---------- */
.tube-list{ display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.tube{
  display: flex; align-items: center; gap: 14px;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.tube-cap{
  width: 34px; height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(0,0,0,0.08);
}
.tube-cap--purple{ background: var(--tube-purple); }
.tube-cap--red{ background: var(--tube-red); }
.tube-cap--yellow{ background: var(--tube-yellow); }
.tube-cap--blue{ background: var(--tube-blue); }
.tube-name{ font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.tube-use{ font-size: 0.85rem; color: var(--muted); }

/* ---------- Values / list markers ---------- */
.value-list{ list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.value-list li{ display: flex; gap: 16px; }
.value-list .dot{
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 8px;
}

/* ---------- CTA band ---------- */
.cta-band{
  background: linear-gradient(120deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--navy-deep);
  padding: 56px 0;
  text-align: center;
}
.cta-band h2{ color: var(--navy-deep); }
.cta-band .lede{ margin: 0 auto 28px; color: var(--navy); opacity: 0.85; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--white);
  color: var(--muted);
  padding: 56px 0 28px;
  border-top: 3px solid var(--gold);
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 36px;
}
@media (max-width: 760px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-logo-chip{
  display: inline-block;
  margin-bottom: 14px;
}
.footer-logo-chip img{ height: 34px; }
.site-footer h4{
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.site-footer a{ color: var(--navy); }
.site-footer a:hover{ color: var(--gold); }
.site-footer ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.92rem; }
.footer-bottom{
  border-top: 1px solid var(--gray);
  padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- Contact page ---------- */
.contact-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 860px){ .contact-grid{ grid-template-columns: 1fr; } }
.contact-item{ display: flex; gap: 16px; margin-bottom: 24px; }
.contact-item .icon-chip{ margin-bottom: 0; }
.contact-item h4{ font-family: var(--font-head); color: var(--navy); margin-bottom: 4px; font-size: 1.05rem; }
.contact-item p{ margin: 0; color: var(--muted); }

form.contact-form{ display: grid; gap: 16px; }
.contact-form label{ font-weight: 700; font-size: 0.88rem; color: var(--navy); display: block; margin-bottom: 6px; }
.contact-form input, .contact-form textarea, .contact-form select{
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink);
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus{
  outline: none;
  border-color: var(--navy);
}
.contact-form textarea{ min-height: 130px; resize: vertical; }

/* ---------- Badges ---------- */
.badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-light);
  border: 1px solid var(--gray);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}
.badge--gold{ background: rgba(225,194,137,0.25); border-color: var(--gold-light); color: var(--gold); }

/* misc */
.mt-0{ margin-top: 0; }
.text-muted{ color: var(--muted); }
.stat{ text-align: center; }
.stat strong{ display: block; font-family: var(--font-head); font-size: 2.2rem; color: var(--navy); }
.stat span{ color: var(--muted); font-size: 0.9rem; }
