/* ==========================================================================
   YAHYA GULF INVESTOR PROSPECTUS & BROCHURE DESIGN SYSTEM
   Standardized styling for executive brochures, digital flyers & A4 print PDFs
   ========================================================================== */

/* ─── Design Tokens & CSS Custom Properties ──────────────────────────────── */
:root {
  --green-primary: #062316;
  --green-secondary: #0A3B25;
  --green-deep: #03150D;
  --green-tint: #F2F7F4;
  --gold-accent: #C8A951;
  --gold-light: #E0C988;
  --gold-deep: #9E7D2E;
  --gold-border: rgba(200, 169, 81, 0.35);
  
  --bg-page: #F8F9FA;
  --bg-card: #FFFFFF;
  --bg-ivory: #FDFBF7;
  --bg-highlight: #FAF8F2;
  
  --text-primary: #1A202C;
  --text-secondary: #4A5568;
  --text-muted: #718096;
  --text-on-dark: #F8FAFC;
  --text-on-dark-muted: #CBD5E1;
  
  --border-light: #E2E8F0;
  --border-card: #E5E7EB;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(6, 35, 22, 0.08);
  --shadow-lg: 0 10px 25px -4px rgba(6, 35, 22, 0.12);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  
  --font-bn: 'Hind Siliguri', 'Noto Sans Bengali', 'Nirmala UI', 'Kalpurush', 'SolaimanLipi', 'Vrinda', sans-serif;
  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-ar: 'Noto Sans Arabic', 'Amiri', serif;
  
  --lh-bn: 1.75;
  --lh-en: 1.55;
  --lh-ar: 1.85;
}

/* ─── Global Reset & Multi-Script Typography ────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-bn);
  line-height: var(--lh-bn);
  color: var(--text-primary);
  background-color: var(--bg-page);
  min-height: 100vh;
  min-height: 100dvh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Script-specific body typography overrides */
body.lang-bn {
  font-family: var(--font-bn);
  line-height: var(--lh-bn);
}

body.lang-en {
  font-family: var(--font-en);
  line-height: var(--lh-en);
}

body.lang-ar {
  font-family: var(--font-ar);
  line-height: var(--lh-ar);
  direction: rtl;
  text-align: right;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ─── Brochure Container & Layout ───────────────────────────────────────── */
.brochure-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}

/* Top Digital Control Bar (Print & Language Switcher) */
.brochure-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.topbar-meta {
  display: flex;
  flex-direction: column;
}

.topbar-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--green-primary);
  letter-spacing: -0.01em;
}

.topbar-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: flex;
  align-items: center;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.lang-btn {
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: 4px;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--green-primary);
  color: #FFFFFF;
}

.btn-download-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: linear-gradient(135deg, var(--gold-accent) 0%, var(--gold-deep) 100%);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 6px rgba(200, 169, 81, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-download-top:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200, 169, 81, 0.45);
}

.btn-download-top svg {
  width: 15px;
  height: 15px;
}

.btn-print-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  color: var(--green-primary);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn-print-top:hover {
  background: var(--green-tint);
  border-color: var(--green-primary);
}

.btn-print-top svg {
  width: 15px;
  height: 15px;
}

/* ─── Printable Document Sheet ──────────────────────────────────────────── */
.prospectus-sheet {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
}

/* Executive Header / Letterhead */
.sheet-header {
  background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-secondary) 100%);
  color: var(--text-on-dark);
  padding: 40px 36px 32px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--gold-accent);
}

/* Islamic Geometric Subtle Background Watermark */
.sheet-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: 
    radial-gradient(circle at 100% 0%, rgba(200, 169, 81, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(200, 169, 81, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.header-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.header-crest-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-crest {
  height: 58px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.company-identity {
  display: flex;
  flex-direction: column;
}

.company-identity h1 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.company-identity p {
  font-size: 0.82rem;
  color: var(--gold-light);
  font-weight: 500;
}

.prospectus-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200, 169, 81, 0.15);
  border: 1px solid var(--gold-accent);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.header-title-block {
  position: relative;
  z-index: 1;
}

.prospectus-category {
  font-size: 0.88rem;
  color: var(--gold-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.prospectus-main-title {
  font-size: 1.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.prospectus-lead-desc {
  font-size: 1.02rem;
  color: var(--text-on-dark-muted);
  max-width: 720px;
  line-height: 1.65;
}

/* ─── Metric Highlight Ribbon ───────────────────────────────────────────── */
.sheet-metrics-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.metric-item {
  background: #FFFFFF;
  padding: 18px 10px;
  text-align: center;
  transition: background 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100%;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.metric-value {
  font-size: clamp(1.02rem, 1.4vw, 1.28rem);
  font-weight: 700;
  color: var(--green-primary);
  line-height: 1.25;
  margin-bottom: 4px;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.metric-value.gold-text {
  color: var(--gold-deep);
}

.metric-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* ─── Sheet Content Body ────────────────────────────────────────────────── */
.sheet-body {
  padding: 36px 36px 44px;
}

.section-block {
  margin-bottom: 36px;
}

.section-block:last-child {
  margin-bottom: 0;
}

.section-heading-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-light);
  position: relative;
}

.section-heading-bar::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--gold-accent);
}

body.lang-ar .section-heading-bar::after {
  left: auto;
  right: 0;
}

.heading-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--green-tint);
  color: var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.heading-icon-wrap svg {
  width: 18px;
  height: 18px;
}

.section-heading-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-primary);
  letter-spacing: -0.01em;
}

/* High-Contrast Body Text */
.prose-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.prose-text strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* Feature Grid with Refined Borders */
.feature-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.feature-box {
  background: var(--bg-ivory);
  border: 1px solid rgba(200, 169, 81, 0.25);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.feature-box-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--green-primary);
  margin-bottom: 8px;
}

.feature-box-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Financial Matrix Table */
.data-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  margin: 18px 0;
  -webkit-overflow-scrolling: touch;
  background: #FFFFFF;
}

.prospectus-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
  min-width: 580px;
}

body.lang-ar .prospectus-table {
  text-align: right;
  direction: rtl;
}

.prospectus-table th {
  background: var(--green-primary);
  color: #FFFFFF;
  padding: 12px 14px;
  font-weight: 700;
  border-bottom: 2px solid var(--gold-accent);
  vertical-align: middle;
}

.prospectus-table th:first-child {
  width: 32%;
}

.prospectus-table th:not(:first-child) {
  width: 22.6%;
  min-width: 130px;
}

.prospectus-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  vertical-align: middle;
}

.prospectus-table tr:nth-child(even) td {
  background: var(--bg-page);
}

.prospectus-table tr:last-child td {
  border-bottom: none;
}

.prospectus-table td strong {
  color: var(--text-primary);
}

.table-highlight-val {
  font-weight: 700;
  color: var(--green-primary);
  white-space: nowrap;
}

/* Strict Disclaimer Callout Box */
.disclaimer-box {
  background: #FFFBF0;
  border: 1px solid rgba(200, 169, 81, 0.5);
  border-left: 4px solid var(--gold-accent);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 24px 0 16px;
}

body.lang-ar .disclaimer-box {
  border-left: 1px solid rgba(200, 169, 81, 0.5);
  border-right: 4px solid var(--gold-accent);
}

.disclaimer-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 6px;
}

.disclaimer-title svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.disclaimer-text {
  font-size: 0.85rem;
  color: #684E1C;
  line-height: 1.65;
}

/* Strategic Framework Timeline / Steps */
.step-roadmap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.roadmap-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.lang-ar .roadmap-step {
  text-align: right;
}

.step-num {
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  border-radius: 50%;
  background: var(--green-primary);
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid var(--gold-accent);
}

.step-content {
  flex: 1 1 auto;
  min-width: 0;
}

.step-content h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--green-primary);
  margin-bottom: 4px;
}

.step-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── Interactive Mini Gallery System (Faces Clear & Interactive) ────────── */
.mini-gallery-system {
  margin-top: 20px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.mini-gallery-stage {
  position: relative;
  width: 100%;
  height: 330px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-card);
  background: #0D1B14;
}

.mini-gallery-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

/* Face-focus class ensures portrait photos keep heads and smiling faces 100% visible */
.mini-gallery-stage img.face-focus,
img.face-focus {
  object-position: top center !important;
}

.stage-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(6, 35, 22, 0.95) 0%, rgba(6, 35, 22, 0.65) 60%, transparent 100%);
  color: #FFFFFF;
  padding: 24px 20px 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.stage-caption-text {
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.45;
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(200, 169, 81, 0.25);
  border: 1px solid var(--gold-accent);
  color: var(--gold-light);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.mini-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.thumb-item {
  position: relative;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--bg-page);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.thumb-item img.face-focus {
  object-position: top center !important;
}

.thumb-item:hover {
  transform: translateY(-2px);
  border-color: var(--gold-light);
}

.thumb-item.active {
  border-color: var(--gold-accent);
  box-shadow: 0 0 0 2px rgba(200, 169, 81, 0.4);
}

.thumb-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(6, 35, 22, 0.82);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 4px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Interactive Consultation & Lead Capture Card */
.lead-capture-card {
  background: var(--bg-ivory);
  border: 1px solid rgba(200, 169, 81, 0.35);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  margin-top: 32px;
}

.lead-header {
  margin-bottom: 18px;
}

.lead-header h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--green-primary);
  margin-bottom: 4px;
}

.lead-header p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.lead-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.lead-form-grid.full-width {
  grid-template-columns: 1fr;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-primary);
  background: #FFFFFF;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234A5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

body.lang-ar select.form-control {
  background-position: left 14px center;
  padding-left: 36px;
  padding-right: 14px;
  text-align: right;
}

body.lang-ar .form-control {
  text-align: right;
}

body.lang-ar .lead-header {
  text-align: right;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-accent);
  box-shadow: 0 0 0 3px rgba(200, 169, 81, 0.15);
}

.btn-lead-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 24px;
  background: var(--green-primary);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, transform 0.1s ease;
  margin-top: 6px;
}

.btn-lead-submit:hover {
  background: var(--green-secondary);
  transform: translateY(-1px);
}

body.lang-ar .btn-lead-submit svg {
  transform: scaleX(-1);
}

body.lang-ar .form-group label {
  text-align: right;
}

/* Saudi PDPL Privacy Micro-Notice */
.pdpl-privacy-notice {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 10px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

body.lang-ar .pdpl-privacy-notice {
  text-align: right;
  direction: rtl;
}

.pdpl-privacy-notice svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── Official Sign-Off & Physical Print Signature Block ────────────────── */
.official-signoff-block {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 2px solid var(--border-light);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.signoff-issuer {
  display: flex;
  flex-direction: column;
}

.issuer-company {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-primary);
}

.issuer-dept {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.issuer-contact {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.signoff-seal-box {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ceo-signature-block {
  text-align: center;
}

.ceo-sign-line {
  width: 160px;
  border-bottom: 1px solid var(--text-muted);
  margin-bottom: 6px;
  height: 38px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.ceo-sign-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
}

.ceo-sign-desig {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.official-crest-seal {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px dashed var(--gold-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  background: var(--bg-ivory);
}

.official-crest-seal img {
  width: 48px;
  height: auto;
  opacity: 0.9;
}

/* ─── Digital Bottom Action Bar (Mobile Sticky) ─────────────────────────── */
.digital-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  padding: 12px 20px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 999;
}

.btn-action-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  background: #25D366;
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-action-whatsapp:hover {
  background: #20BD5A;
  transform: translateY(-1px);
}

.btn-action-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.btn-action-download-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--gold-accent) 0%, var(--gold-deep) 100%);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(200, 169, 81, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
  text-decoration: none;
}

.btn-action-download-pdf:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(200, 169, 81, 0.45);
}

.btn-action-download-pdf svg {
  width: 18px;
  height: 18px;
}

.btn-action-print {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--green-primary);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: transform 0.15s ease, background 0.15s ease;
  cursor: pointer;
}

.btn-action-print:hover {
  background: var(--green-secondary);
  transform: translateY(-1px);
}

.btn-action-print svg {
  width: 18px;
  height: 18px;
}

/* ─── Responsive Media Queries ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .brochure-wrapper {
    padding: 12px 10px 96px;
  }
  
  .sheet-header {
    padding: 28px 20px 24px;
  }
  
  .header-top-row {
    flex-direction: column;
    gap: 14px;
  }
  
  .prospectus-main-title {
    font-size: 1.45rem;
    line-height: 1.35;
  }

  .section-heading-bar {
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 8px;
  }

  .section-heading-title {
    font-size: 1.1rem;
    line-height: 1.35;
  }

  .heading-icon-wrap {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
  }

  .heading-icon-wrap svg {
    width: 16px;
    height: 16px;
  }
  
  .sheet-metrics-ribbon {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .metric-item {
    padding: 12px 6px;
  }
  
  .metric-value {
    font-size: clamp(0.92rem, 3.8vw, 1.15rem);
    white-space: nowrap;
  }

  .metric-label {
    font-size: 0.72rem;
  }

  .metric-sub {
    font-size: 0.7rem;
    line-height: 1.3;
  }
  
  .sheet-body {
    padding: 24px 16px 32px;
  }

  .data-table-wrap {
    margin: 14px 0;
    box-shadow: inset -6px 0 8px -6px rgba(0, 0, 0, 0.12);
  }

  .prospectus-table th,
  .prospectus-table td {
    padding: 10px 12px;
    font-size: 0.86rem;
  }

  .roadmap-step {
    padding: 12px 14px;
    gap: 12px;
  }

  .step-num {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    font-size: 0.84rem;
  }

  .step-content h4 {
    font-size: 0.92rem;
  }

  .step-content p {
    font-size: 0.82rem;
    line-height: 1.5;
  }
  
  .feature-grid-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .lead-capture-card {
    padding: 20px 16px;
    margin-top: 24px;
  }

  .lead-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }
  
  .mini-gallery-stage {
    height: 220px;
  }
  
  .mini-gallery-thumbs {
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
  }
  
  .thumb-item {
    height: 52px;
  }
  
  .thumb-label {
    display: none;
  }
  
  .stage-caption-text {
    font-size: 0.82rem;
  }
  
  .official-signoff-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-top: 20px;
  }
  
  .signoff-seal-box {
    width: 100%;
    justify-content: space-between;
    align-items: flex-end;
  }
  
  /* Topbar mobile cleanup: hide redundant buttons since sticky bottom bar exists */
  .brochure-topbar {
    padding: 8px 10px;
    gap: 8px;
    flex-wrap: nowrap;
  }
  
  .topbar-brand {
    gap: 6px;
    min-width: 0;
    flex: 1 1 auto;
  }
  
  .brochure-topbar .btn-download-top,
  .brochure-topbar .btn-print-top {
    display: none !important;
  }
  
  .topbar-subtitle {
    display: none;
  }
  
  .topbar-logo {
    height: 26px;
    flex-shrink: 0;
  }
  
  .topbar-title {
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .topbar-actions {
    flex-shrink: 0;
    gap: 0;
  }
  
  .lang-switch {
    padding: 2px;
  }
  
  .lang-btn {
    padding: 3px 6px;
    font-size: 0.7rem;
  }
  
  .digital-bottom-bar {
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
    gap: 5px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }
  
  .digital-bottom-bar .btn-action-whatsapp, 
  .digital-bottom-bar .btn-action-download-pdf, 
  .digital-bottom-bar .btn-action-print {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    font-size: 0.73rem !important;
    padding: 9px 2px !important;
    text-align: center !important;
    justify-content: center !important;
    gap: 3px !important;
    white-space: nowrap !important;
    border-radius: 6px !important;
  }
  
  .digital-bottom-bar .btn-action-whatsapp svg, 
  .digital-bottom-bar .btn-action-download-pdf svg, 
  .digital-bottom-bar .btn-action-print svg {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
    flex-shrink: 0 !important;
  }
}

@media (max-width: 480px) {
  .brochure-topbar {
    padding: 6px 10px;
    gap: 6px;
  }
  .topbar-logo {
    height: 24px;
  }
  .topbar-title {
    font-size: 0.72rem;
    max-width: 120px;
  }
  .lang-switch {
    padding: 1px;
    gap: 1px;
  }
  .lang-btn {
    padding: 3px 5px;
    font-size: 0.68rem;
  }
  .metric-item {
    padding: 10px 4px;
  }
  .metric-value {
    font-size: clamp(0.86rem, 3.4vw, 1.05rem);
  }
  .metric-label {
    font-size: 0.68rem;
  }
  .metric-sub {
    font-size: 0.65rem;
  }
}

@media (max-width: 380px) {
  .topbar-title {
    max-width: 95px;
    font-size: 0.68rem;
  }
  .lang-btn {
    padding: 2px 4px;
    font-size: 0.64rem;
  }
  .metric-value {
    font-size: 0.82rem;
  }
}

/* ─── Official Sheet Document Footer / Legal Provenance ──────────────────── */
.sheet-doc-footer,
.print-footer {
  display: block !important;
  margin-top: 24px;
  padding-top: 14px;
  padding-bottom: 8px;
  border-top: 1px solid var(--border-light, #E2E8F0);
  text-align: center !important;
  width: 100%;
  clear: both;
}

.sheet-doc-footer p,
.print-footer p {
  margin: 0 auto !important;
  max-width: 820px;
  font-size: 0.68rem !important;
  line-height: 1.55 !important;
  color: var(--text-muted, #64748B) !important;
  text-align: center !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .sheet-doc-footer,
  .print-footer {
    margin-top: 18px;
    padding-top: 12px;
    padding-bottom: 24px;
  }
  .sheet-doc-footer p,
  .print-footer p {
    font-size: 0.65rem !important;
    line-height: 1.45 !important;
    text-align: center !important;
  }
}

/* ─── Official A4 Print PDF Precision Styles ────────────────────────────── */
@media print {
  @page {
    size: A4 portrait;
    margin: 12mm 15mm;
  }
  
  *, *::before, *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  html, body {
    background: #FFFFFF !important;
    color: #111827 !important;
    font-size: 14px;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .no-print,
  .brochure-topbar,
  .digital-bottom-bar,
  .lead-capture-card,
  .lang-switch {
    display: none !important;
  }
  
  .brochure-wrapper {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .prospectus-sheet {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
  
  .sheet-header {
    padding: 24px 20px 20px !important;
    border-bottom: 2px solid var(--gold-accent) !important;
  }
  
  .prospectus-main-title {
    font-size: 1.6rem !important;
  }
  
  .sheet-metrics-ribbon {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  
  .sheet-body {
    padding: 20px 10px !important;
  }
  
  .section-block {
    margin-bottom: 14px !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }
  
  .data-table-wrap,
  .feature-grid-2,
  .disclaimer-box,
  .roadmap-step,
  .mini-gallery-system,
  .official-signoff-block {
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .prospectus-table th,
  .prospectus-table td {
    padding: 6px 10px !important;
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
  }

  .feature-grid-2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin-top: 8px !important;
  }
  
  .roadmap-step {
    padding: 6px 12px !important;
    margin-bottom: 5px !important;
  }

  .roadmap-step h4 {
    margin-bottom: 2px !important;
    font-size: 0.88rem !important;
  }

  .roadmap-step p {
    margin: 0 !important;
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
  }

  .feature-box {
    padding: 8px 12px !important;
  }

  .feature-box-title {
    font-size: 0.88rem !important;
    margin-bottom: 4px !important;
  }

  .feature-box-desc {
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
  }

  .official-signoff-block {
    margin-top: 10px !important;
    padding: 10px 14px !important;
  }

  .mini-gallery-system {
    border: 1px solid var(--border-light) !important;
    padding: 6px !important;
    margin-top: 8px !important;
  }
  
  .mini-gallery-stage {
    height: 170px !important;
  }
  
  .mini-gallery-thumbs {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 6px !important;
  }
  
  .thumb-item {
    height: 40px !important;
  }
  
  .disclaimer-box {
    background: #FFFBF0 !important;
    border: 1px solid #C8A951 !important;
    margin-top: 8px !important;
    padding: 8px 12px !important;
  }
  
  /* Print Official Footer */
  .sheet-doc-footer,
  .print-footer {
    display: block !important;
    margin-top: 12px !important;
    padding-top: 8px !important;
    padding-bottom: 0 !important;
    border-top: 1px solid var(--border-light) !important;
    text-align: center !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .sheet-doc-footer p,
  .print-footer p {
    font-size: 0.62rem !important;
    line-height: 1.4 !important;
    color: var(--text-muted) !important;
  }
}

/* ─── Bengali HarfBuzz Shaping & Typography Safety ─────────────────────── */
body.lang-bn, body.lang-bn * {
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
}

body.lang-bn h1,
body.lang-bn h2,
body.lang-bn h3,
body.lang-bn h4,
body.lang-bn strong,
body.lang-bn b,
body.lang-bn .prospectus-main-title,
body.lang-bn .section-heading-title,
body.lang-bn .metric-value,
body.lang-bn .topbar-title,
body.lang-bn .btn-download-top,
body.lang-bn .btn-action-download-pdf,
body.lang-bn .btn-action-whatsapp {
  font-weight: 700 !important; /* Cap at 700 to prevent Chromium faux-bolding / dotted circles */
}

/* Strict SVG sizing rules to prevent unstyled / cached blowout */
.btn-download-top svg,
.btn-action-download-pdf svg,
.btn-print-top svg,
.btn-action-print svg,
.btn-action-whatsapp svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  display: inline-block !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}

.mini-gallery-stage img.face-focus,
img.face-focus {
  object-position: 50% 12% !important; /* Center faces and prevent cropping */
}
