/* ═══════════════════════════════════════════════════════════
   HEEIZ COMPONENTS — Page-specific styles
   ═══════════════════════════════════════════════════════════ */

/* ─── Page Hero ─── */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: 120px;
}

.breadcrumb {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.breadcrumb a {
  color: var(--heeiz-teal-300);
  transition: color var(--duration-fast);
}

.breadcrumb a:hover { color: var(--white); }

/* ─── Blog / Archive ─── */
.post-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.post-thumb a:hover img {
  opacity: .9;
}

.post-meta { color: var(--heeiz-ink-500); }

/* ─── Registration Form ─── */
.heeiz-reg-form {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--heeiz-ink-100);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--heeiz-ink-700);
  margin-bottom: var(--space-2);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--heeiz-ink-100);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: .95rem;
  color: var(--heeiz-ink-800);
  background: var(--white);
  transition: all var(--duration-fast) var(--ease-smooth);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--heeiz-teal-400);
  box-shadow: 0 0 0 3px rgba(26,154,166,.12);
}

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

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }

.form-feedback {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: var(--space-4);
  display: none;
}

.form-feedback-success {
  background: rgba(22,163,74,.08);
  border: 1px solid rgba(22,163,74,.2);
  color: #16a34a;
}

.form-feedback-error {
  background: rgba(220,38,38,.08);
  border: 1px solid rgba(220,38,38,.2);
  color: #dc2626;
}

/* ─── FAQ Accordion ─── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--heeiz-ink-100);
  overflow: hidden;
  transition: box-shadow var(--duration-base);
}

.faq-item.open {
  box-shadow: var(--shadow-md);
  border-color: var(--heeiz-teal-200);
}

.faq-btn {
  width: 100%;
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 600;
  color: var(--heeiz-ink-800);
  text-align: start;
  cursor: pointer;
  transition: color var(--duration-fast);
  background: none;
  border: none;
  font-family: var(--font-primary);
}

.faq-item.open .faq-btn { color: var(--heeiz-teal-700); }

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--duration-base) var(--ease-smooth);
  color: var(--heeiz-ink-300);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--heeiz-teal-500);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-base) var(--ease-smooth);
}

.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-5);
  font-size: .95rem;
  color: var(--heeiz-ink-500);
  line-height: 1.8;
}

/* ─── Testimonials Swiper ─── */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--heeiz-ink-100);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
  color: var(--heeiz-gold-500);
  font-size: 1rem;
}

.testimonial-text {
  font-size: .95rem;
  color: var(--heeiz-ink-600);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: var(--space-5);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name   { font-weight: 700; font-size: .95rem; }
.testimonial-store  { font-size: .8rem; color: var(--heeiz-ink-400); }

/* Swiper Customization */
.swiper-pagination-bullet {
  background: var(--heeiz-teal-300);
  opacity: .5;
}

.swiper-pagination-bullet-active {
  background: var(--heeiz-teal-700);
  opacity: 1;
  width: 20px;
  border-radius: var(--radius-full);
}

/* ─── Logo Text (fallback) ─── */
.logo-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.logo-ar {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  font-family: var(--font-ar);
}

.logo-en {
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--heeiz-teal-300);
  margin-top: -2px;
}

/* ─── Widget Styles ─── */
.widget-title {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: var(--space-4);
}

/* ─── Page Content Typography ─── */
.page-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--heeiz-ink-900);
  margin: var(--space-8) 0 var(--space-4);
}

.page-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--heeiz-ink-800);
  margin: var(--space-6) 0 var(--space-3);
}

.page-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--heeiz-ink-600);
  margin-bottom: var(--space-4);
}

.page-content ul, .page-content ol {
  list-style: initial;
  padding-inline-start: var(--space-6);
  margin-bottom: var(--space-4);
}

.page-content li {
  font-size: .95rem;
  color: var(--heeiz-ink-600);
  margin-bottom: var(--space-2);
  line-height: 1.7;
}

.page-content a {
  color: var(--heeiz-teal-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-content a:hover { color: var(--heeiz-teal-800); }

.page-content img {
  border-radius: var(--radius-lg);
  max-width: 100%;
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-6);
}

.page-content table th,
.page-content table td {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--heeiz-ink-100);
  font-size: .9rem;
}

.page-content table th {
  background: var(--heeiz-teal-50);
  font-weight: 700;
  color: var(--heeiz-teal-800);
}

/* ─── Blockquote ─── */
.page-content blockquote {
  border-inline-start: 4px solid var(--heeiz-teal-400);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-6) 0;
  background: var(--heeiz-teal-50);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--heeiz-ink-600);
}
