/* ==========================================================================
   شركة الثقة المتجددة للغاز والخدمات النفطية (ذات مسؤولية محدودة)
   Renewed Trust Company for Oil and Gas Services — Bilingual AR/EN Design System
   ========================================================================== */
:root {
  --navy-950: #011024;
  --navy-900: #011936;
  --navy-800: #0A244D;
  --navy-700: #133568;
  --gold-600: #A87B24;
  --gold-500: #C89B3C;
  --gold-400: #D3A971;
  --gold-300: #E9C98E;
  --gold-100: #F8F1E1;
  --ivory: #F8F7F4;
  --surface: #FFFFFF;
  --surface-alt: #F1F3F7;
  --ink-900: #0B172A;
  --ink-700: #2C3A52;
  --ink-500: #55637A;
  --border-light: rgba(1, 25, 54, 0.11);
  --border-gold: rgba(200, 155, 60, 0.34);
  --shadow-sm: 0 4px 14px rgba(1, 25, 54, 0.06);
  --shadow-md: 0 12px 32px rgba(1, 25, 54, 0.11);
  --shadow-lg: 0 22px 54px rgba(1, 16, 36, 0.24);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --container-max: 1280px;
  --header-h: 78px;
  --font-ar: 'Cairo', 'Tajawal', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --font-en: 'Inter', 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; font-family: var(--font-ar); background: var(--ivory); color: var(--ink-900);
  line-height: 1.72; overflow-x: clip; width: 100%;
}
html[dir="ltr"] body { font-family: var(--font-en); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
code { overflow-wrap: anywhere; word-break: break-word; }

.container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: clamp(0.9rem, 3vw, 2.25rem); }
@media (min-width: 1920px) { :root { --container-max: 1560px; } html { font-size: 18px; } }
@media (min-width: 2560px) { :root { --container-max: 1920px; } html { font-size: 21px; } }

.skip-link {
  position: absolute; top: -60px; inset-inline-start: 1rem; z-index: 9999;
  background: var(--gold-500); color: var(--navy-950); font-weight: 700; padding: 0.6rem 1.2rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

/* ================= HEADER & LANGUAGE SWITCHER ================= */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(1, 25, 54, 0.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(211, 169, 113, 0.24); min-height: var(--header-h); display: flex; align-items: center;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; padding-block: 0.5rem; min-width: 0; }
.brand { display: flex; align-items: center; gap: 0.65rem; min-width: 0; flex-shrink: 1; }
.brand-logo {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--gold-400); box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.18); flex-shrink: 0; background: #fff;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.22; min-width: 0; }
.brand-name { font-size: clamp(0.88rem, 1.2vw, 1.08rem); font-weight: 800; color: #FFFFFF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-sub { font-size: clamp(0.62rem, 0.85vw, 0.72rem); color: var(--gold-300); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav-desktop { display: flex; align-items: center; gap: 0.12rem; flex-shrink: 0; }
.nav-desktop a {
  padding: 0.44rem 0.65rem; border-radius: 10px; font-size: 0.86rem; font-weight: 700;
  color: rgba(255, 255, 255, 0.88); transition: var(--transition); white-space: nowrap;
}
/* nav-compact: keep brand readable with 8 links */
@media (max-width: 1560px) { .nav-desktop a { padding: 0.42rem 0.48rem; font-size: 0.8rem; } .header-inner { gap: 0.5rem; } }
.nav-desktop a:hover, .nav-desktop a.active { color: var(--gold-300); background: rgba(211, 169, 113, 0.14); }
.nav-cta {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-950) !important; font-weight: 800 !important;
  padding: 0.48rem 0.98rem !important; border-radius: 999px !important;
  box-shadow: 0 6px 18px rgba(200, 155, 60, 0.28); margin-inline-start: 0.25rem;
}
.nav-cta:hover { filter: brightness(1.06); transform: translateY(-1px); }

.header-controls { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 0.38rem;
  padding: 0.44rem 0.82rem; border-radius: 999px;
  background: rgba(200, 155, 60, 0.16);
  border: 1px solid rgba(211, 169, 113, 0.52);
  color: var(--gold-300); font-weight: 800; font-size: 0.84rem;
  transition: var(--transition); white-space: nowrap;
}
.lang-btn:hover { background: var(--gold-500); color: var(--navy-950); }

.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(211, 169, 113, 0.35); color: #fff;
}

.mobile-drawer {
  display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 890;
  background: rgba(1, 16, 36, 0.98); padding: 1.25rem; flex-direction: column; gap: 0.5rem; overflow-y: auto;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a { padding: 0.85rem 1.1rem; border-radius: 12px; color: #fff; font-weight: 700; font-size: 1rem; border: 1px solid rgba(255,255,255,0.08); }
.mobile-drawer a.active, .mobile-drawer a:hover { background: rgba(200, 155, 60, 0.16); border-color: var(--border-gold); color: var(--gold-300); }

@media (max-width: 1320px) { .nav-desktop { display: none; } .menu-toggle { display: inline-flex; } }
@media (max-width: 420px) { .brand-logo { width: 40px; height: 40px; } .brand-sub { display: none; } }

/* ================= FULL-PAGE AUTO-ANIMATED HERO SLIDER ================= */
.hero-slider {
  position: relative; width: 100%; min-height: clamp(580px, calc(100svh - var(--header-h)), 940px);
  background: var(--navy-950); color: #FFFFFF; overflow: hidden; display: flex; align-items: center;
}
.hero-slides { position: absolute; inset: 0; z-index: 1; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.95s ease, visibility 0.95s ease; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.hero-slide-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.03); transition: transform 6.2s ease-out; filter: saturate(1.08) contrast(1.04);
}
.hero-slide.is-active .hero-slide-bg { transform: scale(1.11); }
.hero-overlay {
  position: absolute; inset: 0; z-index: 3;
  background:
    linear-gradient(100deg, rgba(1, 16, 36, 0.92) 0%, rgba(1, 25, 54, 0.80) 48%, rgba(1, 16, 36, 0.56) 100%),
    linear-gradient(180deg, rgba(1, 16, 36, 0.45) 0%, rgba(1, 16, 36, 0.25) 55%, rgba(1, 16, 36, 0.88) 100%);
}
.hero-content-wrap { position: relative; z-index: 5; width: 100%; padding-block: clamp(2.5rem, 6vw, 4.75rem) clamp(4.5rem, 8vw, 6rem); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0.45rem;
  padding: 0.4rem 0.95rem; border-radius: 999px; background: rgba(200, 155, 60, 0.18);
  border: 1px solid rgba(211, 169, 113, 0.48); color: var(--gold-300); font-size: clamp(0.76rem, 1vw, 0.88rem); font-weight: 700;
  margin-bottom: 1rem; backdrop-filter: blur(6px);
}
.hero-title { font-size: clamp(1.75rem, 4vw, 3.2rem); font-weight: 900; line-height: 1.22; margin: 0 0 0.55rem; color: #FFFFFF; text-shadow: 0 4px 20px rgba(0,0,0,0.45); }
.hero-title span { background: linear-gradient(90deg, var(--gold-300), var(--gold-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-en { font-size: clamp(0.78rem, 1.1vw, 1rem); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-300); font-weight: 700; margin: 0 0 1rem; }
.hero-desc { font-size: clamp(0.95rem, 1.25vw, 1.12rem); color: rgba(255,255,255,0.92); max-width: 60ch; margin: 0 0 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.75rem; }

.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.18); }
.stat-box { background: rgba(1, 16, 36, 0.62); backdrop-filter: blur(8px); border: 1px solid rgba(211,169,113,0.28); border-radius: 14px; padding: 0.75rem 0.55rem; text-align: center; }
.stat-num { font-size: clamp(1.15rem, 1.9vw, 1.6rem); font-weight: 900; color: var(--gold-300); line-height: 1.1; }
.stat-lbl { font-size: clamp(0.72rem, 0.9vw, 0.8rem); color: rgba(255,255,255,0.88); margin-top: 0.25rem; }

.hero-slide-preview { display: flex; justify-content: center; align-items: center; }
.hero-frame-card {
  width: 100%; max-width: 390px; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); padding: 0.55rem;
  background: rgba(1, 16, 36, 0.68); backdrop-filter: blur(10px); border: 1.5px solid rgba(211,169,113,0.55);
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden;
}
.hero-frame-img-wrap { flex: 1; min-height: 0; border-radius: 14px; overflow: hidden; background: var(--navy-950); display: flex; align-items: center; justify-content: center; }
.hero-frame-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.hero-frame-caption { padding: 0.65rem 0.5rem 0.25rem; text-align: center; font-size: 0.86rem; font-weight: 800; color: var(--gold-300); }

.hero-controls { position: absolute; bottom: 1.35rem; inset-inline: 0; z-index: 6; }
.hero-controls-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hero-dots { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.hero-dot { width: 11px; height: 11px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,0.38); transition: var(--transition); }
.hero-dot.is-active { width: 32px; background: var(--gold-400); }
.hero-arrows { display: flex; align-items: center; gap: 0.5rem; }
.hero-arrow {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(1,16,36,0.68); color: #FFFFFF;
  border: 1px solid rgba(211,169,113,0.45); display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; transition: var(--transition);
}
.hero-arrow:hover { background: var(--gold-500); color: var(--navy-950); }
.hero-progress { position: absolute; bottom: 0; inset-inline: 0; height: 3px; background: rgba(255,255,255,0.12); z-index: 7; }
.hero-progress-bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); transition: width 0.25s linear; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-frame-card { max-width: 300px; aspect-ratio: 4 / 5; }
}
@media (max-width: 520px) {
  .hero-slider { min-height: auto; }
  .hero-frame-card { max-width: 260px; }
  .hero-actions .btn { width: 100%; }
}

/* ================= BUTTONS & PAGE HERO ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.5rem; border-radius: 999px; font-weight: 800; font-size: clamp(0.88rem, 1vw, 0.96rem);
  border: 1.5px solid transparent; transition: var(--transition); text-align: center;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-500), var(--gold-400)); color: var(--navy-950); box-shadow: 0 10px 24px rgba(200,155,60,0.3); }
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-outline-light { background: rgba(1,16,36,0.5); color: #FFFFFF; border-color: rgba(211,169,113,0.55); backdrop-filter: blur(6px); }
.btn-outline-light:hover { background: rgba(211,169,113,0.2); border-color: var(--gold-300); }
.btn-navy { background: var(--navy-900); color: #FFFFFF; box-shadow: var(--shadow-sm); }
.btn-navy:hover { background: var(--navy-800); transform: translateY(-2px); }

.page-hero { background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-800) 100%); color: #FFFFFF; padding-block: clamp(2.4rem, 5vw, 4.2rem); border-bottom: 3px solid var(--gold-500); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; font-size: 0.86rem; color: var(--gold-300); margin-bottom: 0.7rem; }
.page-hero h1 { font-size: clamp(1.55rem, 3.2vw, 2.65rem); margin: 0 0 0.55rem; font-weight: 900; line-height: 1.25; }
.page-hero p { color: rgba(255,255,255,0.86); max-width: 66ch; margin: 0; font-size: clamp(0.95rem, 1.2vw, 1.05rem); }

/* ================= SECTIONS, GRIDS & MEDIA FRAMES ================= */
.section { padding-block: clamp(2.6rem, 5.5vw, 5rem); }
.section-dark { background: var(--navy-900); color: #FFFFFF; }
.section-alt { background: var(--surface-alt); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(1.75rem, 3.8vw, 3rem); }
.eyebrow { display: inline-block; font-size: 0.82rem; font-weight: 800; color: var(--gold-600); background: var(--gold-100); padding: 0.28rem 0.88rem; border-radius: 999px; border: 1px solid var(--border-gold); margin-bottom: 0.65rem; }
.section-dark .eyebrow { background: rgba(200,155,60,0.16); color: var(--gold-300); }
.section-title { font-size: clamp(1.4rem, 2.6vw, 2.25rem); font-weight: 900; margin: 0 0 0.55rem; line-height: 1.28; }
.section-sub { color: var(--ink-500); margin: 0; font-size: clamp(0.93rem, 1.1vw, 1.02rem); }
.section-dark .section-sub { color: rgba(255,255,255,0.8); }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.grid-3 > *, .grid-2 > * { min-width: 0; }
@media (max-width: 1024px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); } }

.media-frame {
  width: 100%; border-radius: var(--radius-lg); padding: clamp(0.6rem, 1.5vw, 1rem);
  background: radial-gradient(circle at 50% 40%, var(--navy-800), var(--navy-950));
  border: 1.5px solid var(--border-gold); box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.media-frame picture, .media-frame img { width: 100%; max-height: 520px; object-fit: contain; border-radius: 12px; }
.media-frame.square-logo { max-width: 420px; margin-inline: auto; aspect-ratio: 1 / 1; }
.media-frame.square-logo img { max-height: 100%; object-fit: contain; }

.card {
  background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius-md);
  padding: clamp(1.2rem, 2.2vw, 1.65rem); box-shadow: var(--shadow-sm); transition: var(--transition); min-width: 0;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-gold); }

/* Cooperation Image Cards (Uncropped showcase media on every track card) */
.coop-card {
  background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition);
  display: flex; flex-direction: column; min-width: 0;
}
.coop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-gold); }
.coop-card-media {
  aspect-ratio: 4 / 3; padding: 0.55rem;
  background: radial-gradient(circle at 50% 40%, var(--navy-800), var(--navy-950));
  display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: pointer;
}
.coop-card-media picture { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.coop-card-media img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; transition: transform 0.35s ease; }
.coop-card:hover .coop-card-media img { transform: scale(1.03); }
.coop-card-body { padding: 1.25rem 1.35rem 1.45rem; flex: 1; display: flex; flex-direction: column; }
.coop-card-body h3 { margin: 0 0 0.3rem; font-size: 1.12rem; font-weight: 800; color: var(--navy-900); }
.coop-card-body .en-label { font-size: 0.76rem; font-weight: 700; color: var(--gold-600); margin-bottom: 0.5rem; }
.coop-card-body p { margin: 0; color: var(--ink-500); font-size: 0.92rem; }

.icon-badge {
  width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: var(--gold-300); font-size: 1.2rem; font-weight: 900;
  margin-bottom: 0.9rem; border: 1px solid rgba(211,169,113,0.35);
}
.icon-badge.icon-img { width: 64px; height: 64px; padding: 0; overflow: hidden; border: 2px solid var(--gold-500); box-shadow: 0 4px 12px rgba(1,25,54,0.18); }
.icon-badge.icon-img picture, .icon-badge.icon-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card h3 { margin: 0 0 0.4rem; font-size: 1.1rem; font-weight: 800; }
.card .en-label { display: block; font-size: 0.76rem; font-weight: 700; color: var(--gold-600); letter-spacing: 0.04em; margin-bottom: 0.5rem; }
.card p { margin: 0; color: var(--ink-500); font-size: 0.93rem; }

/* Legal Cards */
.legal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
@media (max-width: 820px) { .legal-grid { grid-template-columns: minmax(0, 1fr); } }
.legal-card { background: var(--surface); border: 1.5px solid var(--border-gold); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.legal-card-head { background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); color: #FFFFFF; padding: 1.1rem 1.35rem; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; border-bottom: 2px solid var(--gold-500); }
.legal-card-head h3 { margin: 0; font-size: 1.08rem; font-weight: 800; color: var(--gold-300); }
.legal-badge { font-size: 0.74rem; font-weight: 800; padding: 0.25rem 0.7rem; border-radius: 999px; background: rgba(200,155,60,0.2); border: 1px solid rgba(211,169,113,0.45); color: #fff; white-space: nowrap; }
.legal-dl { margin: 0; padding: 0.5rem 1.35rem 1.15rem; }
.legal-row { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0.4rem 1rem; padding-block: 0.65rem; border-bottom: 1px dashed rgba(1,25,54,0.12); font-size: 0.92rem; }
.legal-row:last-child { border-bottom: 0; }
.legal-row dt { color: var(--ink-500); font-weight: 700; }
.legal-row dd { margin: 0; color: var(--navy-900); font-weight: 800; overflow-wrap: anywhere; }

.legal-card-wide { grid-column: 1 / -1; }
.bank-body { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); align-items: center; gap: 1.25rem; padding: 1rem 1.35rem 0.5rem; }
.bank-logo { border-radius: var(--radius-md, 12px); overflow: hidden; border: 1px solid rgba(1,25,54,0.1); background: #fff; }
.bank-logo img { display: block; width: 100%; height: auto; }
.bank-body .legal-dl { padding: 0; }
@media (max-width: 820px) { .bank-body { grid-template-columns: minmax(0, 1fr); } }
.legal-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 960px) { .legal-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .legal-strip { grid-template-columns: minmax(0, 1fr); } }
.legal-pill { background: var(--surface); border: 1px solid var(--border-gold); border-radius: 14px; padding: 1rem 1.1rem; box-shadow: var(--shadow-sm); }
.legal-pill-k { font-size: 0.78rem; color: var(--gold-600); font-weight: 800; margin-bottom: 0.2rem; }
.legal-pill-v { font-size: 0.98rem; color: var(--navy-900); font-weight: 900; overflow-wrap: anywhere; }

/* Filter & Lists (RTL + LTR safe) */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1.85rem; }
.filter-btn { padding: 0.5rem 1rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-light); color: var(--ink-700); font-weight: 700; font-size: 0.86rem; transition: var(--transition); }
.filter-btn:hover, .filter-btn.active { background: var(--navy-900); color: var(--gold-300); border-color: var(--gold-500); }
.division-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--gold-100); color: var(--navy-900); font-weight: 900; font-size: 0.92rem; margin-bottom: 0.7rem; border: 1px solid var(--border-gold); }
.spec-list { list-style: none; padding: 0; margin: 0.75rem 0 0; display: flex; flex-direction: column; gap: 0.42rem; }
.spec-list li { position: relative; padding-inline-start: 1.15rem; font-size: 0.9rem; color: var(--ink-700); }
.spec-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.62rem; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }

/* Gallery / Works */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 275px), 1fr)); gap: 1.25rem; }
.gallery-item { background: var(--surface); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); cursor: pointer; transition: var(--transition); display: flex; flex-direction: column; }
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-gold); }
.gallery-thumb { aspect-ratio: 3 / 4; padding: 0.55rem; background: radial-gradient(circle at 50% 40%, var(--navy-800), var(--navy-950)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gallery-thumb picture { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; transition: transform 0.35s ease; }
.gallery-item:hover .gallery-thumb img { transform: scale(1.025); }
.gallery-caption { padding: 0.9rem 1rem; border-top: 1px solid var(--border-light); }
.gallery-caption h3 { margin: 0.2rem 0 0; font-size: 0.96rem; font-weight: 800; color: var(--navy-900); }
.gallery-caption span { font-size: 0.78rem; color: var(--gold-600); font-weight: 700; }

.lightbox { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(1,16,36,0.94); padding: 1.25rem; align-items: center; justify-content: center; flex-direction: column; gap: 0.85rem; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 82vh; max-width: 94vw; object-fit: contain; border-radius: 12px; border: 2px solid var(--gold-400); }
.lightbox-close { position: absolute; top: 1rem; inset-inline-end: 1rem; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.3); font-size: 1.35rem; font-weight: 700; }
.lightbox-title { color: var(--gold-300); font-weight: 700; font-size: 1rem; text-align: center; }

/* Phones, Contact, Map, Notice */
.phone-card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.85rem; background: var(--surface); border: 1px solid var(--border-light); border-radius: 14px; padding: 0.95rem 1.1rem; transition: var(--transition); }
.phone-card:hover { border-color: var(--gold-500); box-shadow: var(--shadow-sm); }
.phone-meta { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.phone-actions { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.flag-icon { border-radius: 3px; box-shadow: 0 1px 3px rgba(0,0,0,0.22); flex-shrink: 0; }
.phone-num { direction: ltr; unicode-bidi: embed; font-weight: 800; font-size: clamp(0.96rem, 1.2vw, 1.08rem); color: var(--navy-900); }
.phone-country { font-size: 0.82rem; color: var(--ink-500); font-weight: 600; }

.form-card { background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2.1rem); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.95rem; }
@media (max-width: 600px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.88rem; color: var(--navy-900); }
.field input, .field select, .field textarea { width: 100%; font-family: inherit; font-size: 0.95rem; padding: 0.75rem 0.95rem; border-radius: 12px; border: 1.5px solid rgba(1,25,54,0.16); background: var(--ivory); color: var(--ink-900); transition: var(--transition); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); background: #fff; box-shadow: 0 0 0 3px rgba(200,155,60,0.16); }
.form-status { margin-top: 1rem; padding: 0.85rem 1rem; border-radius: 12px; font-weight: 700; font-size: 0.9rem; display: none; }
.form-status.show { display: block; background: #E9F7EF; color: #0F5132; border: 1px solid #BADBCC; }

.map-box { border-radius: var(--radius-lg); overflow: hidden; border: 1.5px solid var(--border-gold); background: linear-gradient(135deg, var(--navy-900), var(--navy-800)); color: #FFFFFF; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(1.5rem, 3vw, 2.25rem); }
.map-box iframe { width: 100%; height: 380px; border: 0; display: block; }
.map-pin-badge { width: 60px; height: 60px; border-radius: 50%; background: rgba(200,155,60,0.18); border: 2px solid var(--gold-400); display: inline-flex; align-items: center; justify-content: center; color: var(--gold-300); margin-bottom: 0.9rem; }

.notice-banner { background: var(--gold-100); border: 1px solid var(--border-gold); border-inline-start: 4px solid var(--gold-500); border-radius: 12px; padding: 0.95rem 1.15rem; color: var(--navy-900); font-weight: 600; font-size: 0.92rem; }

/* ================= UNIFIED FOOTER ================= */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.84); border-top: 3px solid var(--gold-500); padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 0.85fr 1fr 1.15fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-grid > * { min-width: 0; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

.footer-title { color: var(--gold-300); font-size: 1.02rem; font-weight: 800; margin: 0 0 0.95rem; position: relative; padding-bottom: 0.45rem; }
.footer-title::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 36px; height: 2px; background: var(--gold-500); }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.91rem; color: rgba(255,255,255,0.78); transition: var(--transition); }
.footer-links a:hover { color: var(--gold-300); padding-inline-start: 4px; }
.footer-phone-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-phone-list a { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0.55rem; font-size: 0.9rem; color: rgba(255,255,255,0.88); }
.footer-phone-list a:hover { color: var(--gold-300); }
.ltr-num { direction: ltr; unicode-bidi: embed; font-weight: 700; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-block: 1.2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.85rem; font-size: 0.86rem; color: rgba(255,255,255,0.74); }
.wijha-credit { display: inline-flex; align-items: center; gap: 0.38rem; padding: 0.34rem 0.85rem; border-radius: 999px; background: rgba(200,155,60,0.14); border: 1px solid rgba(211,169,113,0.36); color: var(--gold-300); font-weight: 800; transition: var(--transition); }
.wijha-credit:hover { background: var(--gold-500); color: var(--navy-950); }
.wijha-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 900; }

/* ================= FLOATING WHATSAPP (3-SECOND SCROLL REVEAL) ================= */
.wa-float {
  position: fixed; inset-inline-end: 1.15rem; bottom: 5.25rem; z-index: 950;
  width: 52px; height: 52px; border-radius: 50%; background: #25D366; color: #FFFFFF;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.42); border: 2px solid rgba(255,255,255,0.85);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(16px) scale(0.88);
  transition: opacity 0.32s ease, transform 0.32s ease, visibility 0.32s ease;
}
.wa-float.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); }
.wa-float:hover { transform: translateY(-2px) scale(1.06); background: #1EBE5D; }
.wa-tooltip { position: absolute; inset-inline-end: 62px; white-space: nowrap; background: var(--navy-950); color: #fff; font-size: 0.8rem; font-weight: 700; padding: 0.4rem 0.78rem; border-radius: 8px; border: 1px solid rgba(211,169,113,0.35); opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
.wa-float:hover .wa-tooltip { opacity: 1; }
@media (max-width: 520px) { .wa-tooltip { display: none; } }

/* PDF booklet pages */
.pdf-actions { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.pdf-pages { display: flex; flex-direction: column; align-items: center; gap: 1.75rem; }
.pdf-page { margin: 0; width: 100%; max-width: 860px; background: #fff; border: 1px solid rgba(1,25,54,0.1); border-radius: 12px; box-shadow: var(--shadow-sm); overflow: hidden; cursor: zoom-in; }
.pdf-page img { display: block; width: 100%; height: auto; }
.pdf-page figcaption { text-align: center; padding: 0.55rem; font-size: 0.85rem; font-weight: 700; color: var(--ink-500); border-top: 1px solid rgba(1,25,54,0.08); }

/* Brochures hub */
.catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; max-width: 980px; margin-inline: auto; }
@media (max-width: 760px) { .catalog-grid { grid-template-columns: minmax(0, 1fr); } }
.catalog-card { background: var(--surface, #fff); border: 1.5px solid var(--border-gold); border-radius: var(--radius-lg, 16px); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.catalog-cover { display: block; background: #f3f1ec; padding: 1rem; }
.catalog-cover img { display: block; width: 100%; height: 360px; object-fit: contain; transition: transform 0.3s ease; }
.catalog-card:hover .catalog-cover img { transform: scale(1.03); }
.catalog-body { padding: 1.2rem 1.35rem 1.45rem; }
.catalog-body h2 { margin: 0 0 0.35rem; font-size: 1.2rem; font-weight: 800; color: var(--navy-900); }
.catalog-body p { margin: 0; color: var(--ink-500); font-size: 0.93rem; }
