/* Patro Legal Pages — Shared Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #FF6B1A;
  --primary-dark: #E55A0F;
  --primary-light: #FFF1E3;
  --text: #1A1A1A;
  --text-secondary: #6B6B6B;
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --border: #EDE6DE;
  --shadow: rgba(0, 0, 0, 0.05);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  min-height: 100vh;
  direction: rtl;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 80px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  margin-bottom: 12px;
}

.hero p.subtitle {
  font-size: clamp(15px, 2vw, 18px);
  opacity: 0.92;
  max-width: 600px;
  margin: 0 auto;
}

.last-updated {
  display: inline-block;
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

/* Container */
.container {
  max-width: 880px;
  margin: -40px auto 60px;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.card {
  background: var(--surface);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 10px 40px var(--shadow);
  border: 1px solid var(--border);
}

/* Intro */
.intro {
  background: var(--primary-light);
  border-right: 4px solid var(--primary);
  padding: 18px 22px;
  border-radius: 12px;
  margin-bottom: 32px;
  color: var(--text);
}

.intro strong {
  color: var(--primary-dark);
}

/* Sections */
.section {
  margin-bottom: 36px;
}

.section:last-child {
  margin-bottom: 0;
}

.section h2 {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section h2 .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: white;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 900;
  flex-shrink: 0;
}

.section p,
.section li {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 10px;
}

.section p strong,
.section li strong {
  color: var(--text);
  font-weight: 700;
}

.section ul {
  padding-right: 22px;
  margin-top: 8px;
}

.section ul li {
  position: relative;
  padding-right: 8px;
  list-style: none;
  margin-bottom: 8px;
}

.section ul li::before {
  content: '';
  position: absolute;
  right: -16px;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

/* Contact box */
.contact-box {
  margin-top: 36px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #FFF8F0 100%);
  border: 1px solid rgba(255, 107, 26, 0.15);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.contact-box h3 {
  color: var(--primary-dark);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.contact-box p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 12px;
}

.contact-box a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.contact-box a:hover {
  border-bottom-color: var(--primary);
}

/* Footer */
.footer {
  text-align: center;
  padding: 30px 24px;
  color: var(--text-secondary);
  font-size: 14px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-brand {
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 6px;
  font-size: 16px;
}

/* Responsive */
@media (max-width: 600px) {
  .hero {
    padding: 60px 20px 50px;
  }

  .container {
    padding: 0 16px;
    margin-top: -30px;
  }

  .section h2 .num {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}
