/*
Theme Name: Ipamorin
Theme URI: https://ipamorin.com
Author: CoreyPauling
Description: Single-page product theme for Ipamorin™ (ipamorelin, selective growth hormone secretagogue) by CoreyPauling. All images replaceable via the Customizer. Navy/cyan CI with gold accents, Alexandria typography. Fully responsive with mobile menu. Includes published-research reference.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: ipamorin
*/

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Alexandria', sans-serif; color: #173861; background: #ffffff; overflow-x: hidden; }
a { color: #1A4CA0; text-decoration: none; }
a:hover { color: #36AAE1; }
::selection { background: #36AAE1; color: #fff; }
img { max-width: 100%; }

.sp-faq-answer { display: none; margin: 0; padding: 0 26px 22px; font-size: 14px; line-height: 1.8; font-weight: 300; color: #33507a; }
.sp-faq-item.open .sp-faq-answer { display: block; }
.sp-faq-toggle { all: unset; box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; min-height: 56px; padding: 18px 26px; cursor: pointer; font-family: 'Alexandria', sans-serif; font-size: 15px; font-weight: 600; color: #173861; }

/* Mobile menu */
.sp-burger { all: unset; box-sizing: border-box; display: none; width: 48px; height: 48px; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.sp-burger span { display: block; width: 24px; height: 2px; background: #173861; transition: transform .25s ease, opacity .2s ease; }
.sp-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sp-burger.open span:nth-child(2) { opacity: 0; }
.sp-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.sp-mobile-menu { position: fixed; top: 64px; left: 0; right: 0; bottom: 0; z-index: 49; background: #ffffff; padding: 10px 22px 40px; overflow-y: auto; }
.sp-mobile-menu a { display: flex; align-items: center; min-height: 56px; padding: 0 4px; border-bottom: 1px solid #eef2f7; font-size: 16px; font-weight: 500; color: #173861; }
.sp-nav-links a:last-child { white-space: nowrap; }
.sp-mobile-menu a.sp-mobile-cta { justify-content: center; margin-top: 22px; border-bottom: none; border-radius: 4px; background: #1A4CA0; color: #ffffff; font-weight: 600; letter-spacing: .5px; }
body.sp-menu-open { overflow: hidden; }

@media (max-width: 1000px) {
  .sp-nav-links { display: none !important; }
  .sp-burger { display: flex; }
  .sp-nav { height: 64px !important; padding: 0 18px !important; }
  .sp-nav img { height: 38px !important; }
}

@media (max-width: 1100px) {
  .sp-hero h1 { font-size: 52px !important; }
}

@media (max-width: 900px) {
  .sp-grid-2, .sp-grid-3, .sp-grid-research { grid-template-columns: 1fr !important; gap: 40px !important; }
  .sp-section { padding: 64px 22px !important; scroll-margin-top: 64px !important; }
  .sp-hero { padding: 56px 22px 64px !important; }
  .sp-hero h1 { font-size: 40px !important; letter-spacing: 3px !important; }
  .sp-hero-sub { font-size: 17px !important; letter-spacing: 2px !important; }
  .sp-hero-label { transform: none !important; max-width: 420px !important; }
  .sp-hero-cta { width: 100%; }
  .sp-hero-cta a { flex: 1 1 auto; text-align: center; }
  h2 { font-size: 27px !important; line-height: 1.3 !important; }
  .sp-stats { flex-wrap: wrap; gap: 22px 28px !important; }
  .sp-stats .sp-stat-rule { display: none; }
  .sp-spec-row { grid-template-columns: 1fr !important; gap: 4px !important; padding: 16px 20px !important; }
  .sp-about-media { height: 260px !important; }
  .sp-company-media { height: 240px !important; }
  .sp-tech-card { padding: 28px !important; }
  .sp-quality-card { padding: 26px !important; }
  .sp-faq-toggle { padding: 16px 18px !important; font-size: 14px !important; }
  .sp-faq-answer { padding: 0 18px 18px !important; }
  .sp-footer { padding: 40px 22px !important; }
  .sp-footer-top { flex-direction: column; align-items: flex-start !important; }
}

@media (max-width: 480px) {
  .sp-hero h1 { font-size: 33px !important; letter-spacing: 2px !important; }
  .sp-hero-cta { flex-direction: column; }
  .sp-hero-cta a { width: 100%; box-sizing: border-box; }
  .sp-stats { gap: 18px 24px !important; }
  .sp-stats > div > p:first-child { font-size: 24px !important; }
  h2 { font-size: 24px !important; }
  .sp-badges { gap: 10px !important; }
}
