/* ============================================
   Oral Dissolving Peptides — Stylesheet
   Clean, professional medical wholesale site
   ============================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}

a {
  color: #2b6cb0;
  text-decoration: none;
}
a:hover {
  color: #1a4f8b;
}

img {
  max-width: 100%;
  height: auto;
}

/* --- Layout Helpers --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 3.5rem 0;
}

.section--alt {
  background: #f7fafc;
}

.text-center {
  text-align: center;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  color: #1a365d;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

/* --- Header --- */
.site-header {
  background: #1a365d;
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.site-header__brand {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.site-header__brand a {
  color: #fff;
}

.site-header__brand span {
  color: #ed8936;
}

/* Nav */
.site-nav {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: #cbd5e0;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: color .2s, background .2s;
}

.site-nav a:hover,
.site-nav a.active {
  color: #fff;
  background: rgba(255,255,255,.1);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, #1a365d 0%, #2a4a7f 100%);
  color: #fff;
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
}

.hero-image img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.hero h1 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero h1 span {
  color: #ed8936;
}

.hero .subtitle {
  font-size: 1.15rem;
  color: #cbd5e0;
  max-width: 640px;
  margin: 0 auto 1rem;
}

.hero .patented-badge {
  display: inline-block;
  background: rgba(237, 137, 54, 0.15);
  border: 1px solid #ed8936;
  color: #ed8936;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  background: #ed8936;
  color: #fff;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}

.btn:hover {
  background: #dd6b20;
  color: #fff;
}

.btn--large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn--outline {
  background: transparent;
  border: 2px solid #ed8936;
  color: #ed8936;
}

.btn--outline:hover {
  background: #ed8936;
  color: #fff;
}

.sub-cta {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #a0aec0;
}

/* Sticky mobile CTA */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a365d;
  padding: 0.75rem 1rem;
  z-index: 150;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
  text-align: center;
}

.mobile-cta .btn {
  width: 100%;
  padding: 0.85rem;
  font-size: 1rem;
}

/* --- Stats Bar --- */
.stats-bar {
  background: #f7fafc;
  padding: 2rem 0;
  text-align: center;
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat h3 {
  font-size: 1.6rem;
  color: #2b6cb0;
  margin-bottom: 0.15rem;
}

.stat p {
  color: #718096;
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* --- Section Images --- */
.section-image {
  width: 70%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.section-image-round {
  display: block;
  max-width: 220px;
  height: auto;
  border-radius: 50%;
  margin: 0 auto 2rem;
}

/* --- Benefit Tags Bar --- */
.tags-bar {
  background: #fff;
  padding: 1.25rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.tags-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.benefit-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid #d4a05a;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #8b6914;
  background: #fffbf0;
}

/* --- Science Grid --- */
.science-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.science-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.25rem;
}

.science-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.science-item p {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 0;
}

/* --- Cards Grid --- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
  transition: box-shadow .2s, transform .2s;
}

.card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.07);
  transform: translateY(-2px);
}

.card .tag {
  display: inline-block;
  background: #ebf8ff;
  color: #2b6cb0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card h3 {
  margin-bottom: 0.25rem;
}

.card .peptide-name {
  font-size: 0.85rem;
  color: #2b6cb0;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.92rem;
  color: #555;
}

/* --- Coming Soon Card --- */
.coming-soon {
  background: linear-gradient(135deg, #1a365d 0%, #2a4a7f 100%);
  border-radius: 10px;
  padding: 2.5rem;
  color: #fff;
  text-align: center;
  margin-top: 2rem;
}

.coming-soon .badge {
  display: inline-block;
  background: #ed8936;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 12px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.coming-soon h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.coming-soon p {
  color: #cbd5e0;
  max-width: 500px;
  margin: 0 auto;
}

/* --- Advantages Grid --- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.adv-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: 8px;
  background: #f7fafc;
}

.adv-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #ebf8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2b6cb0;
  font-size: 1.1rem;
  font-weight: 700;
}

.adv-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.adv-item p {
  color: #718096;
  font-size: 0.87rem;
  margin-bottom: 0;
}

/* --- Absorption Comparison --- */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.comparison-card {
  background: #fff;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  border: 2px solid #e2e8f0;
  position: relative;
}

.comparison-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.comparison-rate {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.comparison-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.comparison-card p:last-child {
  font-size: 0.88rem;
  color: #555;
  margin-bottom: 0;
}

.comparison-card--lose {
  border-color: #feb2b2;
}

.comparison-card--lose .comparison-rate {
  color: #c53030;
}

.comparison-card--lose .comparison-label {
  color: #c53030;
}

.comparison-card--win {
  border-color: #2b6cb0;
  box-shadow: 0 8px 30px rgba(43, 108, 176, 0.15);
  transform: scale(1.03);
}

.comparison-card--win .comparison-rate {
  color: #2b6cb0;
}

.comparison-card--win .comparison-label {
  color: #2b6cb0;
}

.comparison-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #ed8936;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.comparison-card--neutral {
  border-color: #e2e8f0;
}

.comparison-card--neutral .comparison-rate {
  color: #718096;
}

.comparison-card--neutral .comparison-label {
  color: #718096;
}

/* --- Offer Section --- */
.offer-section {
  background: linear-gradient(135deg, #1a365d 0%, #2a4a7f 100%);
  color: #fff;
  padding: 3.5rem 0;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.offer-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
}

.offer-item h4 {
  color: #ed8936;
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.offer-item p {
  color: #cbd5e0;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --- Qualifies Grid --- */
.qual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.qual-item {
  padding: 0.85rem 1rem;
  background: #f7fafc;
  border-radius: 8px;
  font-size: 0.92rem;
  color: #1a365d;
  font-weight: 500;
  text-align: center;
}

/* --- Section Labels --- */
.section-label {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 2px;
  color: #2b6cb0;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  color: #718096;
  font-size: 1rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --- Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  text-align: center;
  padding: 1.5rem;
  background: #f7fafc;
  border-radius: 10px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #2b6cb0;
  color: #fff;
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step h3 {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.step p {
  font-size: 0.9rem;
  color: #555;
}

/* --- Forms --- */
.form-wrapper {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

.form-wrapper h3 {
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 0.25rem;
}

.form-sub {
  color: #718096;
  text-align: center;
  margin-bottom: 1.75rem;
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: 0.88rem;
  color: #1a365d;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color .2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #2b6cb0;
  box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* --- Two-column layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* --- Contact Info Block --- */
.contact-info dt {
  font-weight: 600;
  color: #1a365d;
  margin-top: 0.75rem;
}

.contact-info dd {
  margin-left: 0;
  color: #555;
}

/* --- Thank You --- */
.thank-you {
  display: none;
  text-align: center;
  padding: 2.5rem 1.25rem;
}

.thank-you h3 {
  color: #38a169;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.thank-you p {
  color: #718096;
}

/* --- Legal Pages --- */
.legal {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

.legal h2 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
}

.legal h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
}

.legal ul, .legal ol {
  margin: 0.5rem 0 1rem 1.5rem;
}

.legal li {
  margin-bottom: 0.35rem;
}

.legal p {
  color: #444;
}

/* --- Page Header (inner pages) --- */
.page-header {
  background: linear-gradient(135deg, #1a365d 0%, #2a4a7f 100%);
  color: #fff;
  padding: 2.5rem 0;
  text-align: center;
}

.page-header h1 {
  color: #fff;
  margin-bottom: 0.25rem;
}

.page-header p {
  color: #b8c8d8;
}

/* --- Footer --- */
.site-footer {
  background: #1a365d;
  color: #a0aec0;
  padding: 2.5rem 0 1.5rem;
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h4 {
  color: #e2e8f0;
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
}

.footer-grid p {
  margin-bottom: 0.35rem;
}

.footer-grid a {
  color: #a0aec0;
  display: block;
  margin-bottom: 0.3rem;
}

.footer-grid a:hover {
  color: #ed8936;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  text-align: center;
  color: #718096;
}

/* SMS Consent Section — A2P Compliance (DO NOT use inline styles on these elements) */
.consent-section {
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: #f7f8fa;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}
.consent-section h4 {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.consent-group {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.consent-group input[type="checkbox"] {
  margin-top: 0.25rem;
  min-width: 18px;
  min-height: 18px;
}
.consent-group label {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #555;
  font-weight: 400;
  display: inline;
}
.form-legal {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #666;
}
.form-legal a {
  text-decoration: underline;
}

/* --- Responsive --- */

/* Tablets */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .comparison-card--win {
    transform: none;
  }

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

/* Mobile */
@media (max-width: 768px) {
  /* Nav */
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #1a365d;
    padding: 0.5rem 1rem 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    z-index: 200;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0.5rem;
    font-size: 1rem;
  }

  /* Hero */
  .hero {
    padding: 2.5rem 0 2rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image {
    order: -1;
    max-width: 200px;
    margin: 0 auto 1rem;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero .subtitle {
    font-size: 0.95rem;
  }

  .patented-badge {
    font-size: 0.7rem;
    padding: 5px 14px;
  }

  .btn--large {
    padding: 0.85rem 2rem;
    font-size: 1rem;
    width: 100%;
    text-align: center;
  }

  /* Typography */
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }

  /* Sections */
  .section {
    padding: 2.5rem 0;
  }

  .offer-section {
    padding: 2.5rem 0;
  }

  /* Tags */
  .tags-grid {
    gap: 0.4rem;
  }

  .benefit-tag {
    font-size: 0.65rem;
    padding: 0.3rem 0.7rem;
  }

  /* Stats */
  .stats-bar {
    padding: 1.5rem 0;
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    text-align: center;
  }

  .stat h3 {
    font-size: 1.3rem;
  }

  /* Grids → single column */
  .two-col,
  .adv-grid,
  .offer-grid,
  .qual-grid,
  .comparison-grid,
  .science-grid {
    grid-template-columns: 1fr;
  }

  .comparison-card--win {
    transform: none;
  }

  .comparison-rate {
    font-size: 2.5rem;
  }

  /* Steps — keep as stack */
  .steps {
    grid-template-columns: 1fr;
  }

  /* Images */
  .section-image {
    width: 60%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
  }

  .section-image-round {
    max-width: 150px;
    margin-bottom: 1.5rem;
  }

  /* Cards */
  .cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .card {
    padding: 1.25rem;
  }

  /* Qualifies */
  .qual-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  /* Offer */
  .offer-item {
    padding: 1.25rem;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-wrapper {
    padding: 1.5rem;
  }

  /* Contact two-col */
  .two-col {
    gap: 1.5rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-bottom {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  /* Coming soon */
  .coming-soon {
    padding: 1.5rem;
  }

  .coming-soon h3 {
    font-size: 1.2rem;
  }

  /* Advantages */
  .adv-item {
    padding: 1rem;
  }

  /* Page header */
  .page-header {
    padding: 1.5rem 0;
  }

  /* Legal */
  .legal {
    padding: 1.5rem 1rem;
  }
}

  /* Sticky CTA */
  .mobile-cta {
    display: block;
  }

  /* Add padding at bottom so sticky CTA doesn't cover footer */
  body {
    padding-bottom: 70px;
  }

/* Small phones */
@media (max-width: 380px) {
  .hero h1 {
    font-size: 1.35rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .stat h3 {
    font-size: 1.1rem;
  }

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

  .benefit-tag {
    font-size: 0.6rem;
    padding: 0.25rem 0.6rem;
  }
}
