/* legal.css - Premium styling for Terms & Privacy Pages */
.legal-page-wrap {
  padding: 80px 20px;
  background-color: #fafafa;
  min-height: 80vh;
}
.legal-container {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
  overflow: hidden;
  border: 1px solid #f1f1f1;
}

.legal-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px;
  border-bottom: 1px solid #f1f1f1;
}

.legal-hero-text {
  max-width: 500px;
}
.legal-hero-text h1 {
  font-family: var(--font-display);
  font-size: 56px;
  color: #111;
  margin-bottom: 16px;
  line-height: 1;
  letter-spacing: 0.02em;
}
.legal-hero-text p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.legal-hero-icon {
  width: 140px;
  height: 140px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.legal-hero-icon::before {
  content: '';
  position: absolute;
  inset: -15px;
  border: 1px dashed #ff7043;
  border-radius: 50%;
  opacity: 0.3;
}
.legal-hero-icon svg {
  color: #a3a3a3;
  width: 60px;
  height: 60px;
}
.legal-hero-icon .shield-check {
  position: absolute;
  bottom: 25px;
  right: 25px;
  color: #ff7043;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
}

.legal-content {
  padding: 60px;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.legal-card {
  display: flex;
  gap: 20px;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #f1f1f1;
  transition: transform 0.3s, box-shadow 0.3s;
}
.legal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.legal-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid #ff7043;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff7043;
}
.legal-icon svg {
  width: 24px;
  height: 24px;
}

.legal-text h3 {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.legal-text p, .legal-text ul {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}
.legal-text ul {
  margin-top: 10px;
  padding-left: 20px;
}
.legal-text li {
  margin-bottom: 6px;
}

.legal-contact-card {
  grid-column: 1 / -1;
  background: #fff9f5;
  border: 1px solid #ffe8db;
  border-radius: 12px;
  padding: 40px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}
.legal-contact-card-header {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}
.legal-contact-card-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.legal-contact-card-header p {
  font-size: 14px;
  color: #666;
}
.legal-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-left: 70px;
}
.legal-contact-item {
  display: flex;
  gap: 12px;
}
.legal-contact-item svg {
  width: 20px;
  height: 20px;
  color: #ff7043;
  flex-shrink: 0;
  margin-top: 2px;
}
.legal-contact-item div h4 {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
}
.legal-contact-item div p {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-hero { flex-direction: column; text-align: center; gap: 40px; padding: 40px 20px; }
  .legal-contact-grid { grid-template-columns: 1fr; margin-left: 0; gap: 24px; }
}
@media (max-width: 640px) {
  .legal-page-wrap { padding: 40px 16px; }
  .legal-hero-text h1 { font-size: 42px; }
  .legal-content { padding: 24px; }
  .legal-card { flex-direction: column; padding: 24px; }
  .legal-icon { margin-bottom: 12px; }
  .legal-contact-card { padding: 24px; }
  .legal-contact-card-header { flex-direction: column; gap: 12px; }
}


/* FAQ Accordion Styles */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid #f1f1f1;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.active {
  border-color: #ff7043;
}

.faq-header {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  background: #fff;
  gap: 16px;
}

.faq-icon-left {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
  transition: all 0.3s;
}

.faq-item.active .faq-icon-left {
  background: #ff7043;
}

.faq-title {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  transition: color 0.3s;
}

.faq-item.active .faq-title {
  color: #ff7043;
}

.faq-icon-right {
  color: #111;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon-right {
  transform: rotate(180deg);
  color: #ff7043;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-body-inner {
  padding: 0 24px 24px 64px;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.faq-body-inner ul {
  padding-left: 20px;
  margin-top: 8px;
}
.faq-body-inner li {
  margin-bottom: 6px;
}

/* Updated Contact Banner for FAQ */
.faq-contact-banner {
  background: #fff9f5;
  border-radius: 12px;
  padding: 30px 40px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-contact-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.faq-contact-left svg {
  width: 40px;
  height: 40px;
  color: #ff7043;
}

.faq-contact-left h3 {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
}
.faq-contact-left p {
  font-size: 14px;
  color: #555;
}

.faq-contact-right {
  display: flex;
  gap: 40px;
}

.faq-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-contact-item svg {
  width: 24px;
  height: 24px;
  color: #ff7043;
}

.faq-contact-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  margin-bottom: 2px;
}

.faq-contact-item p {
  font-size: 14px;
  color: #555;
}

@media (max-width: 992px) {
  .faq-contact-banner { flex-direction: column; align-items: flex-start; gap: 30px; }
  .faq-contact-right { flex-direction: column; gap: 20px; }
}
@media (max-width: 480px) {
  .faq-header { padding: 16px; gap: 12px; }
  .faq-body-inner { padding: 0 16px 16px 52px; }
  .faq-contact-banner { padding: 20px; }
}
