/* ============================================================
   WAHAJ ARABIA — PAGE STYLES
   page-styles.css · Shared styles for all inner pages
   ============================================================ */

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--wj-deep);
  padding: calc(var(--nav-h) + clamp(48px, 8vw, 96px)) 0 clamp(48px, 8vw, 80px);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(188, 143, 42, 0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.45;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.page-hero .t-eyebrow {
  display: block;
  margin-bottom: 16px;
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  color: var(--paper);
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--wj-gold-light);
}

.page-hero__desc {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(245, 240, 248, 0.65);
  max-width: 560px;
  line-height: 1.7;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.breadcrumb a {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 240, 248, 0.4);
  transition: color 0.25s;
}

.breadcrumb a:hover { color: var(--wj-gold-light); }

.breadcrumb__sep {
  width: 12px;
  height: 1px;
  background: rgba(245, 240, 248, 0.2);
}

.breadcrumb__current {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wj-gold);
}

/* ── Glow Divider ── */
.glow-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(188, 143, 42, 0.35), transparent);
  margin: 0;
}

/* ── Content Section Wrapper ── */
.content-section {
  padding: var(--section-pad) 0;
}

.content-section--tight {
  padding: clamp(40px, 6vw, 72px) 0;
}

/* ── Two column layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.two-col--align-center { align-items: center; }

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ── Rich Text / Prose ── */
.prose h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  color: var(--ink);
  margin-bottom: 16px;
  margin-top: 40px;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 10px;
  margin-top: 28px;
}

.prose p {
  font-size: 16.5px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  line-height: 1.75;
}

.prose p:last-child { margin-bottom: 0; }

/* ── Services Page ── */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.service-item {
  background: var(--paper);
  border: 1px solid rgba(26, 8, 40, 0.07);
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.service-item:hover {
  box-shadow: 0 4px 24px rgba(26, 8, 40, 0.08);
}

.service-item__header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 4vw, 40px);
  cursor: pointer;
}

.service-item__num {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: rgba(26, 8, 40, 0.06);
  line-height: 1;
  flex-shrink: 0;
  width: 72px;
}

.service-item__title-block {
  flex: 1;
}

.service-item__category {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wj-gold);
  display: block;
  margin-bottom: 6px;
}

.service-item__title {
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--ink);
}

.service-item__arrow {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(26, 8, 40, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out);
}

.service-item:hover .service-item__arrow {
  background: var(--wj-gold);
  border-color: var(--wj-gold);
}

.service-item:hover .service-item__arrow svg {
  stroke: #fff;
}

.service-item__arrow svg {
  width: 16px;
  height: 16px;
  stroke: var(--ink-mute);
  transition: stroke 0.3s;
}

.service-item__body {
  padding: 0 clamp(24px, 4vw, 40px) clamp(24px, 4vw, 40px) calc(72px + 24px + clamp(24px, 4vw, 40px));
  display: none;
}

.service-item__body.open {
  display: block;
}

.service-item__body p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 680px;
}

.service-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tag {
  padding: 6px 14px;
  background: var(--wj-lavender);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wj-purple-2);
}

/* ── Team Page ── */
.departments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
}

.department-card {
  background: var(--wj-deep);
  padding: clamp(32px, 4vw, 48px);
  position: relative;
  overflow: hidden;
  transition: background 0.35s;
}

.department-card:hover {
  background: var(--wj-purple);
}

.department-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
  color: var(--wj-gold);
}

.department-card h3 {
  font-size: 20px;
  color: var(--paper);
  margin-bottom: 12px;
}

.department-card p {
  font-size: 14.5px;
  color: rgba(245, 240, 248, 0.55);
  line-height: 1.7;
}

.department-card__decoration {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(167, 91, 211, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

@media (max-width: 900px) {
  .departments-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .departments-grid { grid-template-columns: 1fr; }
}

/* ── Work / Capabilities Page ── */
.capabilities-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.capability-row {
  display: grid;
  grid-template-columns: 80px 1fr 200px;
  gap: 32px;
  align-items: start;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid rgba(26, 8, 40, 0.07);
  transition: background 0.25s;
}

.capability-row:first-child { border-top: 1px solid rgba(26, 8, 40, 0.07); }

.capability-row:hover {
  background: transparent;
}

.capability-row__index {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: rgba(26, 8, 40, 0.08);
  line-height: 1;
  padding-top: 4px;
}

.capability-row__content h3 {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--ink);
  margin-bottom: 10px;
}

.capability-row__content p {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.capability-row__tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}

.capability-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wj-purple-2);
  background: var(--wj-lavender);
  padding: 4px 10px;
  text-align: center;
}

@media (max-width: 700px) {
  .capability-row {
    grid-template-columns: 48px 1fr;
  }
  .capability-row__tags { display: none; }
}

/* ── About Page ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  padding: 36px;
  border-left: 2px solid var(--wj-gold);
  background: var(--wj-lavender);
}

.value-card h3 {
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ── Contact Page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-info-item__icon {
  width: 44px;
  height: 44px;
  background: var(--wj-lavender);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item__icon svg {
  width: 18px;
  height: 18px;
  color: var(--wj-purple-2);
}

.contact-info-item__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--wj-gold);
  display: block;
  margin-bottom: 4px;
}

.contact-info-item__value {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.contact-info-item__value a {
  color: var(--wj-purple-2);
  transition: color 0.25s;
}

.contact-info-item__value a:hover {
  color: var(--wj-gold);
}

/* Contact Form */
.contact-form {
  background: var(--wj-lavender);
  padding: clamp(28px, 4vw, 48px);
}

.contact-form__title {
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 8px;
}

.contact-form__subtitle {
  font-size: 14px;
  color: var(--ink-mute);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--paper);
  border: 1px solid rgba(26, 8, 40, 0.12);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
  appearance: none;
  border-radius: 0;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--wj-gold);
  box-shadow: 0 0 0 3px rgba(188, 143, 42, 0.1);
}

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

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6075' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ── Confidentiality Note ── */
.confidentiality-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(26, 8, 40, 0.04);
  border-left: 2px solid rgba(188, 143, 42, 0.4);
  margin-top: 40px;
}

.confidentiality-note svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--wj-gold);
}

.confidentiality-note p {
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.6;
  font-style: italic;
}
