/* Pfilement Healthcare — shared stylesheet */

:root {
  --primary: #12B4E8;
  --primary-dark: #0D8EBD;
  --secondary: #0E8E4A;
  --secondary-dark: #0B723C;
  --dark: #262223;
  --dark-2: #3A3335;
  --ink: #1B2430;
  --gray: #5B6472;
  --line: #E3E8EF;
  --bg-soft: #F5F7FA;
  --white: #FFFFFF;
  --shadow: 0 10px 30px rgba(38, 34, 35, 0.08);
  --radius: 14px;
  --container: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 16px; color: var(--dark); }
p { margin: 0 0 16px; color: var(--gray); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-soft);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 { font-size: 32px; }
.section-head p { margin-bottom: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 8px 20px rgba(18,180,232,0.3); }

.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--dark); }

.btn-blue { background: var(--secondary); color: var(--white); }
.btn-blue:hover { background: var(--secondary-dark); box-shadow: 0 8px 20px rgba(14,142,74,0.3); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img { height: 48px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.nav-cta { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  color: var(--white);
  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(14,142,74,0.35), transparent 70%);
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 { color: var(--white); font-size: 44px; margin-bottom: 20px; }
.hero p.lead { color: rgba(255,255,255,0.85); font-size: 18px; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

.hero-art {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(4px);
}
.hero-art .cap-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.hero-art .cap-badge:last-child { margin-bottom: 0; }
.hero-art .cap-badge .dot {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary); font-weight: 800; color: var(--white);
}
.hero-art .cap-badge span { font-weight: 600; font-size: 15px; }

/* Page header (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--dark), var(--primary));
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.page-hero .eyebrow { color: #AEEBFF; }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto; }

/* Stats bar */
.stats-bar {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stats-grid > div { padding: 32px 16px; border-right: 1px solid var(--line); }
.stats-grid > div:last-child { border-right: none; }
.stats-grid .num { font-size: 32px; font-weight: 800; color: var(--secondary); }
.stats-grid .label { font-size: 14px; color: var(--gray); font-weight: 600; }

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
}

.feature-card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(14,142,74,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; }
.feature-card p { margin-bottom: 0; font-size: 15px; }

/* Product cards */
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.product-card .product-top {
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.product-card .product-index {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 12px;
  font-weight: 800;
  color: var(--white);
  background: var(--secondary);
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.product-card h3 { font-size: 21px; margin-bottom: 4px; }
.product-card .tagline {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.product-card .body { padding: 18px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.product-card .composition {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 16px;
  min-height: 42px;
}
.product-card .benefits { list-style: none; margin: 0; padding: 0; margin-top: auto; }
.product-card .benefits li {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  padding: 8px 0;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-card .benefits li:before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* CTA band */
.cta-band {
  background: var(--primary);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.9); margin-bottom: 28px; }

/* About page bits */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-art {
  background: linear-gradient(135deg, var(--bg-soft), #E7F7FC);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--line);
}
.value-list { list-style: none; margin: 0; padding: 0; }
.value-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.value-list li:last-child { border-bottom: none; }
.value-list .mark {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(18,180,232,0.12);
  color: var(--primary);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}

.cert-strip {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.cert-strip .cert {
  text-align: center;
  max-width: 160px;
}
.cert-strip .cert .badge {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 2px solid var(--secondary);
  color: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 12px;
  margin: 0 auto 12px;
}
.cert-strip .cert span { font-size: 13px; font-weight: 700; color: var(--dark); }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}
.contact-info .info-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-info .info-row .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(14,142,74,0.08);
  color: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}
.contact-info h4 { margin-bottom: 4px; font-size: 16px; }
.contact-info p { margin-bottom: 0; font-size: 14px; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-soft);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--secondary);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--gray); margin-top: 8px; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 260px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-weight: 600;
  margin-top: 24px;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-grid h4 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-grid .logo img { height: 44px; margin-bottom: 16px; }
.footer-grid p { color: rgba(255,255,255,0.65); font-size: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.75); }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.social-row a:hover { background: var(--primary); }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 24px; }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid > div:nth-child(2) { border-right: none; }
}

@media (max-width: 640px) {
  .nav-links, .nav-cta .btn-blue { display: none; }
  .nav-toggle { display: flex; }
  .nav-wrap.open .nav-links {
    display: flex;
    position: absolute;
    top: 66px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
  .hero h1 { font-size: 32px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 48px 0; }
}
