/* Multi-page layout */
.page-main { min-height: 60vh; }
body.page-booking .header { border-bottom-color: rgba(187, 152, 93, 0.2); }

/* Page heroes */
.page-hero {
  position: relative;
  padding: clamp(4rem, 12vw, 7rem) 0 clamp(3rem, 8vw, 5rem);
  background: var(--hero-bg);
  color: #fff;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(187, 152, 93, 0.25), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(70, 72, 73, 0.4), transparent 50%),
    linear-gradient(160deg, #0a0b0c 0%, var(--grey-800) 50%, var(--grey-700) 100%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 720px; }
.page-hero .sec-tag { color: var(--gold-l); }
.page-hero h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0.75rem 0 1rem;
  color: #fff;
}
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 560px; }
.page-hero .btn { margin-top: 1.5rem; }
.page-hero-alt .page-hero-bg {
  background: linear-gradient(135deg, var(--grey-900) 0%, #1a1b1c 40%, rgba(187, 152, 93, 0.15) 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 12s ease-in-out infinite;
}
.hero-orb-1 { width: 320px; height: 320px; background: var(--gold); top: 10%; inset-inline-end: 5%; }
.hero-orb-2 { width: 200px; height: 200px; background: var(--grey-400); bottom: 20%; inset-inline-start: 10%; animation-delay: -4s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -30px); }
}

/* Portal grid — home */
.portal-section { background: var(--bg); }
.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.portal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.portal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(187, 152, 93, 0.06));
  opacity: 0;
  transition: opacity 0.35s;
}
.portal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(187, 152, 93, 0.35);
}
.portal-card:hover::before { opacity: 1; }
.portal-card-lg { grid-row: span 2; }
.portal-card-accent {
  background: linear-gradient(145deg, var(--grey-800), var(--grey-900));
  color: #fff;
  border-color: rgba(187, 152, 93, 0.3);
}
.portal-card-accent h3, .portal-card-accent p { color: inherit; }
.portal-card-accent p { opacity: 0.8; }
.portal-num { font-size: 0.7rem; font-weight: 700; color: var(--gold); letter-spacing: 0.1em; }
.portal-ico { font-size: 1.75rem; }
.portal-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-2); }
.portal-card p { font-size: 0.85rem; color: var(--text-3); flex: 1; }
.portal-arrow {
  align-self: flex-start;
  font-size: 1.25rem;
  color: var(--gold);
  transition: transform 0.3s var(--ease);
}
html[dir="rtl"] .portal-card:hover .portal-arrow { transform: translateX(-6px); }
html[dir="ltr"] .portal-card:hover .portal-arrow { transform: translateX(6px); }

/* CTA banner */
.cta-banner {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: linear-gradient(135deg, var(--grey-800), var(--grey-900));
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2.5rem 3rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(187, 152, 93, 0.25);
  background: rgba(187, 152, 93, 0.08);
}
.cta-copy .sec-tag-light { margin-bottom: 0.5rem; }
.cta-banner h2 { color: #fff; font-size: clamp(1.35rem, 3vw, 1.75rem); margin-bottom: 0.5rem; line-height: 1.3; }
.cta-banner p { color: rgba(255,255,255,0.72); margin: 0; line-height: 1.75; max-width: 42ch; }
.section-editorial { background: var(--bg-subtle); }
.section-editorial .certs-grid { margin-top: 3rem; }

/* Timeline */
.timeline-section { background: var(--bg-subtle); }
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 2.5rem;
  inset-inline: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-d), var(--gold), var(--gold-d));
  opacity: 0.4;
}
.tl-item {
  position: relative;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  z-index: 1;
}
.tl-year {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.tl-item h3 { font-size: 0.95rem; color: var(--text-2); margin-bottom: 0.35rem; }
.tl-item p { font-size: 0.8rem; color: var(--text-3); }

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.process-step {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
}
.process-step span {
  font-size: 2rem;
  font-weight: 700;
  color: rgba(187, 152, 93, 0.25);
  line-height: 1;
}
.process-step h3 { font-size: 1rem; color: var(--text-2); margin: 0.5rem 0; }
.process-step p { font-size: 0.85rem; color: var(--text-3); }

/* Culture */
.culture-banner {
  margin-top: 3rem;
  padding: 2.5rem;
  text-align: center;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(187, 152, 93, 0.12), transparent);
  border: 1px solid var(--border);
}
.culture-banner h2 { font-size: 1.35rem; color: var(--text-2); margin-bottom: 0.5rem; }
.culture-banner p { color: var(--text-3); max-width: 520px; margin-inline: auto; }

/* Contact extras */
.map-placeholder {
  margin-top: 1.25rem;
  padding: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-3);
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border);
}
.contact-book-link { margin-top: 0.75rem; text-align: center; }

/* Footer grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-l);
  margin-bottom: 0.75rem;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.4rem;
  line-height: 1.5;
}
.footer-col a:hover { color: #fff; }
.footer-brand .footer-logo { width: 140px; margin-bottom: 0.75rem; }

/* Page enter animation */
.page-main {
  animation: pageIn 0.6s var(--ease) both;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
  .portal-grid { grid-template-columns: repeat(2, 1fr); }
  .portal-card-lg { grid-row: span 1; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .portal-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .cta-banner-inner { padding: 1.5rem; flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
}
