/* ============================================================
   Azur Prime – Help Portal · style.css

   Sections:
   01. CSS Variables & Reset
   02. Language Toggle & Lang Bar       [from Landing Page]
   03. Navigation                       [from Landing Page]
   04. Typography
   05. Layout
   06. Hero
   07. Topic Navigation
   08. Main Content & Sections
   09. FAQ / Accordion
   10. Info Cards
   11. Revenue Breakdown Visual
   12. Highlight Box & Gold Box
   13. Pill Tags
   14. Table
   15. Contact CTA & Buttons
   16. Footer                           [from Landing Page]
   17. Social Sidebar                   [from Landing Page]
   18. Hamburger                        [from Landing Page]
   19. Mobile Menu & Overlay            [from Landing Page]
   20. Mobile WA FAB                    [from Landing Page]
   21. Responsive                       [Landing Page + Help Portal rules]
============================================================ */

/* ── 00. SELF-HOSTED FONTS ── */
/* Cormorant Garamond — variable, normal */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/cormorant-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/cormorant-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Cormorant Garamond — weight 700 explicit (latin only) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Cormorant Garamond — variable, italic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/cormorant-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/cormorant-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* DM Sans — variable, normal */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── 01. CSS VARIABLES & RESET ── */
:root {
  --navy:      #0B2035;
  --navy-mid:  #143352;
  --blue:      #2E8BC0;
  --gold:      #C9A84C;
  --gold-lt:   #E8C97A;
  --white:     #FFFFFF;
  --off:       #F6F8FB;
  --muted:     #6B7A8D;
  --border:    #DDE4EE;
  --text:      #1A2636;
  --green-wa:  #25D366;
  --r: 14px;
  --shadow:    0 4px 28px rgba(11,32,53,0.10);
  --shadow-lg: 0 16px 64px rgba(11,32,53,0.18);

  /* Help Portal extras */
  --navy-light: #1a3d5c;
  --azur-light: #4fa8d8;
  --azur-muted: #e8f4fb;
  --gold-muted: #fdf6e3;
  --text-light: #7a90a0;
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  max-width: 100vw;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

/* ── 02. LANGUAGE LOGIC ── */
[data-de], [data-en] { display: none; }
body.de [data-de] { display: block; }
body.en [data-en] { display: block; }
[data-de-inline], [data-en-inline] { display: none; }
body.de [data-de-inline] { display: inline; }
body.en [data-en-inline] { display: inline; }

/* ── 03. SITE HEADER ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  height: 60px;
}
.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo img { height: 36px; width: auto; display: block; }
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  padding: 4px 10px;
  border-radius: 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all .2s;
}
.lang-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.lang-btn:hover:not(.active) {
  color: white;
  border-color: rgba(255,255,255,0.5);
}
.header-portal-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--blue);
  color: white;
  padding: 8px 18px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
  white-space: nowrap;
}
.header-portal-btn:hover {
  opacity: .9;
  color: white;
  transform: translateY(-1px);
}

/* ── 04. TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 500; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

/* ── 05. LAYOUT ── */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── 06. PAGE TITLE ── */
.page-title {
  background: linear-gradient(135deg, #0B2035 0%, #143352 60%, #0d3355 100%);
  padding: 28px 0 24px;
  margin-top: 60px;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}
.page-title::before {
  content: '';
  position: absolute;
  top: -30px; right: -40px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(46,139,192,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-title-eyebrow {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.page-title h1 {
  color: white;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin: 0;
}
.page-title h1 em {
  font-style: italic;
  color: var(--gold-lt);
}
.page-title-sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin: 8px 0 0;
  max-width: 480px;
  line-height: 1.6;
}

/* ── 07. HELP LAYOUT & SIDEBAR ── */
.help-layout {
  display: flex;
  align-items: flex-start;
  max-width: 100%;
  margin: 0;
  min-height: calc(100vh - 60px - 120px);
}
.help-sidebar {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
  background: var(--white);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 20px 0;
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
.sidebar-section {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 12px;
}
.sidebar-btn {
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 6px;
  transition: all 0.2s ease;
  line-height: 1.4;
  width: 100%;
}
.sidebar-btn:hover {
  background: var(--azur-muted);
  color: var(--navy);
}
.sidebar-btn.active {
  background: var(--azur-muted);
  color: var(--navy);
  font-weight: 600;
  border-left: 3px solid var(--blue);
  border-radius: 0 6px 6px 0;
  padding-left: 11px;
}
.sidebar-portal-link {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
}
.sidebar-portal-link a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}
.sidebar-portal-link a:hover { color: var(--navy); }

/* ── 08. MAIN CONTENT & SECTIONS ── */
.main-content {
  flex: 1;
  min-width: 0;
  padding: 48px 48px 80px;
  margin: 0;
  background: var(--white);
}
.section {
  display: none;
  animation: fadeIn 0.35s ease;
}
.section.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.section-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.section-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-header h2 { margin-bottom: 10px; }
.section-header .lead {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 0;
}

/* ── 09. FAQ / ACCORDION ── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  background: var(--white);
  transition: background var(--transition);
  user-select: none;
}
.faq-question:hover { background: var(--off); }
.faq-item.open .faq-question { background: var(--navy); }
.faq-question-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  transition: color var(--transition);
}
.faq-item.open .faq-question-text { color: var(--white); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  color: var(--text-light);
}
.faq-item.open .faq-icon {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: rotate(45deg);
}
.faq-icon svg { width: 14px; height: 14px; }
.faq-answer {
  display: none;
  padding: 0 22px;
  background: var(--off);
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-answer {
  display: block;
  animation: slideDown 0.25s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.faq-answer-inner {
  padding: 20px 0 22px;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.7;
}
.faq-answer-inner p { margin-bottom: 0.85rem; }
.faq-answer-inner p:last-child { margin-bottom: 0; }
.faq-answer-inner strong { color: var(--text); font-weight: 600; }

/* ── 10. INFO CARDS ── */
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px 26px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.info-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.info-card-title::before {
  content: '';
  display: inline-block;
  width: 3px; height: 18px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── 11. REVENUE BREAKDOWN VISUAL ── */
.revenue-breakdown {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
  margin: 28px 0;
  box-shadow: var(--shadow-lg);
}
.breakdown-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 20px;
}
.breakdown-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.breakdown-row:last-child { margin-bottom: 0; }
.breakdown-info { flex: 0 0 200px; }
.breakdown-amount {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.1;
}
.breakdown-desc {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 2px;
}
.breakdown-bar-wrap {
  flex: 1;
  height: 10px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.breakdown-bar {
  height: 100%;
  border-radius: 100px;
  transition: width 1s ease;
}
.bar-gross    { background: var(--navy); }
.bar-payout   { background: var(--blue); }
.bar-mgmt     { background: var(--gold); }
.bar-platform { background: #94a3b8; }
.bar-cleaning { background: #b8ccd8; }
.bar-tx       { background: #d1dde5; }

/* ── 12. HIGHLIGHT BOX & GOLD BOX ── */
.highlight-box {
  background: linear-gradient(135deg, var(--azur-muted) 0%, #f0f8ff 100%);
  border: 1px solid rgba(46,139,192,0.2);
  border-left: 3px solid var(--blue);
  border-radius: var(--r);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.highlight-box strong { color: var(--navy); }

/* ── EXAMPLE CALCULATION ── */
.example-calc { margin-bottom: 48px; }
.example-calc-header { margin-bottom: 20px; }
.example-calc-sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 6px 0 0;
}
.calc-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.calc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
}
.calc-card-featured {
  border-color: var(--blue);
  border-width: 2px;
}
.calc-card-badge {
  position: absolute;
  top: -1px; right: 12px;
  background: var(--blue);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 0 0 6px 6px;
}
.calc-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.03em;
}
.calc-card-airbnb   { background: #E00B41; }
.calc-card-direkt   { background: var(--blue); }
.calc-card-affiliate { background: var(--navy); }
.calc-card-body { padding: 16px; }
.calc-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text);
}
.calc-row:last-of-type { border-bottom: none; }
.calc-row div { display: flex; flex-direction: column; gap: 2px; }
.calc-row small {
  font-size: 0.72rem;
  color: var(--muted);
}
.calc-row strong { white-space: nowrap; }
.calc-row-negative span:last-child { color: #c0392b; font-weight: 600; white-space: nowrap; }
.calc-row-positive span:last-child { color: #27ae60; font-weight: 600; white-space: nowrap; }
.calc-row-zero span:last-child { color: #27ae60; font-weight: 600; white-space: nowrap; }
.calc-row-zero small { color: #27ae60 !important; font-weight: 700; }
.calc-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}
.calc-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--off);
  border-radius: 8px;
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}
.calc-result strong {
  font-size: 1.15rem;
  color: var(--navy);
}
.calc-result-featured { background: var(--azur-muted); }
.calc-result-featured strong { color: var(--blue); }
.calc-percentage {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 8px;
}

/* ── INTERACTIVE CALCULATOR ── */
.calc-tool {
  background: var(--off);
  border: 2px solid var(--navy);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(11,32,53,0.15);
  margin-bottom: 40px;
}
.calc-tool-header {
  background: var(--navy);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.calc-tool-header-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.calc-tool-header-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-left: auto;
}
.calc-tool-inner {
  padding: 24px 28px;
}
.calc-tool-inputs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 24px;
}
.calc-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.calc-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.calc-input {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  width: 100%;
  transition: border-color 0.2s;
}
.calc-input:focus {
  outline: none;
  border-color: var(--blue);
}
.calc-tool-result {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.calc-tool-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text);
  gap: 12px;
}
.calc-tool-row:last-of-type { border-bottom: none; }
.calc-tool-row-negative span:last-child { color: #c0392b; font-weight: 600; }
.calc-tool-row-positive span:last-child { color: #27ae60; font-weight: 600; }
.calc-tool-result-final {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--azur-muted);
  border-radius: 8px;
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}
.calc-tool-result-final strong {
  font-size: 1.3rem;
  color: var(--blue);
}
.calc-tool-pct {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 8px;
}
@media (max-width: 960px) {
  .calc-cards { grid-template-columns: 1fr; }
  .calc-tool-inputs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .calc-tool-row {
    font-size: 12px;
  }
  .calc-tool-row strong,
  .calc-tool-row-negative span:last-child,
  .calc-tool-row-positive span:last-child {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .calc-tool-result-final {
    font-size: 14px;
    padding: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .calc-tool-result-final strong {
    font-size: 26px;
    align-self: flex-end;
  }
  .calc-tool-result {
    padding: 16px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 12px;
  }
  .calc-tool-inputs {
    gap: 12px;
    margin: 16px 0 20px;
  }
  .calc-input-group {
    gap: 4px;
  }
  .calc-label {
    font-size: 13px;
  }
  .calc-input {
    padding: 10px 12px;
    font-size: 15px;
  }
  #commissions .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .calc-tool-header {
    padding-left: 16px;
    padding-right: 16px;
  }
  .calc-tool-inner {
    padding: 16px;
  }
}
@media (max-width: 640px) {
  .calc-tool-inputs { grid-template-columns: 1fr; }
  .calc-tool { padding: 20px 16px; }
}

.gold-box {
  background: var(--gold-muted);
  border: 1px solid rgba(201,168,76,0.25);
  border-left: 3px solid var(--gold);
  border-radius: var(--r);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.gold-box strong { color: var(--navy); }

.info-box-icon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-right: 6px;
  margin-bottom: 8px;
}

.info-box-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.info-box-title span {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.info-box-title strong {
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.3;
}

.commission-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 16px;
}
.commission-note-icon {
  font-size: 18px;
  line-height: 1.4;
  flex-shrink: 0;
}
.commission-note p {
  font-size: 14px;
  color: #1E3A5F;
  line-height: 1.65;
  margin: 0;
}
.commission-note strong {
  color: #0B2035;
}

.mix-calc-box {
  margin: 24px 0;
}

.mix-calc-bar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
}

.mix-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mix-bar-label {
  width: 110px;
  flex-shrink: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.mix-bar-row-highlight .mix-bar-label {
  color: var(--navy);
}

.mix-bar-wrap {
  flex: 1;
  height: 10px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}

.mix-bar {
  height: 100%;
  border-radius: 100px;
  transition: width 1s ease;
}

.mix-bar-pct {
  width: 52px;
  flex-shrink: 0;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: right;
}

.mix-bar-row-highlight .mix-bar-pct {
  color: var(--navy);
}

/* ── 13. PILL TAGS ── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 100px;
}
.pill-navy   { background: rgba(11,32,53,0.08); color: var(--navy); }
.pill-azur   { background: var(--azur-muted); color: var(--blue); }
.pill-gold   { background: var(--gold-muted); color: #8a6b1e; }

/* ── 14. TABLE ── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 16px 0;
}
.data-table th {
  text-align: left;
  padding: 10px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  border-bottom: 2px solid var(--border);
}
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  vertical-align: top;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr.total td {
  font-weight: 600;
  color: var(--navy);
  border-top: 2px solid var(--border);
  background: var(--off);
}
.amount-positive { color: var(--blue); font-weight: 600; }
.amount-negative { color: #e05252; }
.amount-neutral  { color: var(--muted); }

/* ── 15. CONTACT CTA & BUTTONS ── */
.contact-section {
  background: var(--navy);
  border-radius: var(--r);
  padding: 40px 36px;
  margin-top: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(46,139,192,0.2) 0%, transparent 65%);
  pointer-events: none;
}
.contact-section h3 {
  color: var(--white);
  margin-bottom: 10px;
}
.contact-section p {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  margin-bottom: 24px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-wa);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 12px 24px;
  border-radius: 100px;
  text-decoration: none;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: #20ba5a;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.75);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all var(--transition);
}
.btn-secondary:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.07);
}

/* ── 16. FOOTER ── */
footer {
  background: #060E18;
  padding: 0;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 40px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.2s;
  text-decoration: none;
}
.footer-social-btn:hover {
  color: white;
  background: rgba(255,255,255,0.15);
}
.footer-social-btn.wa:hover { background: #25D366; border-color: #25D366; color: white; }
.footer-social-btn.ig:hover { background: #E1306C; border-color: #E1306C; color: white; }
.footer-col-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 40px;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ── 17. SOCIAL SIDEBAR ── */
.social-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.social-sidebar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(11,32,53,0.75);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: all 0.25s ease;
  border-left: 2px solid rgba(255,255,255,0.08);
}
.social-sidebar a:first-child { border-radius: 8px 0 0 0; }
.social-sidebar a:last-child  { border-radius: 0 0 0 8px; }
.social-sidebar a:hover { width: 52px; color: white; }
.social-sidebar a.wa:hover { background: #25D366; border-left-color: #25D366; }
.social-sidebar a.ig:hover {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  border-left-color: #fd1d1d;
}
.social-sidebar svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ── 18. HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── 19. MOBILE MENU & OVERLAY ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--navy);
  z-index: 280;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  border-bottom: 2px solid rgba(201,168,76,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  padding: 8px 0 16px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a,
.mobile-menu a.mobile-menu-legal {
  font-family: 'Cormorant Garamond', serif !important;
  text-decoration: none !important;
  width: 100%;
  padding: 14px 32px !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  transition: background 0.15s !important;
  display: block !important;
}
.mobile-menu a:not(.mobile-menu-legal):not(.menu-wa) {
  font-size: 22px !important;
  font-weight: 600 !important;
  font-style: normal !important;
  color: white !important;
}
.mobile-menu a:not(.mobile-menu-legal):not(.menu-wa):hover {
  background: rgba(255,255,255,0.05);
  color: var(--gold-lt);
}
.mobile-menu a.mobile-menu-legal {
  font-size: 16px !important;
  font-weight: 400 !important;
  font-style: italic !important;
  color: rgba(255,255,255,0.5) !important;
  border-bottom: none !important;
}
.mobile-menu .menu-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: white;
  padding: 10px 24px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px;
  font-weight: 600;
  font-style: normal !important;
  margin: 12px 24px;
  width: auto !important;
  border-bottom: none !important;
  box-shadow: none;
}
.mobile-menu .menu-wa:hover {
  opacity: 0.9;
  color: white;
  background: var(--blue);
}
.mobile-lang-switcher {
  display: flex;
  gap: 8px;
  padding: 16px 24px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 8px;
}
.mobile-lang-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  padding: 6px 16px;
  border-radius: 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all .2s;
}
.mobile-lang-btn:hover,
.mobile-lang-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45);
  z-index: 270;
}
.mobile-overlay.open { display: block; }

/* ── 20. MOBILE WA FAB ── */
.mobile-wa-fab {
  display: none !important;
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom));
  left: 0;
  right: 0;
  margin: 0 auto;
  transform: none;
  z-index: 150;
  background: var(--green-wa);
  color: white;
  width: auto;
  max-width: calc(100% - 32px);
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.mobile-wa-fab svg { width: 20px; height: 20px; fill: white; flex-shrink: 0; }

/* Touch feedback */
.btn-wa:active,
.mobile-wa-fab:active { transform: scale(0.97); opacity: 0.9; }

/* ── 21. RESPONSIVE ── */

/* 1024px: show hamburger, hide desktop controls, show FAB, hide sidebar */
@media (max-width: 1024px) {
  .site-header-inner { padding: 0 20px; }
  .header-portal-btn { display: none; }
  .lang-switcher { display: none; }
  .hamburger { display: flex !important; }
  .social-sidebar { display: none !important; }
  .mobile-wa-fab { display: flex !important; }
  .help-layout { display: block; }
  .help-sidebar { display: none; }
  .page-title { margin-top: 60px; padding: 20px 0 18px; margin-left: 0; }
  .page-title-sub { display: none; }
  .main-content { padding: 32px 24px 60px; }
}

/* 960px */
@media (max-width: 960px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; padding: 40px 24px 28px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* 640px: help portal specific */
@media (max-width: 640px) {
  .breakdown-info { flex: 0 0 140px; }
  .breakdown-amount { font-size: 1rem; }
  .contact-section { padding: 32px 24px; }
  .btn-secondary { display: none; }
}

/* 480px */
@media (max-width: 480px) {
  .site-header { height: 56px; }
  .page-title { margin-top: 56px; }
  .header-logo img { height: 32px; }
  .mobile-menu { top: 56px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; padding: 32px 20px 24px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { padding: 16px 20px; }
  .mobile-wa-fab { font-size: 14px; padding: 12px 22px; width: calc(100% - 32px); justify-content: center; }
}

/* 390px */
@media (max-width: 390px) {
  .mobile-wa-fab { font-size: 13px; padding: 13px 20px; }
}

/* ── 22. PORTAL LAYOUT & MOCKUP ── */
.portal-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 960px) {
  .portal-layout { grid-template-columns: 1fr; gap: 32px; }
}

.portal-mockup-device {
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  max-width: 390px;
  width: 100%;
  height: 700px;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}
.portal-top-bar {
  background: #1a0533;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.portal-top-bar .back-btn {
  background: var(--gold);
  border: none;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy);
  font-size: 16px;
}
.portal-top-bar .portal-title {
  color: white;
  font-size: 15px;
  font-weight: 600;
}
.portal-tabs-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.portal-tab-panel {
  display: none;
  height: 100%;
  overflow-y: auto;
}
.portal-tab-panel.active {
  display: block;
}
.portal-content {
  padding: 20px;
  background: #f5f5f5;
  min-height: 100%;
}
.portal-greeting {
  background: white;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
}
.portal-greeting-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.portal-greeting-text p {
  font-size: 13px;
  color: #717171;
}
.portal-apt-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.portal-kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.portal-kpi-card {
  background: #EBF4FF;
  border-radius: 12px;
  padding: 16px;
}
.portal-kpi-card .kpi-value {
  font-size: 26px;
  font-weight: 700;
  color: #1a6bb5;
  line-height: 1;
  margin-bottom: 6px;
}
.portal-kpi-card .kpi-label {
  font-size: 12px;
  color: #1a6bb5;
}
.portal-revenue-card {
  background: white;
  border-radius: 14px;
  padding: 18px;
}
.portal-revenue-card h5 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}
.revenue-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: #717171;
  margin-bottom: 16px;
}
.revenue-row {
  margin-bottom: 16px;
}
.revenue-row:last-child { margin-bottom: 0; }
.rev-bar-wrap {
  margin-top: 6px;
  height: 10px;
  background: #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
}
.rev-bar {
  height: 100%;
  border-radius: 6px;
}
.rev-amount {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}
.rev-label {
  font-size: 12px;
  color: #717171;
}
.revenue-divider { border: none; border-top: 1px solid #eee; margin: 12px 0; }
.portal-calendar {
  background: white;
  border-radius: 14px;
  padding: 18px;
}
.cal-header { font-size: 18px; font-weight: 700; color: #1a1a1a; margin-bottom: 16px; }
.cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 6px; }
.cal-weekday { text-align: center; font-size: 11px; font-weight: 600; color: #717171; padding: 4px 0; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-day { min-height: 36px; font-size: 12px; color: #1a1a1a; padding: 4px 2px; position: relative; text-align: center; }
.cal-day.empty { color: transparent; }
.cal-day.other-month { color: #ccc; }
.cal-booking {
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 18px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  padding: 0 4px;
  font-size: 9px;
  font-weight: 600;
  color: white;
  overflow: hidden;
}
.cal-booking.airbnb { background: #e91e8c; }
.cal-booking.owner { background: #7c3aed; }
.cal-legend { display: flex; gap: 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #eee; }
.cal-legend-item { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #717171; }
.cal-legend-dot { width: 10px; height: 10px; border-radius: 2px; }
.portal-statement {
  background: white;
  border-radius: 14px;
  padding: 18px;
}
.portal-statement h5 { font-size: 15px; font-weight: 700; color: #1a1a1a; margin-bottom: 16px; }
.statement-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}
.statement-row:last-child { border-bottom: none; }
.statement-row .s-label { color: #717171; }
.statement-row .s-value { font-weight: 700; color: #1a1a1a; }
.statement-row .s-value.green { color: #008a05; }
.statement-row .s-value.red { color: #e91e8c; }
.statement-total {
  background: #f0f7ff;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}
.statement-total .t-label { font-size: 14px; font-weight: 700; color: #1a1a1a; }
.statement-total .t-value { font-size: 20px; font-weight: 800; color: #008a05; }
.statements-header {
  background: white;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 12px;
}
.statements-header h4 { font-size: 20px; font-weight: 700; color: #1a1a1a; }
.statements-filter { font-size: 14px; color: #1a6bb5; padding: 4px 0 12px; cursor: pointer; }
.statements-table { background: white; border-radius: 14px; overflow: hidden; }
.statements-col-header {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
}
.statement-item {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
  gap: 8px;
}
.statement-item:last-child { border-bottom: none; }
.stmt-property {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #1a1a1a;
  line-height: 1.4;
}
.stmt-pdf-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #fff0f0;
  border: 1px solid #fdd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  flex-shrink: 0;
}
.stmt-period { font-size: 13px; color: #1a1a1a; }
.stmt-download { font-size: 13px; font-weight: 600; color: #1a6bb5; text-decoration: underline; white-space: nowrap; }
.portal-bottom-nav {
  flex-shrink: 0;
  background: white;
  border-top: 1px solid #eee;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 6px 0;
}
.portal-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 2px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 9px;
  color: #717171;
  font-family: 'DM Sans', sans-serif;
  transition: color 0.2s;
  line-height: 1.2;
}
.portal-nav-btn.active { color: #1a6bb5; }
.portal-nav-btn svg { width: 20px; height: 20px; }
.portal-url-bar {
  flex-shrink: 0;
  background: #f5f5f5;
  border-top: 1px solid #eee;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: #717171;
}

/* ── 23. REVENUE TOOLTIPS & MODAL ── */
.rev-hint { font-size: 10px; color: #aaa; margin-bottom: 12px; }
.rev-hint-mobile-only { display: none; }
@media (hover: none) {
  .rev-hint > span:first-child { display: none; }
  .rev-hint-mobile-only { display: inline; }
}

.rev-row-label {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  position: relative;
}

.info-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 11px;
  color: #aaa;
  padding: 0 2px;
  line-height: 1;
  transition: color 0.2s;
  flex-shrink: 0;
}
.info-btn:hover { color: var(--blue); }

.global-tooltip {
  position: absolute;
  z-index: 9999;
  background: var(--navy);
  color: white;
  font-size: 12px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 8px;
  max-width: 240px;
  width: max-content;
  box-shadow: 0 4px 20px rgba(11,32,53,0.25);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  white-space: normal;
}
.global-tooltip.visible {
  opacity: 1;
}
.global-tooltip::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--navy);
  transform: rotate(45deg);
  border-radius: 2px;
}
.global-tooltip.arrow-top::before {
  top: -5px;
  left: 16px;
}
.global-tooltip.arrow-bottom::before {
  bottom: -5px;
  left: 16px;
}

.info-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.info-modal-overlay.open {
  display: flex;
}
.info-modal {
  background: white;
  border-radius: 16px;
  padding: 24px;
  max-width: 320px;
  width: 100%;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.info-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
}
.info-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  padding-right: 24px;
}
.info-modal-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.portal-feature-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.portal-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
.portal-feature-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--azur-muted);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-top: 1px;
}

/* ── REPORT FULL WIDTH ── */
.report-full {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.report-intro-block {
  margin-bottom: 28px;
}
.report-intro-block p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 8px;
}
.report-intro-block p:last-child { margin-bottom: 0; }
.report-intro-note {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  padding: 10px 14px;
  background: var(--azur-muted);
  border-left: 3px solid var(--blue);
  border-radius: 0 6px 6px 0;
}

/* ── REPORT DOCUMENT ── */
.report-doc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.78rem;
  color: var(--text);
}

.report-doc-header {
  background: var(--navy);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.report-doc-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.report-doc-company {
  display: flex;
  flex-direction: column;
}

.report-doc-company strong {
  color: white;
  font-size: 0.82rem;
}

.report-doc-company span {
  color: rgba(255,255,255,0.5);
  font-size: 0.68rem;
}

.report-doc-period {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ── PARTIES + SUMMARY SIDE BY SIDE ── */
.report-doc-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
}

.report-doc-parties {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px 24px;
  background: var(--off);
  border-right: 1px solid var(--border);
}

.report-party strong {
  display: block;
  color: var(--navy);
  font-size: 0.8rem;
  margin-bottom: 2px;
}

.report-party span {
  color: var(--muted);
  font-size: 0.72rem;
}

.report-party-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

/* ── SUMMARY ── */
.report-summary {
  padding: 18px 24px;
  background: var(--white);
}

.report-summary-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.report-info-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 10px;
  color: var(--muted);
  padding: 0 2px;
  line-height: 1;
  transition: color 0.2s;
  vertical-align: middle;
  position: relative;
}
.report-info-btn:hover { color: var(--blue); }


.report-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted);
  gap: 16px;
  position: relative;
}

.report-summary-row span:first-child {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}

.report-summary-row:last-child { border-bottom: none; }

.report-summary-total {
  font-weight: 700;
  color: var(--navy);
  padding-top: 8px;
  margin-top: 2px;
}

.report-summary-total strong {
  color: var(--blue);
  font-size: 0.88rem;
}

/* ── SECTION TITLE ── */
.report-section-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  padding: 12px 24px 8px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--off);
}

/* ── TABLES ── */
.report-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.68rem;
}

.report-table th {
  background: var(--off);
  padding: 5px 8px;
  text-align: left;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  font-size: 0.65rem;
  position: relative;
}

.report-table thead tr:first-child th:first-child {
  background: var(--off);
  border-bottom: 1px solid var(--border);
}

.report-th-group {
  background: #edf2f7;
  text-align: center;
  border-left: 2px solid var(--border);
  letter-spacing: 0.04em;
  color: var(--navy);
  font-weight: 700;
}

.report-table td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  white-space: nowrap;
  font-size: 0.68rem;
}

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

.report-table-total td {
  background: var(--off);
  font-weight: 600;
  color: var(--navy);
  border-top: 2px solid var(--border);
}

.report-table-notes {
  padding: 10px 24px;
  font-size: 0.68rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  line-height: 1.6;
  background: var(--off);
}

.report-table-notes p { margin: 0 0 4px; }
.report-table-notes p:last-child { margin: 0; }

/* ── FINAL SUMMARY FOOTER ── */
.report-final-summary {
  padding: 16px 24px;
  border-top: 2px solid var(--border);
  background: var(--off);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.report-final-row {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  font-size: 0.75rem;
  color: var(--muted);
  width: 320px;
}

.report-final-total {
  font-weight: 700;
  color: var(--navy);
  border-top: 1px solid var(--border);
  padding-top: 6px;
  margin-top: 4px;
}

.report-final-total strong {
  color: var(--blue);
  font-size: 0.9rem;
}

/* ── EXPLANATION CARDS ── */
.report-explain-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.report-explain-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.report-explain-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.report-explain-card .faq-list {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.report-explain-card .faq-item {
  border-radius: 6px;
}

.report-faq-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0 24px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.report-faq-divider::before,
.report-faq-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.report-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.report-modal-overlay.open { display: flex; }
.report-modal {
  background: white;
  border-radius: 16px;
  padding: 24px;
  max-width: 320px;
  width: 100%;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.report-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: var(--muted);
}
.report-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  padding-right: 24px;
}
.report-modal-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .report-doc-top { grid-template-columns: 1fr; }
  .report-doc-parties {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .report-final-summary { align-items: flex-start; }
  .report-final-row { width: 100%; }
}

/* ── Company Trust Block ── */
.company-trust-block {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.company-trust-inner {
  background: rgba(11, 32, 53, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 12px;
  padding: 24px 28px;
}
.company-trust-label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #C9A84C;
  margin-bottom: 10px;
}
.company-trust-inner p {
  font-size: 14px;
  color: #4A5568;
  line-height: 1.7;
  margin: 0;
}
.company-trust-inner strong {
  color: #0B2035;
  font-weight: 600;
}

/* ── App Install ── */
.app-install-block {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.app-install-intro {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.app-install-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.app-install-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.app-install-platform {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.app-install-card ol {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: #4A5568;
  line-height: 1.75;
}
.app-install-card ol li {
  margin-bottom: 6px;
}
.app-install-card ol li:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .app-install-cards {
    grid-template-columns: 1fr;
  }
}

/* ── Scroll to Top Button ── */
#scroll-top-btn {
  position: fixed;
  bottom: 32px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(11, 32, 53, 0.75);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, background 0.2s, transform 0.2s;
  z-index: 999;
  backdrop-filter: blur(4px);
}
#scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}
#scroll-top-btn:hover {
  background: #C9A84C;
  border-color: #C9A84C;
  transform: translateY(-2px);
}
@media (max-width: 1024px) {
  #scroll-top-btn {
    bottom: 80px;
    right: 0px;
    width: 40px;
    height: 40px;
    font-size: 18px;
    border-radius: 50% 0 0 50%;
  }
}
