/* ============================================================
   RockOcean Group — Main Stylesheet
   ============================================================ */

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

/* ─── Design Tokens ─── */
:root {
  --bg:       #060e1c;
  --bg2:      #0a1628;
  --bg3:      #0d1f38;
  --ocean:    #065a82;
  --teal:     #1c7293;
  --bright:   #00b4d8;
  --gold:     #f2a65a;
  --text:     #e8f4f8;
  --muted:    #8fb8cc;
  --border:   rgba(0,180,216,.16);
  --wa:       #25d366;
  --radius:   14px;
  --sp:       96px; /* section padding */
}

/* ─── Base ─── */
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); line-height: 1.65; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ─── Layout ─── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section   { padding: var(--sp) 0; }
.bg-alt    { background: var(--bg2); }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ─── Typography helpers ─── */
.section-label { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--bright); margin-bottom: 12px; }
.section-title { font-size: clamp(1.85rem, 3.4vw, 2.8rem); font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.section-sub   { font-size: 1.04rem; color: var(--muted); max-width: 660px; margin-bottom: 52px; }
.grad { background: linear-gradient(90deg, var(--bright), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ─── Buttons ─── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 10px; font-weight: 700; font-size: .95rem; cursor: pointer; transition: all .2s; border: none; line-height: 1; white-space: nowrap; }
.btn-primary { background: var(--bright); color: var(--bg2); }
.btn-primary:hover { background: #1fd0f5; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,180,216,.3); }
.btn-outline  { background: transparent; color: var(--bright); border: 2px solid var(--bright); }
.btn-outline:hover { background: rgba(0,180,216,.1); transform: translateY(-2px); }
.btn-wa  { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1db954; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,.3); }
.btn-lg  { padding: 16px 36px; font-size: 1.05rem; }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ─── Badge / Tag ─── */
.badge { display: inline-block; padding: 4px 14px; border-radius: 999px; font-size: .73rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(0,180,216,.12); color: var(--bright); border: 1px solid rgba(0,180,216,.28); margin-bottom: 14px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .69rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.tag-live { background: rgba(0,220,130,.12); color: #00dc82; border: 1px solid rgba(0,220,130,.3); }
.tag-soon { background: rgba(242,166,90,.13); color: var(--gold); border: 1px solid rgba(242,166,90,.3); }
.tag-new  { background: rgba(0,180,216,.12); color: var(--bright); border: 1px solid rgba(0,180,216,.3); }

/* ─── Nav ─── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 14px 0; transition: background .3s, backdrop-filter .3s; }
nav.scrolled { background: rgba(6,14,28,.94); backdrop-filter: blur(18px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; gap: 24px; }
.nav-logo  { font-size: 1.28rem; font-weight: 900; white-space: nowrap; flex-shrink: 0; }
.nav-logo span { color: var(--bright); }
.nav-links { display: flex; gap: 22px; list-style: none; flex: 1; }
.nav-links a { font-size: .86rem; font-weight: 500; color: var(--muted); transition: color .2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; margin-left: auto; }
.lang-sw   { display: flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 700; }
.lang-it   { color: var(--bright); }
.lang-sep  { color: var(--border); }
.lang-en, .lang-es, .lang-fr, .lang-de { color: var(--muted); opacity: .5; }
span.lang-en, span.lang-es, span.lang-fr, span.lang-de { cursor: default; }
a.lang-en, a.lang-es, a.lang-fr, a.lang-de { opacity: .65; cursor: pointer; transition: opacity .2s, color .2s; }
a.lang-en:hover, a.lang-es:hover, a.lang-fr:hover, a.lang-de:hover { opacity: 1; color: var(--text); }
.nav-wa-btn { display: flex; align-items: center; gap: 7px; background: var(--wa); color: #fff; padding: 9px 18px; border-radius: 8px; font-size: .84rem; font-weight: 700; transition: all .2s; }
.nav-wa-btn:hover { background: #1db954; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,211,102,.3); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }

/* Mobile menu */
.mobile-menu { display: none; position: fixed; inset: 0; background: var(--bg2); z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1.3rem; font-weight: 700; color: var(--text); }
.mobile-menu a:hover { color: var(--bright); }
.m-close { position: absolute; top: 20px; right: 24px; font-size: 1.8rem; cursor: pointer; color: var(--muted); background: none; border: none; }

/* ─── WA Float ─── */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 900; display: flex; align-items: center; gap: 10px; background: var(--wa); color: #fff; padding: 14px 20px; border-radius: 999px; font-weight: 700; font-size: .9rem; box-shadow: 0 4px 24px rgba(37,211,102,.45); transition: transform .2s, box-shadow .2s; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 8px 36px rgba(37,211,102,.55); }
.wa-float svg { width: 22px; height: 22px; fill: #fff; flex-shrink: 0; }
@media (max-width: 480px) { .wa-float span { display: none; } .wa-float { padding: 14px; border-radius: 50%; } }

/* ─── Page Hero (non-home) ─── */
.page-hero { padding: 140px 0 96px; background: var(--bg); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 100% 50% at 50% 0%, rgba(0,180,216,.26) 0%, rgba(0,120,160,.13) 40%, transparent 65%), radial-gradient(ellipse 50% 40% at 10% 80%, rgba(212,168,67,.09) 0%, transparent 55%), radial-gradient(ellipse 40% 50% at 90% 60%, rgba(27,79,138,.18) 0%, transparent 50%); pointer-events: none; }
.page-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 140px; background: linear-gradient(to bottom, transparent, #060e1c); pointer-events: none; z-index: 0; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .ph-label  { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--bright); margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 900; margin-bottom: 16px; line-height: 1.12; }
.page-hero p  { font-size: 1.08rem; color: var(--muted); max-width: 600px; }

/* ─── Page Hero Video variant ─── */
.page-hero-video { min-height: 480px; }
.page-hero-video .ph-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0.55; }
.page-hero-video::before { z-index: 1; background: linear-gradient(to bottom, rgba(6,14,28,.50) 0%, rgba(6,14,28,.30) 60%, transparent 100%), radial-gradient(ellipse 100% 50% at 50% 0%, rgba(0,180,216,.20) 0%, rgba(0,120,160,.10) 40%, transparent 65%) !important; }
.page-hero-video::after { z-index: 2 !important; }
.page-hero-video .container { position: relative; z-index: 3; }

/* ─── Trust Bar ─── */
.trust-bar { background: var(--bg3); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.trust-items { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item  { text-align: center; }
.trust-val   { font-size: 1.55rem; font-weight: 900; color: var(--bright); }
.trust-label { font-size: .74rem; color: var(--muted); margin-top: 2px; }
.trust-sep   { width: 1px; height: 40px; background: var(--border); }

/* ─── Generic Card ─── */
.card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: rgba(0,180,216,.4); }
.card-icon  { font-size: 2rem; margin-bottom: 16px; }
.card-title { font-size: 1.08rem; font-weight: 800; margin-bottom: 10px; }
.card-text  { font-size: .9rem; color: var(--muted); }

/* ─── Grid helpers ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ─── Steps ─── */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.steps::before { content: ''; position: absolute; top: 35px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, var(--ocean), var(--bright)); z-index: 0; }
.step { text-align: center; padding: 0 16px; }
.step-num { width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg, var(--ocean), var(--teal)); border: 3px solid var(--bg); margin: 0 auto 22px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; position: relative; z-index: 1; box-shadow: 0 0 20px rgba(6,90,130,.5); }
.step-title { font-size: .98rem; font-weight: 800; margin-bottom: 8px; }
.step-text  { font-size: .86rem; color: var(--muted); }

/* ─── CTA Band ─── */
.cta-band { background: linear-gradient(135deg, rgba(6,90,130,.45), rgba(28,114,147,.28)); border: 1px solid rgba(0,180,216,.24); border-radius: 20px; padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(0,180,216,.1), transparent); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2  { font-size: clamp(1.55rem,3vw,2.3rem); font-weight: 900; margin-bottom: 12px; }
.cta-band p   { font-size: 1.04rem; color: var(--muted); max-width: 500px; margin: 0 auto 32px; }
.cta-btns     { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── FAQ ─── */
.faq-list { max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; padding: 20px 0; font-size: .98rem; font-weight: 700; color: var(--text); background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q:hover { color: var(--bright); }
.faq-arrow { font-size: .9rem; color: var(--bright); transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding-bottom: 18px; font-size: .9rem; color: var(--muted); line-height: 1.72; }

/* ─── Checklist ─── */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.checklist li { font-size: .91rem; color: var(--muted); padding-left: 24px; position: relative; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--bright); font-weight: 700; }

/* ─── Service card ─── */
.svc-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; transition: transform .2s, border-color .2s; display: flex; flex-direction: column; }
.svc-card:hover { transform: translateY(-4px); }
.svc-card.highlight { border-color: rgba(0,180,216,.4); }
.svc-card.highlight:hover { border-color: rgba(0,180,216,.65); }
.svc-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.svc-icon { font-size: 2.2rem; }
.svc-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 10px; }
.svc-card > p { font-size: .91rem; color: var(--muted); margin-bottom: 24px; flex: 1; }
.svc-price { font-size: 2rem; font-weight: 900; background: linear-gradient(90deg, var(--bright), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.svc-price-note { font-size: .8rem; color: var(--muted); margin-bottom: 20px; }

/* ─── Review card ─── */
.review-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.review-stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; }
.review-text  { font-size: .9rem; color: var(--muted); line-height: 1.7; font-style: italic; flex: 1; }
.review-author { font-size: .84rem; font-weight: 700; }
.review-source { font-size: .75rem; color: var(--muted); }

/* ─── Property card ─── */
.prop-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s; }
.prop-card:hover { transform: translateY(-4px); border-color: rgba(0,180,216,.4); }
.prop-img  { height: 190px; background: linear-gradient(135deg, var(--ocean), var(--teal)); display: flex; align-items: center; justify-content: center; font-size: 2.8rem; }
.prop-body { padding: 20px; }
.prop-zone { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--bright); margin-bottom: 5px; }
.prop-name { font-size: .98rem; font-weight: 800; margin-bottom: 5px; }
.prop-details { font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.prop-links { display: flex; gap: 8px; }
.prop-link  { font-size: .76rem; font-weight: 600; color: var(--bright); background: rgba(0,180,216,.1); border: 1px solid rgba(0,180,216,.2); padding: 5px 12px; border-radius: 6px; transition: background .2s; }
.prop-link:hover { background: rgba(0,180,216,.22); }

/* ─── Blog card ─── */
.blog-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.blog-card:hover { transform: translateY(-4px); border-color: rgba(0,180,216,.4); }
.blog-card-img  { height: 180px; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-meta  { font-size: .73rem; color: var(--muted); margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.blog-stat  { font-size: .7rem; color: var(--muted); opacity: .75; }
.blog-card h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 10px; line-height: 1.35; }
.featured-img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 280px; transition: transform .45s ease; }
.featured-img-wrap { overflow: hidden; min-height: 280px; }
.featured-card:hover .featured-img { transform: scale(1.04); }
.blog-excerpt { font-size: .87rem; color: var(--muted); flex: 1; margin-bottom: 18px; line-height: 1.6; }
.read-more { font-size: .84rem; font-weight: 700; color: var(--bright); display: flex; align-items: center; gap: 5px; }
.read-more:hover { color: #23cbf5; }

/* ─── Article ─── */
.article-wrap { max-width: 780px; margin: 0 auto; }
.article-wrap h2 { font-size: 1.55rem; font-weight: 800; margin: 48px 0 14px; }
.article-wrap h3 { font-size: 1.15rem; font-weight: 700; margin: 32px 0 10px; color: var(--bright); }
.article-wrap p  { font-size: .98rem; color: var(--muted); margin-bottom: 18px; line-height: 1.78; }
.article-wrap ul { list-style: none; margin-bottom: 20px; display: flex; flex-direction: column; gap: 10px; }
.article-wrap ul li { font-size: .94rem; color: var(--muted); padding-left: 22px; position: relative; }
.article-wrap ul li::before { content: '→'; position: absolute; left: 0; color: var(--bright); }
.article-wrap strong { color: var(--text); font-weight: 700; }
.article-callout { background: var(--bg3); border-left: 4px solid var(--bright); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 28px 0; }
.article-callout p { margin: 0; font-size: .94rem; }
.article-meta { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-bottom: 36px; font-size: .82rem; color: var(--muted); }
.article-meta span { display: flex; align-items: center; gap: 5px; }

/* ─── Team card ─── */
.team-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; transition: transform .2s, border-color .2s; }
.team-card:hover { transform: translateY(-4px); border-color: rgba(0,180,216,.4); }
.team-init { width: 68px; height: 68px; border-radius: 16px; background: linear-gradient(135deg, var(--ocean), var(--bright)); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 900; color: #fff; margin-bottom: 18px; }
.team-name  { font-size: 1.15rem; font-weight: 800; margin-bottom: 3px; }
.team-role  { font-size: .8rem; color: var(--bright); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 6px; }
.team-loc   { font-size: .82rem; color: var(--muted); margin-bottom: 18px; }

/* ─── Agent card ─── */
.agent-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; text-align: center; transition: transform .2s, border-color .2s; }
.agent-card:hover { transform: translateY(-4px); border-color: rgba(0,180,216,.4); }
.agent-av { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--ocean), var(--teal)); margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 900; color: #fff; border: 2px solid rgba(0,180,216,.35); }
.agent-name { font-size: 1rem; font-weight: 800; margin-bottom: 3px; }
.agent-role { font-size: .7rem; color: var(--bright); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.agent-tasks { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 6px; }
.agent-tasks li { font-size: .76rem; color: var(--muted); padding-left: 13px; position: relative; }
.agent-tasks li::before { content: '·'; position: absolute; left: 0; color: var(--bright); font-size: 1.2rem; line-height: 1; }

/* ─── Zone filter ─── */
.zone-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.zone-btn { padding: 7px 18px; border-radius: 999px; font-size: .82rem; font-weight: 600; background: var(--bg3); border: 1px solid var(--border); color: var(--muted); cursor: pointer; transition: all .2s; }
.zone-btn:hover, .zone-btn.active { background: rgba(0,180,216,.15); border-color: var(--bright); color: var(--bright); }

/* ─── Footer ─── */
footer { padding: 56px 0 32px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand p { font-size: .86rem; color: var(--muted); margin-top: 10px; max-width: 240px; line-height: 1.6; }
.footer-col h4 { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { font-size: .86rem; color: var(--muted); transition: color .2s; }
.footer-col ul a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-copy { font-size: .78rem; color: var(--muted); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { font-size: .8rem; color: var(--muted); transition: color .2s; }
.footer-social a:hover { color: var(--text); }

/* ─── Fade animation ─── */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── Responsive ─── */
@media (max-width: 1020px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: .82rem; }
}
@media (max-width: 880px) {
  .nav-links, .lang-sw { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .steps  { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  :root { --sp: 72px; }
}
@media (max-width: 620px) {
  .nav-wa-btn span { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 20px; }
  .svc-card { padding: 24px; }
  .page-hero { padding: 100px 0 52px; }
  .trust-sep { display: none; }
  .trust-items { gap: 24px; }
  :root { --sp: 56px; }
}

/* ─── Blog article: sidebar collapses on tablet/mobile ─── */
@media (max-width: 800px) {
  [style*="grid-template-columns:1fr 320px"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}

/* ─── Data tables: horizontal scroll on mobile ─── */
@media (max-width: 640px) {
  .article-wrap [style*="overflow:hidden"] {
    overflow-x: auto !important;
  }
  .article-wrap [style*="gap:0"] {
    min-width: 420px;
  }
}

/* ─── Mobile menu lang switcher ─── */
.mobile-menu .lang-sw {
  font-size: 1rem;
  gap: 10px;
  margin-top: 4px;
}
.mobile-menu .lang-sw a {
  opacity: 1 !important;
  color: var(--muted) !important;
  font-size: 1.15rem;
}
.mobile-menu .lang-sw a:hover { color: var(--text) !important; }

/* ─────────────────────────────────────────
   AI Chatbot Widget
───────────────────────────────────────── */
#ro-chat-btn {
  position: fixed; bottom: 96px; right: 28px; z-index: 9000;
  background: linear-gradient(135deg, #00B4D8 0%, #0077a8 100%);
  color: #fff; border: none; border-radius: 999px;
  padding: 11px 18px; font-size: .8rem; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 22px rgba(0,180,216,.45);
  transition: transform .2s, box-shadow .2s;
  font-family: inherit; line-height: 1;
}
#ro-chat-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,180,216,.6); }
.ro-btn-dot { width: 8px; height: 8px; background: #00ff88; border-radius: 50%; flex-shrink: 0; animation: ro-pulse 2s infinite; }
@keyframes ro-pulse { 0%,100% { opacity:1; } 50% { opacity:.3; } }

#ro-chat-win {
  position: fixed; bottom: 170px; right: 28px; z-index: 9001;
  width: 360px; max-height: 530px;
  background: #0a1628; border: 1px solid rgba(0,180,216,.22);
  border-radius: 18px; display: flex; flex-direction: column;
  overflow: hidden; box-shadow: 0 20px 70px rgba(0,0,0,.65);
  transform-origin: bottom right;
  transition: transform .28s cubic-bezier(.34,1.56,.64,1), opacity .2s;
  transform: scale(0); opacity: 0; pointer-events: none;
}
#ro-chat-win.open { transform: scale(1); opacity: 1; pointer-events: all; }

.ro-chat-header {
  background: linear-gradient(135deg,rgba(0,180,216,.13) 0%,rgba(0,120,160,.07) 100%);
  border-bottom: 1px solid rgba(0,180,216,.14);
  padding: 14px 16px; display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.ro-chat-av {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg,#00B4D8,#005f80);
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 900; color: #fff; flex-shrink: 0; letter-spacing: .05em;
}
.ro-chat-info { flex: 1; }
.ro-chat-title { font-size: .85rem; font-weight: 800; color: #e8f4f8; }
.ro-chat-sub { font-size: .67rem; color: #00cc77; font-weight: 600; }
.ro-chat-close { background: none; border: none; color: rgba(255,255,255,.35); font-size: .95rem; cursor: pointer; padding: 4px; line-height:1; transition: color .15s; }
.ro-chat-close:hover { color: #e8f4f8; }

.ro-chat-msgs {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth;
}
.ro-chat-msgs::-webkit-scrollbar { width: 3px; }
.ro-chat-msgs::-webkit-scrollbar-thumb { background: rgba(0,180,216,.2); border-radius: 3px; }

.ro-msg {
  max-width: 87%; font-size: .83rem; line-height: 1.58;
  padding: 10px 14px; border-radius: 12px; animation: ro-fadein .22s ease;
}
@keyframes ro-fadein { from { opacity:0; transform:translateY(7px); } to { opacity:1; transform:none; } }
.ro-msg.bot { background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.07); color: #ccdee8; border-radius: 12px 12px 12px 2px; align-self: flex-start; }
.ro-msg.user { background: linear-gradient(135deg,#00B4D8,#006f98); color: #fff; border-radius: 12px 12px 2px 12px; align-self: flex-end; }
.ro-msg.typing { padding: 12px 16px; }
.ro-typing-dots { display: flex; gap: 5px; align-items: center; }
.ro-typing-dots span { width: 6px; height: 6px; background: rgba(0,180,216,.55); border-radius: 50%; animation: ro-bounce .9s infinite; }
.ro-typing-dots span:nth-child(2) { animation-delay: .18s; }
.ro-typing-dots span:nth-child(3) { animation-delay: .36s; }
@keyframes ro-bounce { 0%,60%,100% { transform:translateY(0); } 30% { transform:translateY(-6px); } }

.ro-quick-replies { padding: 8px 12px 10px; display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid rgba(255,255,255,.05); flex-shrink: 0; min-height: 0; }
.ro-quick-replies:empty { padding: 0; border: none; }
.ro-qr {
  background: rgba(0,180,216,.07); border: 1px solid rgba(0,180,216,.22);
  color: #00B4D8; border-radius: 999px; padding: 5px 12px;
  font-size: .71rem; font-weight: 600; cursor: pointer;
  transition: background .15s; font-family: inherit; white-space: nowrap; line-height: 1.3;
}
.ro-qr:hover { background: rgba(0,180,216,.18); }

.ro-chat-input-row { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid rgba(255,255,255,.06); flex-shrink: 0; }
#ro-chat-input {
  flex: 1; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; padding: 9px 12px; font-size: .82rem; color: #e8f4f8;
  outline: none; font-family: inherit;
}
#ro-chat-input::placeholder { color: rgba(255,255,255,.22); }
#ro-chat-input:focus { border-color: rgba(0,180,216,.4); }
#ro-chat-send {
  background: linear-gradient(135deg,#00B4D8,#006f98); border: none;
  border-radius: 8px; width: 38px; height: 38px; color: #fff; font-size: .9rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: opacity .15s;
}
#ro-chat-send:hover { opacity: .82; }

.ro-chat-cta {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  background: #25d366; color: #fff; border-radius: 999px;
  padding: 7px 14px; font-size: .74rem; font-weight: 700; text-decoration: none;
}
.ro-chat-link { color: #00B4D8; text-decoration: none; font-weight: 600; }
.ro-chat-link:hover { text-decoration: underline; }

@media (max-width: 420px) {
  #ro-chat-win { right: 8px; left: 8px; width: auto; bottom: 162px; }
  #ro-chat-btn { right: 20px; bottom: 90px; }
}

/* ─────────────────────────────────────────
   CTA Pulse
───────────────────────────────────────── */
@keyframes ctaPulse {
  0%,100% { box-shadow: 0 8px 28px rgba(0,180,216,.3); }
  55%     { box-shadow: 0 8px 28px rgba(0,180,216,.3), 0 0 0 10px rgba(0,180,216,.1); }
}
.btn-pulse { animation: ctaPulse 2.8s ease infinite; }

/* ─────────────────────────────────────────
   Sticky Bottom Bar
───────────────────────────────────────── */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
  background: rgba(10,22,40,.97); border-top: 1px solid var(--border);
  backdrop-filter: blur(16px); padding: 13px 32px;
  display: flex; align-items: center; gap: 14px;
  transform: translateY(100%);
  transition: transform .45s cubic-bezier(.34,1.56,.64,1);
}
.sticky-bar.show { transform: translateY(0); }
.sticky-bar p { flex: 1; font-size: .9rem; margin: 0; min-width: 180px; }
.sticky-bar .btn { padding: 9px 20px; font-size: .85rem; flex-shrink: 0; }
.sticky-bar-close { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 1rem; padding: 4px 8px; flex-shrink: 0; font-family: inherit; transition: color .2s; }
.sticky-bar-close:hover { color: var(--text); }

/* Floating buttons lift smoothly when sticky bar appears */
.wa-float        { transition: bottom .3s ease, transform .2s, box-shadow .2s; }
#ro-chat-btn     { transition: bottom .3s ease, transform .2s, box-shadow .2s; }
#ro-chat-win     { transition: bottom .3s ease, transform .28s cubic-bezier(.34,1.56,.64,1), opacity .2s; }
body.sticky-on .wa-float    { bottom: 88px  !important; }
body.sticky-on #ro-chat-btn { bottom: 150px !important; }
body.sticky-on #ro-chat-win { bottom: 224px !important; }

@media (max-width: 620px) {
  .sticky-bar { padding: 12px 16px; gap: 8px; flex-wrap: wrap; }
  .sticky-bar p { width: 100%; font-size: .82rem; }
  body.sticky-on #ro-chat-win { right: 8px; left: 8px; width: auto; }
}

/* ─────────────────────────────────────────
   Social Proof Toast
───────────────────────────────────────── */
.sp-toast { position: fixed; bottom: 100px; left: 24px; z-index: 850; background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; max-width: 280px; box-shadow: 0 8px 32px rgba(0,0,0,.5); transform: translateX(-120%); transition: transform .4s cubic-bezier(.34,1.56,.64,1); pointer-events: none; }
.sp-toast.show { transform: translateX(0); pointer-events: auto; }
.sp-av { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--ocean), var(--bright)); display: flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 900; color: #fff; flex-shrink: 0; }
.sp-body { flex: 1; min-width: 0; }
.sp-name { font-size: .82rem; font-weight: 700; color: var(--text); }
.sp-action { font-size: .74rem; color: var(--muted); margin-top: 2px; }
.sp-live { width: 7px; height: 7px; background: #00dc82; border-radius: 50%; flex-shrink: 0; animation: sp-blink 2s infinite; }
@keyframes sp-blink { 0%,100% { opacity:1; } 50% { opacity:.3; } }
body.sticky-on .sp-toast { bottom: 160px; }
@media (max-width: 480px) { .sp-toast { left: 12px; right: 12px; max-width: none; } }

/* ─────────────────────────────────────────
   Reading Progress Bar (blog articles)
───────────────────────────────────────── */
.read-progress { position: fixed; top: 0; left: 0; z-index: 1001; height: 3px; width: 0%; background: linear-gradient(90deg, var(--bright), var(--gold)); pointer-events: none; transition: width .08s linear; }

/* ─────────────────────────────────────────
   Steps connector draw-in animation
───────────────────────────────────────── */
.steps::before { transform: scaleX(0); transform-origin: left center; transition: transform .9s cubic-bezier(.4,0,.2,1) .15s; }
.steps.line-ready::before { transform: scaleX(1); }

