/* ============================================================
   RecoverReady — style.css
   Mobile-first, no frameworks, performance-optimized
   Color palette: deep teal #1a6b6b, white, soft amber #f5a623
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: #1a6b6b;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover,
a:focus {
  color: #13504f;
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid #f5a623;
  outline-offset: 2px;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #f5a623;
  outline-offset: 2px;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  color: #1a3c3c;
}

h1 { font-size: 1.75rem; margin-bottom: 0.75rem; }
h2 { font-size: 1.5rem;  margin-bottom: 0.6rem;  }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem;  }

p { margin-bottom: 1rem; }

/* ----- Layout Utility ----- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 2px solid #1a6b6b;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  max-width: 1120px;
  margin: 0 auto;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a6b6b;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo:hover { text-decoration: none; color: #1a6b6b; }

.nav-logo span {
  color: #f5a623;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a6b6b;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 2px solid #1a6b6b;
  padding: 0.5rem 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.nav-links.open {
  display: block;
}

.nav-links li {
  border-bottom: 1px solid #eef5f5;
}

.nav-links a {
  display: block;
  padding: 0.75rem 1.25rem;
  font-weight: 500;
  color: #333;
}

.nav-links a:hover,
.nav-links a.active {
  background: #eef5f5;
  color: #1a6b6b;
  text-decoration: none;
}

.nav-links .bmc-link {
  color: #f5a623;
  font-weight: 600;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  padding: 0.75rem 0;
  font-size: 0.85rem;
  color: #777;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.breadcrumbs li::after {
  content: "/";
  margin-left: 0.4rem;
  color: #bbb;
}

.breadcrumbs li:last-child::after {
  content: "";
}

.breadcrumbs a {
  color: #1a6b6b;
}

.breadcrumbs span {
  color: #555;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #1a6b6b 0%, #237a7a 100%);
  color: #fff;
  padding: 2.5rem 1rem;
  text-align: center;
}

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

.hero p {
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 1.25rem;
  opacity: 0.92;
}

.hero .btn {
  margin-top: 0.5rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: #f5a623;
  color: #1a3c3c;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #e69615;
  text-decoration: none;
  color: #1a3c3c;
}

.btn-secondary {
  background: #fff;
  color: #1a6b6b;
  border: 2px solid #1a6b6b;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: #eef5f5;
  text-decoration: none;
}

.btn-link {
  background: none;
  color: #1a6b6b;
  padding: 0;
  font-weight: 600;
  text-decoration: underline;
}

.btn-link:hover {
  color: #13504f;
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
}

/* ============================================================
   SURGERY CARD GRID (Homepage)
   ============================================================ */
.surgery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
}

.surgery-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid #dde9e9;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.surgery-card:hover,
.surgery-card:focus {
  border-color: #1a6b6b;
  box-shadow: 0 3px 12px rgba(26,107,107,0.1);
  text-decoration: none;
  color: #333;
}

.surgery-card .card-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 48px;
  text-align: center;
}

.surgery-card .card-title {
  font-weight: 600;
  font-size: 1rem;
  color: #1a3c3c;
}

.surgery-card .card-desc {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.15rem;
}

/* Category heading in grid */
.surgery-category {
  grid-column: 1 / -1;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a6b6b;
  padding-top: 1rem;
  border-bottom: 2px solid #eef5f5;
  padding-bottom: 0.4rem;
}

/* ============================================================
   PRODUCT CHECKLIST TABLE
   ============================================================ */
.checklist-section {
  margin: 2rem 0;
}

.tier-label {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.tier-must-have  { background: #1a6b6b; color: #fff; }
.tier-recommended { background: #3a9a9a; color: #fff; }
.tier-nice-to-have { background: #d5e8e8; color: #1a3c3c; }

.checklist-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.checklist-table thead {
  background: #f7fafa;
}

.checklist-table th {
  text-align: left;
  padding: 0.6rem 0.75rem;
  font-weight: 600;
  color: #1a3c3c;
  border-bottom: 2px solid #1a6b6b;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.checklist-table td {
  padding: 0.75rem;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.checklist-table tr:hover {
  background: #f9fcfc;
}

.checklist-table .product-name {
  font-weight: 600;
  color: #1a3c3c;
}

.checklist-table .amazon-link {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  background: #f5a623;
  color: #1a3c3c;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.checklist-table .amazon-link:hover {
  background: #e69615;
  text-decoration: none;
}

/* Mobile: stack table cells */
.checklist-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ============================================================
   PRODUCT COMPARISON TABLE
   ============================================================ */
.comparison-section {
  margin: 2rem 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.comparison-table caption {
  text-align: left;
  font-weight: 700;
  font-size: 1.1rem;
  color: #1a3c3c;
  margin-bottom: 0.5rem;
  caption-side: top;
}

.comparison-table th {
  background: #1a6b6b;
  color: #fff;
  text-align: left;
  padding: 0.6rem 0.75rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.comparison-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.comparison-table tbody tr:nth-child(even) {
  background: #f7fafa;
}

.comparison-table .amazon-link {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  background: #f5a623;
  color: #1a3c3c;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ============================================================
   RECOVERY TIMELINE
   ============================================================ */
.timeline {
  padding: 1.5rem 0;
}

.timeline-item {
  position: relative;
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: #f7fafa;
  border-left: 4px solid #1a6b6b;
  border-radius: 0 8px 8px 0;
}

.timeline-item h3 {
  color: #1a6b6b;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.timeline-item .week-label {
  display: inline-block;
  background: #1a6b6b;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.timeline-item ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.timeline-item li {
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: #444;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-section {
  margin: 2rem 0;
}

.faq-item {
  border: 1px solid #dde9e9;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  background: #fff;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a3c3c;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  transition: background 0.2s;
  font-family: inherit;
  line-height: 1.4;
}

.faq-question:hover {
  background: #f7fafa;
}

.faq-question::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: #1a6b6b;
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-item.open .faq-question::after {
  content: "\2212";
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1rem;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ============================================================
   STAR RATING (Display + Interactive)
   ============================================================ */
.stars {
  display: inline-flex;
  gap: 2px;
  align-items: center;
}

.stars svg {
  width: 20px;
  height: 20px;
}

.star-filled {
  fill: #f5a623;
}

.star-empty {
  fill: #d4d4d4;
}

.star-half {
  fill: url(#half-star-gradient);
}

/* Interactive rating input */
.star-rating-input {
  display: inline-flex;
  gap: 2px;
  cursor: pointer;
  direction: ltr;
}

.star-rating-input svg {
  width: 28px;
  height: 28px;
  cursor: pointer;
  transition: fill 0.15s;
}

.star-rating-input svg:hover,
.star-rating-input svg.hover {
  fill: #f5a623;
}

.star-rating-input svg.selected {
  fill: #f5a623;
}

.star-rating-input svg.unselected {
  fill: #d4d4d4;
}

.rating-value {
  font-weight: 700;
  color: #1a3c3c;
  font-size: 1.1rem;
  margin-left: 0.4rem;
}

.rating-count {
  color: #777;
  font-size: 0.85rem;
  margin-left: 0.3rem;
}

/* ============================================================
   REVIEW CARDS
   ============================================================ */
.reviews-list {
  margin: 1.5rem 0;
}

.review-card {
  padding: 1.25rem;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 1rem;
  background: #fff;
}

.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.review-card .reviewer-name {
  font-weight: 600;
  color: #1a3c3c;
  font-size: 0.95rem;
}

.review-card .review-date {
  font-size: 0.8rem;
  color: #999;
}

.review-card .review-text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.review-card .review-surgery {
  display: inline-block;
  background: #eef5f5;
  color: #1a6b6b;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  margin-top: 0.5rem;
}

/* ============================================================
   REVIEW FORM
   ============================================================ */
.review-form {
  background: #f7fafa;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.review-form h3 {
  color: #1a3c3c;
  margin-bottom: 1rem;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #1a3c3c;
  margin-bottom: 0.35rem;
}

.form-group input[type="text"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ccd8d8;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #333;
  background: #fff;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #1a6b6b;
}

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

.form-group .char-count {
  font-size: 0.75rem;
  color: #999;
  text-align: right;
  margin-top: 0.2rem;
}

/* Honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-message {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-top: 1rem;
  display: none;
}

.form-message.success {
  background: #e6f5e6;
  color: #2d7a2d;
  border: 1px solid #b8deb8;
  display: block;
}

.form-message.error {
  background: #fde8e8;
  color: #c53030;
  border: 1px solid #f5b8b8;
  display: block;
}

/* ============================================================
   STATS BAR CHART
   ============================================================ */
.stats-chart {
  margin: 1.5rem 0;
}

.chart-bar-row {
  display: flex;
  align-items: center;
  margin-bottom: 0.6rem;
  gap: 0.75rem;
}

.chart-label {
  flex: 0 0 140px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #1a3c3c;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chart-bar-wrap {
  flex: 1;
  background: #eef5f5;
  border-radius: 4px;
  height: 24px;
  overflow: hidden;
}

.chart-bar {
  height: 100%;
  background: linear-gradient(90deg, #1a6b6b, #3a9a9a);
  border-radius: 4px;
  min-width: 2px;
  transition: width 0.6s ease;
}

.chart-value {
  flex: 0 0 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #555;
}

.stats-number {
  font-size: 2rem;
  font-weight: 700;
  color: #1a6b6b;
}

.stats-number-label {
  font-size: 0.85rem;
  color: #777;
  margin-top: 0.1rem;
}

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

.stat-box {
  background: #f7fafa;
  border: 1px solid #dde9e9;
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
}

/* ============================================================
   MEDICAL DISCLAIMER BADGE / BANNER
   ============================================================ */
.disclaimer-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #fff8e6;
  border: 1px solid #f5a623;
  border-radius: 6px;
  font-size: 0.8rem;
  color: #7a5a10;
  margin: 1rem 0;
  line-height: 1.5;
}

.disclaimer-badge .badge-icon {
  flex-shrink: 0;
  font-size: 1.25rem;
}

.disclaimer-banner {
  background: #fff8e6;
  border-bottom: 2px solid #f5a623;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  color: #7a5a10;
  text-align: center;
}

/* ============================================================
   AFFILIATE DISCLOSURE
   ============================================================ */
.affiliate-notice {
  padding: 0.6rem 1rem;
  background: #f2f7f7;
  border: 1px solid #d5e8e8;
  border-radius: 6px;
  font-size: 0.78rem;
  color: #555;
  margin: 1rem 0;
  line-height: 1.5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #1a3c3c;
  color: #ccc;
  padding: 2rem 1rem;
  margin-top: 3rem;
  font-size: 0.85rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: #aad4d4;
  font-weight: 500;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  color: #8aaa;
  font-size: 0.8rem;
  border-top: 1px solid #2a5252;
  padding-top: 1rem;
  margin-top: 1rem;
}

.footer-disclosure {
  font-size: 0.75rem;
  color: #8aaa;
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* ============================================================
   SECTIONS — Content blocks
   ============================================================ */
.section {
  padding: 2rem 0;
}

.section-alt {
  background: #f7fafa;
}

.section-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  color: #1a3c3c;
}

.section-header p {
  color: #666;
  max-width: 600px;
  margin: 0.5rem auto 0;
}

/* Steps / How it works */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  counter-reset: step;
}

.step-item {
  text-align: center;
  padding: 1.25rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #1a6b6b;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.step-item h3 {
  color: #1a3c3c;
}

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

/* Bullet stats */
.stat-bullets {
  list-style: none;
  padding: 0;
}

.stat-bullets li {
  padding: 0.6rem 0;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.stat-bullets li::before {
  content: "\2713";
  color: #1a6b6b;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   GUIDE / ARTICLE CONTENT
   ============================================================ */
.article-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.article-content h2 {
  margin-top: 2rem;
}

.article-content ul,
.article-content ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin-bottom: 0.4rem;
}

.article-content blockquote {
  border-left: 4px solid #1a6b6b;
  padding: 0.75rem 1rem;
  background: #f7fafa;
  margin: 1rem 0;
  font-style: italic;
  color: #555;
}

/* Related links box */
.related-box {
  background: #f7fafa;
  border: 1px solid #dde9e9;
  border-radius: 8px;
  padding: 1.25rem;
  margin: 2rem 0;
}

.related-box h3 {
  color: #1a6b6b;
  margin-bottom: 0.75rem;
}

.related-box ul {
  list-style: none;
  padding: 0;
}

.related-box li {
  margin-bottom: 0.4rem;
}

.related-box a {
  font-weight: 500;
}

/* ============================================================
   FILTER / DROPDOWN
   ============================================================ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 1rem 0;
}

.filter-bar select {
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccd8d8;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #333;
  background: #fff;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.5rem;
  border: 1px solid #dde9e9;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #1a6b6b;
  text-decoration: none;
  transition: background 0.2s;
}

.pagination a:hover {
  background: #eef5f5;
  text-decoration: none;
}

.pagination .active {
  background: #1a6b6b;
  color: #fff;
  border-color: #1a6b6b;
}

/* ============================================================
   LOADING / SKELETON
   ============================================================ */
.loading-spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid #dde9e9;
  border-top-color: #1a6b6b;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.skeleton {
  background: linear-gradient(90deg, #eef5f5 25%, #e0eded 50%, #eef5f5 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   RESPONSIVE — Tablet (768px)
   ============================================================ */
@media (min-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.65rem; }

  .hero {
    padding: 3.5rem 2rem;
  }

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

  .hero p {
    font-size: 1.15rem;
  }

  .surgery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Desktop nav */
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    position: static;
    border: none;
    box-shadow: none;
    padding: 0;
    gap: 0.25rem;
  }

  .nav-links li {
    border: none;
  }

  .nav-links a {
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
  }

  .chart-label {
    flex: 0 0 180px;
  }
}

/* ============================================================
   RESPONSIVE — Desktop (1024px)
   ============================================================ */
@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

  .hero {
    padding: 4.5rem 2rem;
  }

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

  .surgery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .review-form {
    max-width: 600px;
  }
}

/* ============================================================
   PRINT STYLES (Checklist printing)
   ============================================================ */
@media print {
  /* Hide non-essential elements */
  .site-header,
  .site-footer,
  .nav-toggle,
  .nav-links,
  .review-form,
  .reviews-list,
  .faq-section,
  .hero,
  .btn,
  .affiliate-notice,
  .related-box,
  .disclaimer-badge,
  .breadcrumbs,
  .pagination,
  .filter-bar,
  .stats-chart,
  .form-message {
    display: none !important;
  }

  body {
    font-size: 11pt;
    color: #000;
    background: #fff;
    line-height: 1.4;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  /* Show checklist tables clearly */
  .checklist-table {
    font-size: 10pt;
    page-break-inside: avoid;
  }

  .checklist-table th {
    background: #eee !important;
    color: #000 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .checklist-table td {
    border-bottom: 1px solid #ccc;
  }

  .tier-label {
    border: 1px solid #000;
    background: none !important;
    color: #000 !important;
  }

  .amazon-link {
    background: none !important;
    color: #000 !important;
    text-decoration: underline;
  }

  /* Show URLs for links */
  .checklist-table a::after {
    content: " (" attr(href) ")";
    font-size: 8pt;
    color: #555;
  }

  .comparison-table {
    page-break-inside: avoid;
  }

  .comparison-table th {
    background: #ddd !important;
    color: #000 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .timeline-item {
    border-left-color: #000;
    background: none;
    page-break-inside: avoid;
  }

  h1, h2, h3 {
    page-break-after: avoid;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  /* Print header */
  .print-header {
    display: block !important;
    text-align: center;
    margin-bottom: 1rem;
    border-bottom: 2px solid #000;
    padding-bottom: 0.5rem;
  }
}

.print-header {
  display: none;
}

/* ============================================================
   MISC / UTILITY
   ============================================================ */
.text-center { text-align: center; }
.text-muted  { color: #777; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
