/* Page-specific styles for Prosthetics page (/pages_css/prosthetics.css) */

.prosthetics-page {
  background-color: var(--bg-main, #ffffff);
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 14px;
  margin-bottom: 25px;
}

.breadcrumbs li {
  color: var(--color-text-muted, #627488);
}

.breadcrumbs li a {
  color: var(--color-text-muted, #627488);
  transition: color 0.2s ease;
}

.breadcrumbs li a:hover {
  color: var(--color-btn, #237DB5);
}

.breadcrumbs li::after {
  content: "/";
  margin-left: 8px;
  color: var(--color-border, #D8EBF5);
}

.breadcrumbs li:last-child::after {
  display: none;
}

.breadcrumbs li.current {
  color: var(--color-heading, #2E4663);
  font-weight: 500;
}

/* Page Hero Grid */
.page-hero.prosthetics-hero {
  background: linear-gradient(135deg, #FFFFFF 0%, #EAF6FC 100%);
  padding: 40px 0 60px;
  border-bottom: 1px solid var(--color-border, #D8EBF5);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--color-heading, #2E4663);
}

.hero-features-list svg {
  color: var(--color-btn, #237DB5);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Hero Form Card */
.hero-form-card {
  background: #FFFFFF;
  border-radius: var(--radius-md, 16px);
  padding: 30px;
  box-shadow: var(--shadow-lg, 0 16px 36px rgba(46, 70, 99, 0.12));
  border: 1px solid var(--color-border, #D8EBF5);
}

.form-card-header {
  margin-bottom: 20px;
  text-align: center;
}

.form-card-header h3 {
  font-size: 20px;
  color: var(--color-heading, #2E4663);
  margin-bottom: 6px;
}

.form-card-header p {
  font-size: 13px;
  color: var(--color-text-muted, #627488);
}

/* Types Grid */
.prosthetics-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.type-card {
  background: #FFFFFF;
  border-radius: var(--radius-md, 16px);
  border: 1px solid var(--color-border, #D8EBF5);
  box-shadow: var(--shadow-sm, 0 4px 12px rgba(46, 70, 99, 0.05));
  padding: 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.type-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md, 0 8px 24px rgba(46, 70, 99, 0.08));
  border-color: var(--color-btn, #237DB5);
}

.type-card.featured {
  border: 2px solid var(--color-btn, #237DB5);
  background: linear-gradient(180deg, #FFFFFF 0%, #F5FAFD 100%);
}

.type-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--color-btn, #237DB5);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
}

.type-header {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-border, #D8EBF5);
  padding-bottom: 15px;
}

.type-icon {
  width: 50px;
  height: 50px;
  background: var(--bg-section, #EAF6FC);
  color: var(--color-btn, #237DB5);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.type-header h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.type-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-btn, #237DB5);
}

.type-price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-muted, #627488);
}

.type-body {
  flex-grow: 1;
  margin-bottom: 25px;
}

.type-desc {
  font-size: 14px;
  color: var(--color-text-muted, #627488);
  margin-bottom: 18px;

}

.type-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.type-features li {
  font-size: 13px;
  color: var(--color-text, #232323);
  position: relative;
  padding-left: 18px;
}

.type-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-btn, #237DB5);
  font-size: 16px;
  line-height: 1;
}

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  background: #FFFFFF;
  border-radius: var(--radius-md, 16px);
  box-shadow: var(--shadow-sm, 0 4px 12px rgba(46, 70, 99, 0.05));
  border: 1px solid var(--color-border, #D8EBF5);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border, #D8EBF5);
}

.comparison-table th {
  background: var(--bg-section, #EAF6FC);
  color: var(--color-heading, #2E4663);
  font-weight: 500;
  font-size: 15px;
}

.comparison-table .highlight-col {
  background: rgba(35, 125, 181, 0.05);
}

.badge-star {
  color: #D97706;
  font-weight: 500;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.step-card {
  background: #FFFFFF;
  border-radius: var(--radius-md, 16px);
  padding: 25px 20px;
  border: 1px solid var(--color-border, #D8EBF5);
  box-shadow: var(--shadow-sm, 0 4px 12px rgba(46, 70, 99, 0.05));
}

.step-card .step-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-btn, #237DB5);
  margin-bottom: 12px;
}

.step-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--color-heading, #2E4663);
}

.step-card p {
  font-size: 13px;
  color: var(--color-text-muted, #627488);
  line-height: 1.5;
}

/* Calculator Block */
.calc-wrapper {
  background: #FFFFFF;
  border-radius: var(--radius-lg, 24px);
  box-shadow: var(--shadow-lg, 0 16px 36px rgba(46, 70, 99, 0.12));
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  border: 1px solid var(--color-border, #D8EBF5);
}

.calc-info h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.calc-features-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-feat {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.calc-feat-icon {
  width: 28px;
  height: 28px;
  background: var(--bg-section, #EAF6FC);
  color: var(--color-btn, #237DB5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.calc-box {
  background: var(--bg-section, #EAF6FC);
  padding: 30px;
  border-radius: var(--radius-md, 16px);
}

.calc-label {
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: var(--color-heading, #2E4663);
  margin-bottom: 12px;
}

.calc-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.calc-radio-card {
  display: block;
  cursor: pointer;
}

.calc-radio-card input {
  display: none;
}

.radio-box {
  display: block;
  background: #FFFFFF;
  padding: 10px 15px;
  border-radius: var(--radius-sm, 8px);
  border: 1px solid var(--color-border, #D8EBF5);
  font-size: 14px;
  transition: all 0.2s;
}

.calc-radio-card input:checked + .radio-box {
  border-color: var(--color-btn, #237DB5);
  background: rgba(35, 125, 181, 0.08);
  font-weight: 500;
  color: var(--color-btn, #237DB5);
}

.calc-select {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-sm, 8px);
  border: 1px solid var(--color-border, #D8EBF5);
  font-size: 14px;
  margin-bottom: 20px;
  background: #FFFFFF;
}

.calc-range-wrapper {
  margin-bottom: 25px;
}

.calc-range-wrapper input[type="range"] {
  width: 100%;
  margin-bottom: 10px;
  accent-color: var(--color-btn, #237DB5);
}

.range-display {
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-btn, #237DB5);
}

/* FAQ Accordion */
.faq-accordion-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: #FFFFFF;
  border-radius: var(--radius-sm, 8px);
  border: 1px solid var(--color-border, #D8EBF5);
  overflow: hidden;
  box-shadow: var(--shadow-sm, 0 4px 12px rgba(46, 70, 99, 0.05));
}

.faq-question {
  width: 100%;
  padding: 20px 25px;
  background: none;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-heading, #2E4663);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--color-btn, #237DB5);
}

.faq-icon {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-btn, #237DB5);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 25px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 25px 20px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--color-text-muted, #627488);
  line-height: 1.6;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(46, 70, 99, 0.95);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 15px 0;
  z-index: 1500;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.active {
  transform: translateY(0);
}

.cookie-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

.cookie-text a {
  color: var(--color-accent, #80C7E2);
  text-decoration: underline;
}

/* Modal Title */
.modal-title {
  font-size: 22px;
  color: var(--color-heading, #2E4663);
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 13px;
  color: var(--color-text-muted, #627488);
  margin-bottom: 20px;
}

/* Responsive styles */
@media (max-width: 992px) {
  .hero-grid,
  .calc-wrapper {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  .prosthetics-types-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .trust-container {
    flex-direction: column;
    gap: 20px;
  }

  .trust-divider {
    width: 60px;
    height: 1px;
  }

  .cookie-container {
    flex-direction: column;
    text-align: center;
  }
}