/* ==========================================================================
   Royal Cans Factory Co. W.L.L. — Corporate Website
   Design System
   Palette: Navy #21427D | Maroon #A2202C | Gold #FAC634 | White #FFFFFF
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@400;500;600;700&display=swap");

:root {
  --navy: #21427D;
  --navy-dark: #17305B;
  --navy-light: #2F549A;
  --maroon: #A2202C;
  --maroon-dark: #7E1923;
  --gold: #FAC634;
  --white: #FFFFFF;
  --gray-50: #F5F7FA;
  --gray-100: #EAEEF4;
  --gray-200: #DCE2EC;
  --gray-400: #9AA6B8;
  --gray-600: #5B6675;
  --gray-800: #232A36;
  --text: #232A36;
  --text-muted: #5B6675;
  --border: #DCE2EC;

  --font-sans: "Inter", "Noto Sans Arabic", "Segoe UI", -apple-system,
    BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(20, 32, 60, 0.06);
  --shadow-md: 0 4px 12px rgba(20, 32, 60, 0.08);
  --shadow-lg: 0 12px 32px rgba(20, 32, 60, 0.14);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --container: 1440px;
  --header-h: 96px;
  --topbar-h: 40px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--navy);
  text-decoration: none;
}

a:hover {
  color: var(--maroon);
}

ul,
ol {
  list-style-position: inside;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 32px);
}

@media (min-width: 1024px) {
  .container {
    max-width: min(92vw, var(--container));
  }
}

section {
  padding: 72px 0;
}

.section-head {
  margin-bottom: 40px;
}

.section-head.center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 10px;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h1 {
  font-size: 2.6rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.3rem;
}

p {
  color: var(--text);
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
}

.bg-gray {
  background: var(--gray-50);
}

.bg-navy {
  background: var(--navy);
}

.bg-navy h2,
.bg-navy h3 {
  color: var(--white);
}

.bg-navy p {
  color: rgba(255, 255, 255, 0.86);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.18s ease;
  text-align: center;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-dark);
  color: var(--white);
}

.btn-secondary {
  background: var(--maroon);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--maroon-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
}

.btn-ghost:hover {
  background: var(--gray-100);
  color: var(--navy);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn-gold:hover {
  background: #f5bd1f;
  color: var(--navy-dark);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.02rem;
}

/* ---------- Header ---------- */
.topbar {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  padding: 0;
  height: var(--topbar-h);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--topbar-h);
  gap: 16px;
}

.topbar a {
  color: rgba(255, 255, 255, 0.9);
}

.topbar a:hover {
  color: var(--gold);
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  fill: var(--gold);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  white-space: nowrap;
}

.lang-btn {
  background: none;
  border: none;
  padding: 2px 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 3px;
  transition: color 0.15s ease;
}

.lang-btn:hover {
  color: var(--white);
}

.lang-btn.active {
  color: var(--gold);
}

.lang-sep {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.78rem;
  user-select: none;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.brand-logo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gray-100);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand-name .arabic {
  display: block;
  font-weight: 650;
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 0;
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}

.nav a:hover,
.nav a.active {
  color: var(--navy);
  background: var(--gray-100);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.header-cta .btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.nav .btn {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 40px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  stroke: var(--navy);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, #2F549A 100%);
  color: var(--white);
  padding: 96px 0;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 198, 52, 0.14) 0%, transparent 60%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: var(--white);
  font-size: 2.9rem;
  margin-bottom: 20px;
}

.hero h1 .gold {
  color: var(--gold);
}

.hero .lead {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.stat-value {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--white);
}

.stat-value .gold {
  color: var(--gold);
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-visual {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Placeholder blocks ---------- */
.placeholder {
  width: 100%;
  background: var(--gray-100);
  border: 2px dashed var(--gray-400);
  border-radius: var(--radius-md);
  color: var(--gray-600);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
  min-height: 200px;
}

.placeholder .ph-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gray-600);
}

.placeholder .ph-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gray-600);
}

.placeholder .ph-hint {
  font-size: 0.8rem;
  color: var(--gray-400);
  max-width: 260px;
}

.placeholder-sm {
  min-height: 140px;
}

.placeholder-photo {
  aspect-ratio: 4 / 3;
  min-height: 0;
  width: 100%;
}

.placeholder.photo-loaded {
  background: none;
  border: none;
  padding: 0;
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.placeholder.photo-loaded img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* ---------- Cards / grid ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-media {
  aspect-ratio: 4 / 3;
  background: var(--gray-100);
  position: relative;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  margin-bottom: 8px;
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.card-link {
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link svg {
  width: 15px;
  height: 15px;
}

.card-link:hover svg {
  transform: translateX(3px);
}

/* Product spec list */
.spec-list {
  list-style: none;
  margin: 0 0 16px;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.92rem;
}

.spec-list li:last-child {
  border-bottom: none;
}

.spec-list .label {
  color: var(--text-muted);
}

.spec-list .value {
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

/* ---------- Feature / split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
}

.check-list {
  list-style: none;
  margin-top: 16px;
}

.check-list li {
  padding: 6px 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Industry cards ---------- */
.industry-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.industry-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.industry-icon svg {
  width: 30px;
  height: 30px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 56px 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 6px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 70%);
  color: var(--white);
  padding: 72px 0;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 10px;
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.85);
  max-width: 720px;
}

.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

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

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
}

table.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

table.spec-table th,
table.spec-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
}

table.spec-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  white-space: nowrap;
}

table.spec-table tr:last-child td {
  border-bottom: none;
}

table.spec-table tbody tr:nth-child(even) {
  background: var(--gray-50);
}

table.spec-table td.empty {
  color: var(--gray-400);
  font-style: italic;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group label .req {
  color: var(--maroon);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(33, 66, 125, 0.12);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-success {
  display: none;
  background: #E9F6EE;
  border: 1px solid #B5DCC4;
  color: #1E6B3C;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.form-error {
  display: none;
  background: #FBE9EB;
  border: 1px solid #EDB6BC;
  color: #8A1B25;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

/* ---------- Contact ---------- */
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item .ci-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item .ci-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--navy);
}

.contact-item h4 {
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.contact-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.map-embed {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border-radius: var(--radius-md);
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 13px 18px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.18s ease;
}

.wa-float:hover {
  transform: translateY(-3px);
  color: var(--white);
}

.wa-float svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.wa-float .wa-text {
  display: inline-block;
}

.wa-float .wa-text-mobile {
  display: none;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 64px 0 0;
  margin-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

.footer ul a:hover {
  color: var(--gold);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  margin: 14px 0;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: var(--gold);
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease;
}

.footer-social a:hover {
  background: var(--navy);
}

.footer-social svg {
  width: 17px;
  height: 17px;
  fill: var(--white);
}

/* ---------- Notice / placeholder content ---------- */
.notice {
  background: #FDF6E3;
  border: 1px solid #EAD9A6;
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  color: #7A5C16;
  font-size: 0.92rem;
  margin-bottom: 28px;
}

.notice strong {
  color: #5C440F;
}

/* ---------- Page content (legal etc.) ---------- */
.legal-card {
  max-width: 1400px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 48px 56px;
}

.legal-head {
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 3px solid var(--gold);
}

.legal-head .legal-company {
  margin-bottom: 2px;
}

.legal-head .legal-company strong {
  color: var(--navy);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.legal-head .legal-updated {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.prose {
  max-width: 100%;
}

.prose h2 {
  margin: 0 0 16px;
  padding-top: 44px;
  border-top: 1px solid var(--border);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.prose h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.prose h3 {
  margin: 28px 0 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.prose p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.75;
}

.prose strong {
  color: var(--text);
  font-weight: 700;
}

.prose ul.check-list {
  margin: 0 0 18px;
}

.prose ul.check-list li {
  color: var(--text);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}

.gallery-item .g-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(23, 48, 91, 0.85);
  color: var(--white);
  font-size: 0.82rem;
  padding: 10px 14px;
}

/* ---------- Utility ---------- */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.text-center { text-align: center; }

.two-col {
  columns: 2;
  column-gap: 40px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1440px) {
  .brand { gap: 14px; }
  .brand-logo { width: 62px; height: 62px; }
  .brand-name { font-size: 1.25rem; }
  .brand-name .arabic { font-size: 0.875rem; }
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 260px; }
  .hero { padding: 64px 0; }
  .hero h1 { font-size: 2.3rem; }
}

@media (max-width: 860px) {
  .topbar-right { display: none; }
  .brand { gap: 14px; }
  .brand-logo { width: 66px; height: 66px; }
  .brand-name { font-size: 1.4rem; }
  .brand-name .arabic { font-size: 1.05rem; }
  .nav-toggle { display: flex; }
  .header-cta .btn {
    display: none;
  }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: 4px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 13px 14px;
    font-size: 1rem;
  }
  .nav .btn { display: flex; justify-content: center; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .grid-2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  section { padding: 48px 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .legal-card { padding: 32px 20px; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .wa-float .wa-text { display: none; }
  .wa-float .wa-text-mobile { display: inline-block; }
  .wa-float { padding: 14px; border-radius: 50%; }
  .two-col { columns: 1; }
  .brand-name .arabic { display: none; }
  .brand { gap: 12px; }
  .brand-logo { width: 56px; height: 56px; }
  .brand-name { font-size: 1.1rem; }
  .hero-stats { gap: 24px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .gallery-grid { grid-template-columns: 1fr; }
  .topbar-left .topbar-email { display: none; }
}

/* ---------- RTL ---------- */
html[dir="rtl"] body,
html[dir="rtl"] .header,
html[dir="rtl"] .footer {
  text-align: right;
}

html[dir="rtl"] .hero::after {
  right: auto;
  left: -120px;
}

html[dir="rtl"] .nav {
  text-align: right;
}

html[dir="rtl"] .card-link svg {
  transform: scaleX(-1);
}

html[dir="rtl"] .card-link:hover svg {
  transform: translateX(-3px) scaleX(-1);
}

html[dir="rtl"] .spec-list .value {
  text-align: left;
}

html[dir="rtl"] table.spec-table th,
html[dir="rtl"] table.spec-table td {
  text-align: right;
}

html[dir="rtl"] .wa-float {
  right: auto;
  left: 22px;
}

html[dir="rtl"] .lang-switch {
  margin-right: 0;
  margin-left: 4px;
}

html[dir="rtl"] .topbar-left .topbar-item a,
html[dir="rtl"] .topbar-right .topbar-item span {
  direction: ltr;
  unicode-bidi: isolate;
}

html[dir="rtl"] .footer-bottom {
  flex-direction: row-reverse;
}
