/* ═══════════════════════════════════════════════════════════════
   Zitec Robot Theme  —  public-robot.css (v2 Modern)
   Dark navy navbar/hero + clean white content sections.
   Loaded when site_theme = 'robot'
═══════════════════════════════════════════════════════════════ */

/* ── Variables ───────────────────────────────────────────────────────────── */
:root {
  /* Emerald */
  --rb-green:        #059669;
  --rb-green-dark:   #047857;
  --rb-green-mid:    #10b981;
  --rb-green-light:  #34d399;
  --rb-green-pale:   #ecfdf5;
  --rb-grad:         linear-gradient(135deg, #059669 0%, #047857 100%);
  --rb-shadow-green: 0 4px 20px rgba(5, 150, 105, .28);

  /* Light palette — content */
  --rb-white:        #ffffff;
  --rb-light:        #f8fafc;
  --rb-light-2:      #f1f5f9;
  --rb-border-light: #e2e8f0;
  --rb-border-pale:  #cbd5e1;

  /* Dark palette — navbar, hero, footer, CTA */
  --rb-navy:         #0f172a;
  --rb-navy-2:       #1e293b;
  --rb-navy-3:       #334155;

  /* Text on light bg */
  --rb-text-dark:    #0f172a;
  --rb-text-body:    #1e293b;
  --rb-text-sub:     #475569;
  --rb-text-muted:   #64748b;

  /* Shadows */
  --rb-shadow-sm:    0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --rb-shadow:       0 4px 16px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.05);
  --rb-shadow-lg:    0 12px 40px rgba(0,0,0,.11), 0 4px 16px rgba(0,0,0,.07);

  /* Layout */
  --rb-radius:       8px;
  --rb-radius-lg:    14px;
  --rb-font-mono:    'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
}

/* ── Base ─────────────────────────────────────────────────────────────────── */
body.theme-robot {
  background: var(--rb-light);
  color: var(--rb-text-body);
  font-family: 'Inter', sans-serif;
}

/* ── Navbar ───────────────────────────────────────────────────────────────── */
#mainNav.robot-nav {
  background: var(--rb-navy);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 0;
  transition: box-shadow .3s;
}
#mainNav.robot-nav.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,.3), 0 0 0 1px rgba(5,150,105,.18);
}
.robot-nav-inner {
  display: flex; align-items: center;
  height: 62px; gap: 0;
}
#mainNav.robot-nav .navbar-brand {
  display: flex; align-items: center; gap: .65rem;
  padding: 0; margin-right: 2rem; text-decoration: none;
}
.robot-brand-mark {
  width: 34px; height: 34px;
  background: var(--rb-grad); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; color: #fff; flex-shrink: 0;
  box-shadow: 0 0 16px rgba(5,150,105,.45);
}
.robot-brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700; font-size: 1.05rem; color: #fff; line-height: 1;
}
.robot-brand-sub {
  font-family: var(--rb-font-mono);
  font-size: .58rem; color: var(--rb-green-light);
  letter-spacing: .8px; text-transform: uppercase;
  display: block; margin-top: 2px;
}
#mainNav.robot-nav .navbar-logo        { max-height: 34px; width: auto; filter: brightness(0) invert(1); }
#mainNav.robot-nav .navbar-logo.logo-color { filter: none; }

#mainNav.robot-nav .nav-link {
  color: rgba(255,255,255,.65) !important;
  font-size: .87rem; font-weight: 500;
  padding: 1.1rem .9rem !important;
  position: relative; transition: color .2s;
}
#mainNav.robot-nav .nav-link::after {
  content: '';
  position: absolute; bottom: 0; left: .9rem; right: .9rem; height: 2px;
  background: var(--rb-green); border-radius: 2px 2px 0 0;
  transform: scaleX(0); transition: transform .25s ease;
}
#mainNav.robot-nav .nav-link:hover,
#mainNav.robot-nav .nav-link.active    { color: #fff !important; }
#mainNav.robot-nav .nav-link:hover::after,
#mainNav.robot-nav .nav-link.active::after { transform: scaleX(1); }
#mainNav.robot-nav .navbar-toggler {
  color: rgba(255,255,255,.75) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: var(--rb-radius) !important;
  padding: .35rem .55rem !important;
  box-shadow: none !important;
}
.robot-nav-cta-wrap { margin-left: auto; padding-left: 1rem; }
.robot-nav-cta {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem 1.2rem; border-radius: var(--rb-radius);
  background: var(--rb-grad); color: #fff;
  font-size: .85rem; font-weight: 600;
  border: none; cursor: pointer;
  box-shadow: 0 0 16px rgba(5,150,105,.4);
  transition: box-shadow .2s, transform .2s; white-space: nowrap;
}
.robot-nav-cta:hover {
  box-shadow: 0 0 26px rgba(5,150,105,.62);
  transform: translateY(-1px); color: #fff;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.robot-hero {
  min-height: 92vh;
  background: linear-gradient(135deg, #0f172a 0%, #0a1f12 55%, #0f172a 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding: 6rem 0 5rem;
}
.robot-hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(5,150,105,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5,150,105,.07) 1px, transparent 1px);
  background-size: 56px 56px;
}
.robot-hero-glow {
  position: absolute; top: -15%; right: -10%;
  width: 55%; height: 90%;
  background: radial-gradient(ellipse at center, rgba(5,150,105,.18) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
/* Slideshow */
.robot-hero-slides { position: absolute; inset: 0; z-index: 0; }
.robot-hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease-in-out; will-change: opacity;
}
.robot-hero-slide.active { opacity: 1; }
.robot-hero-slide-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(15,23,42,.88) 0%,
    rgba(15,23,42,.60) 58%,
    rgba(15,23,42,.38) 100%
  );
}
.robot-hero.has-slides .robot-hero-grid  { z-index: 2; }
.robot-hero.has-slides .robot-hero-glow  { display: none; }
.robot-hero.has-slides .robot-hero-inner { z-index: 3; }
.robot-hero.has-slides .hero-dots        { z-index: 4; }

/* Hero content */
.robot-hero-inner { position: relative; z-index: 1; max-width: 680px; }
.robot-hero-label {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--rb-font-mono);
  font-size: .72rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--rb-green-light);
  margin-bottom: 1.4rem; animation: rbFadeLeft .6s ease both;
}
.robot-hero-label::before {
  content: ''; display: inline-block;
  width: 24px; height: 2px; background: var(--rb-green-mid); border-radius: 2px;
}
.robot-hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 800; line-height: 1.1;
  color: #fff; margin-bottom: 1.4rem;
  animation: rbFadeLeft .6s .1s ease both;
}
.robot-hero-title .rb-accent {
  background: linear-gradient(90deg, #10b981, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.robot-hero-subtitle {
  font-size: 1.05rem; color: rgba(255,255,255,.7);
  line-height: 1.85; max-width: 530px; margin-bottom: 2.25rem;
  animation: rbFadeLeft .6s .2s ease both;
}
.robot-hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: rbFadeLeft .6s .3s ease both;
}
.robot-btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .78rem 1.9rem; border-radius: var(--rb-radius);
  background: var(--rb-grad); color: #fff;
  font-weight: 600; font-size: .92rem;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: var(--rb-shadow-green);
  transition: transform .2s, box-shadow .2s;
}
.robot-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(5,150,105,.50); color: #fff;
}
.robot-btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .76rem 1.9rem; border-radius: var(--rb-radius);
  background: rgba(255,255,255,.08); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9); font-weight: 600; font-size: .92rem;
  text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.robot-btn-outline:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.4); color: #fff;
}
/* Hero dots */
.robot-hero .hero-dots { bottom: 2.5rem; z-index: 4; }
.robot-hero .hero-dot  { background: rgba(255,255,255,.3); }
.robot-hero .hero-dot.active { background: var(--rb-green-mid); width: 24px; border-radius: 3px; }
.robot-hero .hero-dot:hover  { background: rgba(255,255,255,.6); }

/* ── Stats bar ────────────────────────────────────────────────────────────── */
.robot-stats-bar {
  background: var(--rb-white);
  border-bottom: 1px solid var(--rb-border-light);
  padding: 1.75rem 0;
  box-shadow: var(--rb-shadow-sm);
}
.robot-stats-inner {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap;
}
.robot-stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: .65rem 3rem;
  border-right: 1px solid var(--rb-border-light);
  flex: 1; min-width: 130px;
}
.robot-stat-item:last-child { border-right: none; }
.robot-stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 1.85rem; font-weight: 800;
  color: var(--rb-green-dark); line-height: 1; margin-bottom: .25rem;
}
.robot-stat-label {
  font-size: .69rem; color: var(--rb-text-muted);
  letter-spacing: .5px; text-transform: uppercase;
  font-family: var(--rb-font-mono);
}

/* ── Sections ─────────────────────────────────────────────────────────────── */
.robot-section        { padding: 5.5rem 0; }
.robot-section-dark   { background: var(--rb-light); }
.robot-section-dark2  { background: var(--rb-white); }

.robot-section-head { margin-bottom: 3rem; }
.robot-section-tag {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--rb-green-pale); color: var(--rb-green-dark);
  font-family: var(--rb-font-mono);
  font-size: .7rem; font-weight: 700; letter-spacing: .9px;
  text-transform: uppercase;
  padding: .3rem .8rem; border-radius: 20px; margin-bottom: .8rem;
}
.robot-section-tag::before { display: none; }
.robot-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700; color: var(--rb-text-dark);
  margin-bottom: .5rem; line-height: 1.3;
}
.robot-section-sub {
  font-size: .95rem; color: var(--rb-text-sub);
  max-width: 520px; line-height: 1.8;
}
/* Override section title color in "keunggulan" column */
.robot-section-dark2 .robot-section-title { color: var(--rb-text-dark); }

/* ── Training cards ───────────────────────────────────────────────────────── */
.robot-training-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.25rem;
}
.robot-tc {
  background: var(--rb-white);
  border: 1px solid var(--rb-border-light);
  border-radius: var(--rb-radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--rb-shadow-sm);
  transition: border-color .25s, box-shadow .25s, transform .25s;
  position: relative;
}
.robot-tc::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--rb-grad); opacity: 0; transition: opacity .25s;
}
.robot-tc:hover {
  border-color: rgba(5,150,105,.25);
  box-shadow: 0 8px 32px rgba(5,150,105,.11), 0 2px 8px rgba(0,0,0,.06);
  transform: translateY(-4px);
}
.robot-tc:hover::before { opacity: 1; }
.robot-tc-top {
  padding: 1.35rem 1.35rem 1.1rem;
  display: flex; align-items: flex-start; gap: 1rem;
  border-bottom: 1px solid var(--rb-border-light);
}
.robot-tc-icon-wrap {
  width: 48px; height: 48px; border-radius: var(--rb-radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #fff; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.robot-tc-icon-wrap.training-color-primary   { background: linear-gradient(135deg,#15803d,#059669); }
.robot-tc-icon-wrap.training-color-danger    { background: linear-gradient(135deg,#dc2626,#f97316); }
.robot-tc-icon-wrap.training-color-warning   { background: linear-gradient(135deg,#d97706,#f59e0b); }
.robot-tc-icon-wrap.training-color-success   { background: linear-gradient(135deg,#16a34a,#10b981); }
.robot-tc-icon-wrap.training-color-info      { background: linear-gradient(135deg,#0284c7,#38bdf8); }
.robot-tc-icon-wrap.training-color-secondary { background: linear-gradient(135deg,#475569,#94a3b8); }
.robot-tc-head-text { flex: 1; min-width: 0; }
.robot-tc-title {
  font-family: 'Poppins', sans-serif;
  font-size: .96rem; font-weight: 700;
  color: var(--rb-text-dark); margin-bottom: .2rem; line-height: 1.3;
}
.robot-tc-subtitle { font-size: .79rem; color: var(--rb-text-muted); }
.robot-tc-badge {
  font-family: var(--rb-font-mono);
  font-size: .63rem; font-weight: 700; letter-spacing: .4px;
  text-transform: uppercase; padding: .2rem .55rem;
  border-radius: 6px; background: var(--rb-green-pale);
  color: var(--rb-green-dark); white-space: nowrap; align-self: flex-start;
}
.robot-tc-body { padding: 1.1rem 1.35rem; flex: 1; }
.robot-tc-meta { display: flex; gap: 1rem; margin-bottom: .8rem; flex-wrap: wrap; }
.robot-tc-meta-item {
  display: flex; align-items: center; gap: .3rem;
  font-size: .78rem; color: var(--rb-text-muted);
}
.robot-tc-meta-item i { color: var(--rb-green); }
.robot-tc-desc { font-size: .85rem; color: var(--rb-text-sub); line-height: 1.7; }
.robot-tc-topics { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .65rem; }
.robot-tc-topic {
  font-size: .7rem; color: var(--rb-text-muted);
  background: var(--rb-light); border: 1px solid var(--rb-border-light);
  padding: .15rem .5rem; border-radius: 5px;
}
.robot-tc-foot { padding: .9rem 1.35rem; border-top: 1px solid var(--rb-border-light); }
.robot-btn-daftar {
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  width: 100%; padding: .58rem;
  background: var(--rb-green-pale);
  border: 1px solid rgba(5,150,105,.2);
  color: var(--rb-green-dark); border-radius: var(--rb-radius);
  font-size: .85rem; font-weight: 600; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.robot-btn-daftar:hover {
  background: var(--rb-grad); border-color: transparent; color: #fff;
  box-shadow: 0 4px 16px rgba(5,150,105,.3);
}
.robot-training-footer { text-align: center; margin-top: 2.5rem; }
.robot-training-footer p { color: var(--rb-text-muted); margin-bottom: .85rem; font-size: .92rem; }

/* ── Features grid ────────────────────────────────────────────────────────── */
.robot-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.robot-feat-item {
  background: var(--rb-light);
  border: 1px solid var(--rb-border-light);
  padding: 1.6rem; border-radius: var(--rb-radius-lg);
  display: flex; gap: 1rem; align-items: flex-start;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.robot-feat-item:hover {
  border-color: rgba(5,150,105,.22);
  box-shadow: 0 4px 20px rgba(5,150,105,.08);
  transform: translateY(-2px);
}
.robot-feat-icon-wrap {
  width: 44px; height: 44px; border-radius: var(--rb-radius);
  background: var(--rb-green-pale); border: 1px solid rgba(5,150,105,.2);
  color: var(--rb-green-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; flex-shrink: 0;
}
.robot-feat-text { flex: 1; }
.robot-feat-title {
  font-family: 'Poppins', sans-serif;
  font-size: .93rem; font-weight: 600;
  color: var(--rb-text-dark); margin-bottom: .3rem;
}
.robot-feat-desc { font-size: .82rem; color: var(--rb-text-sub); line-height: 1.75; }

/* ── WA / ghost buttons ───────────────────────────────────────────────────── */
.robot-btn-wa {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .68rem 1.6rem; border-radius: var(--rb-radius);
  background: #25d366; color: #fff;
  font-weight: 600; font-size: .9rem; text-decoration: none;
  box-shadow: 0 4px 14px rgba(37,211,102,.28);
  transition: opacity .2s, transform .2s, box-shadow .2s;
}
.robot-btn-wa:hover { opacity: .9; transform: translateY(-1px); color: #fff; box-shadow: 0 6px 20px rgba(37,211,102,.4); }
.robot-btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .66rem 1.6rem; border-radius: var(--rb-radius);
  border: 1px solid var(--rb-border-pale);
  color: var(--rb-text-sub); font-weight: 600; font-size: .9rem;
  cursor: pointer; background: var(--rb-white);
  transition: border-color .2s, color .2s, box-shadow .2s;
}
.robot-btn-ghost:hover { border-color: var(--rb-green); color: var(--rb-green); box-shadow: 0 2px 8px rgba(5,150,105,.1); }

/* ── CTA (dark accent block) ──────────────────────────────────────────────── */
.robot-cta {
  background: linear-gradient(135deg, #0f172a 0%, #0a1f12 50%, #0f172a 100%);
  padding: 5.5rem 0; position: relative; overflow: hidden;
}
.robot-cta::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(5,150,105,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5,150,105,.06) 1px, transparent 1px);
  background-size: 56px 56px; pointer-events: none;
}
.robot-cta::after {
  content: ''; position: absolute;
  top: -30%; right: -10%; width: 50%; height: 130%;
  background: radial-gradient(ellipse, rgba(5,150,105,.15) 0%, transparent 65%);
  pointer-events: none;
}
.robot-cta-inner { position: relative; z-index: 1; }
.robot-cta-label {
  font-family: var(--rb-font-mono);
  font-size: .7rem; color: var(--rb-green-light);
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: .8rem;
}
.robot-cta-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700; color: #fff; margin-bottom: .7rem;
}
.robot-cta-sub {
  color: rgba(255,255,255,.65); font-size: .97rem;
  max-width: 500px; line-height: 1.85; margin-bottom: 2.25rem;
}
.robot-cta-actions { display: flex; gap: .9rem; flex-wrap: wrap; }

/* CTA ghost button variant (on dark bg) */
.robot-cta .robot-btn-ghost {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
}
.robot-cta .robot-btn-ghost:hover {
  background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); color: #fff;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.robot-footer {
  background: var(--rb-navy);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 3.75rem 0 1.25rem;
  color: rgba(255,255,255,.5);
}
.robot-footer-brand { display: flex; align-items: center; gap: .65rem; margin-bottom: .8rem; }
.robot-footer-brand-icon {
  width: 30px; height: 30px; background: var(--rb-grad);
  border-radius: 7px; display: flex; align-items: center;
  justify-content: center; font-size: .8rem; color: #fff; flex-shrink: 0;
}
.robot-footer-brand-name {
  font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 700; color: #fff;
}
.robot-footer-logo { max-height: 30px; width: auto; filter: brightness(0) invert(1); }
.robot-footer-logo.logo-color { filter: none; }
.robot-footer-desc { font-size: .84rem; line-height: 1.8; color: rgba(255,255,255,.42); margin-bottom: 1.1rem; }
.robot-footer-socials { display: flex; gap: .4rem; }
.robot-footer-social {
  width: 34px; height: 34px; border-radius: var(--rb-radius);
  border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.45);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.robot-footer-social:hover { border-color: var(--rb-green-mid); color: var(--rb-green-light); background: rgba(5,150,105,.12); }
.robot-footer-heading {
  font-family: var(--rb-font-mono); font-size: .7rem; font-weight: 700;
  letter-spacing: .9px; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 1rem;
}
.robot-footer-links { list-style: none; padding: 0; margin: 0; }
.robot-footer-links li { margin-bottom: .4rem; }
.robot-footer-links a {
  font-size: .84rem; color: rgba(255,255,255,.42); text-decoration: none;
  display: inline-flex; align-items: center; gap: .3rem; transition: color .2s;
}
.robot-footer-links a:hover { color: var(--rb-green-light); }
.robot-footer-links a::before { content: '›'; color: var(--rb-green); font-size: .9rem; }
.robot-footer-contact {
  font-size: .84rem; color: rgba(255,255,255,.45);
  display: flex; align-items: flex-start; gap: .45rem; margin-bottom: .4rem;
}
.robot-footer-contact i { color: var(--rb-green-mid); flex-shrink: 0; margin-top: 2px; }
.robot-footer-divider { border-color: rgba(255,255,255,.07); margin: 1.75rem 0 .9rem; }
.robot-footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.robot-footer-copy { font-family: var(--rb-font-mono); font-size: .74rem; color: rgba(255,255,255,.22); }
.robot-footer-login {
  font-family: var(--rb-font-mono); font-size: .74rem; color: rgba(255,255,255,.22);
  text-decoration: none; transition: color .2s; display: flex; align-items: center; gap: .3rem;
}
.robot-footer-login:hover { color: var(--rb-green-mid); }

/* ── Scroll reveal ────────────────────────────────────────────────────────── */
.rb-reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.rb-reveal.rb-visible { opacity: 1; transform: translateY(0); }

/* ── Services Ticker ──────────────────────────────────────────────────────── */
.robot-ticker {
  background: var(--rb-white);
  border-bottom: 1px solid var(--rb-border-light);
  padding: .85rem 0; overflow: hidden; position: relative;
}
.robot-ticker::before, .robot-ticker::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
  pointer-events: none;
}
.robot-ticker::before { left: 0;  background: linear-gradient(to right, var(--rb-white), transparent); }
.robot-ticker::after  { right: 0; background: linear-gradient(to left,  var(--rb-white), transparent); }
.robot-ticker-track {
  display: flex; align-items: center;
  white-space: nowrap; width: max-content;
  animation: rbTicker 28s linear infinite;
}
.robot-ticker-item {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 0 1.5rem;
  color: var(--rb-text-sub); font-size: .83rem; font-weight: 500;
}
.robot-ticker-item i { color: var(--rb-green); font-size: .9rem; }
.robot-ticker-sep    { color: rgba(5, 150, 105, .35); font-size: .55rem; }
a.robot-ticker-item  { text-decoration: none; transition: color .2s; cursor: pointer; }
a.robot-ticker-item:hover { color: var(--rb-green); }
.robot-ticker:hover .robot-ticker-track { animation-play-state: paused; }

/* ── Keyframes ────────────────────────────────────────────────────────────── */
@keyframes rbTicker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes rbFadeLeft {
  from { opacity: 0; transform: translateX(-22px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Inner page overrides ─────────────────────────────────────────────────── */
body.theme-robot .page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #0a1f12 100%);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
body.theme-robot .page-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(5,150,105,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5,150,105,.05) 1px, transparent 1px);
  background-size: 56px 56px; pointer-events: none; z-index: 0;
}
body.theme-robot .page-hero-overlay { background: linear-gradient(105deg, rgba(5,150,105,.1) 0%, transparent 60%); z-index: 1; }
body.theme-robot .page-hero-content { z-index: 2; }
body.theme-robot .page-hero-title   { color: #fff; }
body.theme-robot .breadcrumb-dark .breadcrumb-item a     { color: var(--rb-green-light); }
body.theme-robot .breadcrumb-dark .breadcrumb-item.active { color: rgba(255,255,255,.55); }

body.theme-robot section.section-padding { background: var(--rb-light); }
body.theme-robot .section-tag { background: var(--rb-green-pale); color: var(--rb-green-dark); border: none; }

body.theme-robot .content-card {
  background: var(--rb-white);
  border: 1px solid var(--rb-border-light);
  border-radius: var(--rb-radius-lg);
  box-shadow: var(--rb-shadow-sm);
}
body.theme-robot .content-body                { color: var(--rb-text-body); }
body.theme-robot .content-body h1,
body.theme-robot .content-body h2,
body.theme-robot .content-body h3,
body.theme-robot .content-body h4            { color: var(--rb-text-dark); }
body.theme-robot .content-body a             { color: var(--rb-green); }
body.theme-robot .content-body blockquote    { border-left-color: var(--rb-green); background: var(--rb-green-pale); color: var(--rb-text-sub); }

body.theme-robot .artikel-card               { background: var(--rb-white); border-color: var(--rb-border-light); color: var(--rb-text-dark); box-shadow: var(--rb-shadow-sm); }
body.theme-robot .artikel-card:hover         { border-color: rgba(5,150,105,.25); box-shadow: 0 8px 28px rgba(5,150,105,.1), 0 2px 8px rgba(0,0,0,.05); }
body.theme-robot .artikel-thumb-overlay      { background: rgba(5,150,105,.5); }
body.theme-robot .artikel-title              { color: var(--rb-text-dark); }
body.theme-robot .artikel-excerpt            { color: var(--rb-text-sub); }
body.theme-robot .artikel-read-more          { color: var(--rb-green); }
body.theme-robot .artikel-meta .badge        { background: var(--rb-green) !important; }
body.theme-robot .artikel-thumb-placeholder  { background: var(--rb-light-2); color: var(--rb-text-muted); }

body.theme-robot .contact-page-section       { background: var(--rb-light); }
body.theme-robot .contact-info-card          { background: var(--rb-white); border-color: var(--rb-border-light); color: var(--rb-text-sub); box-shadow: var(--rb-shadow-sm); }
body.theme-robot .contact-info-title         { color: var(--rb-text-dark); }
body.theme-robot .contact-info-link          { color: var(--rb-green); }
body.theme-robot .contact-info-card:hover    { box-shadow: 0 8px 28px rgba(5,150,105,.1); border-color: rgba(5,150,105,.22); }
body.theme-robot .contact-form-card          { background: var(--rb-white); border: 1px solid var(--rb-border-light); border-radius: var(--rb-radius-lg); padding: 1.75rem; box-shadow: var(--rb-shadow-sm); }
body.theme-robot .contact-form-title         { color: var(--rb-text-dark); }
body.theme-robot .form-control,
body.theme-robot .form-select                { background: var(--rb-white); border-color: var(--rb-border-light); color: var(--rb-text-body); }
body.theme-robot .form-control:focus,
body.theme-robot .form-select:focus          { background: var(--rb-white); border-color: var(--rb-green); color: var(--rb-text-body); box-shadow: 0 0 0 3px rgba(5,150,105,.14); }
body.theme-robot .form-label                 { color: var(--rb-text-sub); }
body.theme-robot .contact-map-card           { background: var(--rb-white); border: 1px solid var(--rb-border-light); border-radius: var(--rb-radius-lg); overflow: hidden; box-shadow: var(--rb-shadow-sm); }
body.theme-robot .contact-map-header         { background: var(--rb-light); color: var(--rb-text-dark); border-color: var(--rb-border-light); }
body.theme-robot .contact-map-footer         { background: var(--rb-light); color: var(--rb-text-muted); border-color: var(--rb-border-light); }
body.theme-robot .gallery-thumb-btn:focus-visible { outline-color: var(--rb-green); }
body.theme-robot .gallery-item   { background: var(--rb-white); border-color: var(--rb-border-light); }
body.theme-robot .gallery-caption { color: var(--rb-text-body); border-top-color: var(--rb-border-light); }
body.theme-robot .gallery-caption-icon { color: var(--rb-green); }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .robot-hero          { padding: 5.5rem 0 3.5rem; }
  .robot-features-grid { grid-template-columns: 1fr; }
  .robot-stat-item     { padding: .5rem 1.5rem; }
}
@media (max-width: 767px) {
  .robot-hero-title    { font-size: 2.1rem; }
  .robot-training-list { grid-template-columns: 1fr; }
  .robot-stat-item     { border-right: none; border-bottom: 1px solid var(--rb-border-light); }
  .robot-stat-item:last-child { border-bottom: none; }
}
@media (max-width: 575px) {
  .robot-hero-actions  { flex-direction: column; align-items: flex-start; }
  .robot-cta-actions   { flex-direction: column; align-items: flex-start; }
}
