/* ========================================
   OCTO GROUP V2 — Industrial-Premium Aesthetic
   Diagonal motifs, asymmetric grids, editorial flow
   ======================================== */

/* === GLOBAL === */
.container {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (min-width: 768px) { .container { padding-inline: var(--space-8); } }
@media (min-width: 1200px) { .container { padding-inline: var(--space-12); } }

/* === DIAGONAL ACCENT — Tanzanian flag motif === */
.diagonal-divider {
  position: relative;
  overflow: hidden;
}
.diagonal-divider::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--light-bg);
  clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 2;
}
.diagonal-divider--navy::after { background: var(--navy); }
.diagonal-divider--gold::after { background: var(--gold); height: 6px; clip-path: none; }

/* === GOLD BORDER ACCENTS — Section transitions === */
.gold-top { border-top: 3px solid var(--gold); }
.gold-bottom { border-bottom: 3px solid var(--gold); }

/* ===================================
   HEADER / NAVIGATION
   =================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), padding 0.3s var(--ease-out);
}
.site-header.scrolled {
  background: rgba(12, 27, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
  padding: var(--space-2) 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-on-dark);
}
.logo svg { width: 40px; height: 40px; }
.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.logo-text span { color: var(--gold); }

/* Nav */
.main-nav { display: none; }
@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-1);
  }
}
.nav-link {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-on-dark-muted);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: color var(--transition-interactive), background var(--transition-interactive);
  letter-spacing: 0.01em;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-on-dark);
  background: rgba(255,255,255,0.08);
}
.nav-link--cta {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 600;
  padding: var(--space-2) var(--space-5);
}
.nav-link--cta:hover { background: var(--gold-hover); }
.nav-link--cta.active { background: var(--gold); color: var(--navy) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-on-dark);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu .nav-link {
  font-size: var(--text-xl);
  color: var(--text-on-dark);
}

/* ===================================
   HERO — Diagonal overlay composition
   =================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
/* Diagonal gold stripe overlay — Tanzanian flag motif */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg,
      rgba(12,27,42,0.9) 0%,
      rgba(12,27,42,0.6) 35%,
      transparent 50%,
      rgba(12,27,42,0.4) 65%,
      rgba(12,27,42,0.85) 100%
    );
}
.hero-gold-stripe {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--gold), var(--amber), var(--gold));
  z-index: 3;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-32) var(--space-4) var(--space-16);
  max-width: 800px;
}
@media (min-width: 768px) {
  .hero-content { padding: var(--space-32) var(--space-8) var(--space-20); }
}
@media (min-width: 1200px) {
  .hero-content { padding: var(--space-32) var(--space-12) var(--space-24); max-width: 900px; }
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: var(--space-4);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text-on-dark);
  margin-bottom: var(--space-6);
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-sub {
  font-size: var(--text-lg);
  color: var(--text-on-dark-muted);
  line-height: 1.5;
  max-width: 600px;
  margin-bottom: var(--space-8);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  transition: background var(--transition-interactive), transform var(--transition-interactive), box-shadow var(--transition-interactive);
  letter-spacing: 0.01em;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { background: var(--gold-hover); box-shadow: var(--shadow-md); }
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--text-on-dark);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark {
  background: var(--navy);
  color: var(--text-on-dark);
}
.btn-dark:hover { background: var(--navy-light); box-shadow: var(--shadow-md); }

/* ===================================
   STATS TICKER BAR
   =================================== */
.stats-bar {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-8) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item { text-align: center; }
.stat-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-1);
}
.stat-label {
  font-size: var(--text-xs);
  color: var(--text-on-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===================================
   SECTION COMMON
   =================================== */
.section {
  padding: var(--space-16) 0;
}
@media (min-width: 768px) { .section { padding: var(--space-20) 0; } }
@media (min-width: 1200px) { .section { padding: var(--space-24) 0; } }

.section--dark {
  background: var(--navy);
  color: var(--text-on-dark);
}
.section--slate {
  background: var(--slate);
  color: var(--text-on-dark);
}

.section-eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--teal);
  margin-bottom: var(--space-3);
}
.section--dark .section-eyebrow { color: var(--gold); }

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-4);
}
.section-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.6;
}
.section--dark .section-desc { color: var(--text-on-dark-muted); }

/* ===================================
   ABOUT — Diagonal split layout
   =================================== */
.about-grid {
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-12);
  }
}
.about-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
@media (min-width: 768px) { .about-image img { height: 500px; } }

.about-text p {
  margin-bottom: var(--space-4);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Values — Swahili */
.values-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}
@media (min-width: 768px) { .values-row { grid-template-columns: repeat(4, 1fr); } }
.value-card {
  background: var(--white);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
}
.value-swahili {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-1);
}
.value-english {
  font-size: var(--text-sm);
  color: var(--teal);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.value-desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===================================
   SERVICES — Staggered editorial grid
   =================================== */
.services-editorial {
  display: grid;
  gap: var(--space-12);
}
.service-block {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .service-block {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: center;
  }
  .service-block:nth-child(even) .service-image { order: 2; }
  .service-block:nth-child(even) .service-info { order: 1; }
}
.service-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.service-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.service-block:hover .service-image img { transform: scale(1.03); }
.service-number {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: rgba(255,255,255,0.2);
  line-height: 1;
}
.service-info h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--navy);
}
.service-info p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}
.service-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.cap-tag {
  font-size: var(--text-xs);
  font-weight: 500;
  padding: var(--space-1) var(--space-3);
  background: rgba(27, 138, 122, 0.08);
  color: var(--teal);
  border-radius: var(--radius-2xl);
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ocean);
  margin-top: var(--space-4);
  transition: color var(--transition-interactive), gap var(--transition-interactive);
}
.service-link:hover { color: var(--teal); gap: var(--space-3); }

/* ===================================
   TANZANIA SECTION — Full-bleed with diagonal
   =================================== */
.tanzania-hero {
  position: relative;
  padding: var(--space-24) 0 var(--space-32);
  overflow: hidden;
}
.tanzania-hero-bg {
  position: absolute;
  inset: 0;
}
.tanzania-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tanzania-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(12,27,42,0.92) 0%,
    rgba(12,27,42,0.7) 50%,
    rgba(12,27,42,0.85) 100%
  );
}
.tanzania-content {
  position: relative;
  z-index: 2;
}
.tanzania-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-10);
}
@media (min-width: 768px) {
  .tanzania-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .tanzania-stats { grid-template-columns: repeat(4, 1fr); }
}
.tz-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  backdrop-filter: blur(8px);
}
.tz-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--gold);
  margin-bottom: var(--space-2);
}
.tz-stat-label {
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
}

/* Tanzania narrative text */
.tz-narrative {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-10);
}
@media (min-width: 768px) {
  .tz-narrative { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}
.tz-narrative p {
  color: var(--text-on-dark-muted);
  line-height: 1.7;
  font-size: var(--text-base);
}

/* ===================================
   SECTORS — Diagonal card grid
   =================================== */
.sectors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .sectors-grid { grid-template-columns: repeat(3, 1fr); }
}
.sector-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
.sector-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.sector-card-header {
  height: 8px;
  background: linear-gradient(135deg, var(--teal), var(--ocean));
}
.sector-card-body {
  padding: var(--space-6);
}
.sector-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--navy);
}
.sector-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}
.sector-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(27, 138, 122, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--teal);
}

/* Key clients/partners */
.partners-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.partner-tag {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-2) var(--space-4);
  background: rgba(12, 27, 42, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  color: var(--navy);
}

/* ===================================
   CTA BANNER
   =================================== */
.cta-banner {
  position: relative;
  padding: var(--space-16) 0;
  background: var(--navy);
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: var(--space-4);
}
.cta-inner p {
  color: var(--text-on-dark-muted);
  max-width: 560px;
  margin: 0 auto var(--space-8);
  line-height: 1.6;
}

/* ===================================
   CONTACT
   =================================== */
.contact-grid {
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--space-12); }
}
.contact-info h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--navy);
}
.office-list {
  display: grid;
  gap: var(--space-4);
}
.office-item {
  padding: var(--space-4);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.office-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-1);
  color: var(--navy);
}
.office-item span {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}
.contact-emails {
  margin-top: var(--space-6);
}
.contact-emails a {
  display: block;
  font-size: var(--text-sm);
  color: var(--ocean);
  margin-bottom: var(--space-2);
  transition: color var(--transition-interactive);
}
.contact-emails a:hover { color: var(--teal); }

/* Contact form */
.contact-form { display: grid; gap: var(--space-4); }
.form-group { display: grid; gap: var(--space-1); }
.form-group label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: var(--space-3) var(--space-4);
  border: 1px solid rgba(12, 27, 42, 0.12);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text-primary);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(15, 76, 117, 0.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ===================================
   FOOTER
   =================================== */
.site-footer {
  background: var(--navy);
  color: var(--text-on-dark);
  padding: var(--space-16) 0 var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-brand p {
  color: var(--text-on-dark-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  max-width: 320px;
  margin-top: var(--space-4);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}
.footer-col a {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
  padding: var(--space-1) 0;
  transition: color var(--transition-interactive);
}
.footer-col a:hover { color: var(--text-on-dark); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--text-on-dark-muted);
}
.footer-bottom a {
  color: var(--text-on-dark-muted);
  transition: color var(--transition-interactive);
}
.footer-bottom a:hover { color: var(--gold); }

/* ===================================
   PAGE SECTIONS (service detail pages)
   =================================== */
.page-hero {
  background: var(--navy);
  padding: calc(var(--space-32) + var(--space-8)) 0 var(--space-16);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--light-bg);
  clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%);
}
.page-hero::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--gold);
  clip-path: polygon(0 60%, 100% 0%, 100% 5%, 0 65%);
  z-index: 3;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--text-on-dark);
  margin-bottom: var(--space-4);
}
.page-hero p {
  font-size: var(--text-lg);
  color: var(--text-on-dark-muted);
  max-width: 640px;
}
.breadcrumb {
  display: flex;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-on-dark-muted);
  margin-bottom: var(--space-6);
}
.breadcrumb a {
  color: var(--gold);
  transition: color var(--transition-interactive);
}
.breadcrumb a:hover { color: var(--text-on-dark); }

/* Content blocks for detail pages */
.content-block {
  padding: var(--space-12) 0;
}
.content-block + .content-block {
  border-top: 1px solid var(--border-light);
}
.content-2col {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .content-2col { grid-template-columns: 1fr 1fr; gap: var(--space-10); align-items: start; }
}
.content-block h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--navy);
}
.content-block p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}
.content-block ul {
  list-style: none;
  display: grid;
  gap: var(--space-2);
}
.content-block li {
  padding-left: var(--space-6);
  position: relative;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: var(--text-sm);
}
.content-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 16px;
  height: 2px;
  background: var(--gold);
}

/* ===================================
   UTILITY
   =================================== */
.text-gold { color: var(--gold); }
.text-teal { color: var(--teal); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Smooth page transitions */
.page-view { display: none; }
.page-view.active { display: block; }

/* ===================================
   OCTO CHATBOT
   =================================== */
.chatbot-fab {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(12,27,42,0.25);
  cursor: pointer;
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}
.chatbot-fab:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(12,27,42,0.35); }
.chatbot-fab:active { transform: scale(1); }
.chatbot-fab svg { width: 28px; height: 28px; }
.chatbot-fab .fab-close { display: none; }
.chatbot-fab.open .fab-icon { display: none; }
.chatbot-fab.open .fab-close { display: block; }

.chatbot-window {
  position: fixed;
  bottom: calc(var(--space-6) + 72px);
  right: var(--space-6);
  z-index: 89;
  width: 380px;
  max-width: calc(100vw - 32px);
  max-height: 520px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 48px rgba(12,27,42,0.2), 0 2px 8px rgba(12,27,42,0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.chatbot-window.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.chatbot-header {
  background: var(--navy);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.chatbot-avatar {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chatbot-avatar svg { width: 20px; height: 20px; color: var(--navy); }
.chatbot-header-text h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-on-dark);
  margin: 0;
}
.chatbot-header-text span {
  font-size: var(--text-xs);
  color: var(--text-on-dark-muted);
}
.chatbot-status {
  width: 8px;
  height: 8px;
  background: #4CAF50;
  border-radius: 50%;
  margin-left: auto;
  flex-shrink: 0;
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-height: 280px;
  max-height: 340px;
}
.chat-msg {
  max-width: 85%;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  line-height: 1.5;
}
.chat-msg--bot {
  background: var(--off-white);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: var(--radius-sm);
}
.chat-msg--user {
  background: var(--navy);
  color: var(--text-on-dark);
  align-self: flex-end;
  border-bottom-right-radius: var(--radius-sm);
}
.chat-msg--bot strong {
  color: var(--gold);
  font-weight: 600;
}

.chatbot-input-area {
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: var(--space-2);
  align-items: center;
}
.chatbot-input-area input {
  flex: 1;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-3);
  border: 1px solid rgba(12,27,42,0.1);
  border-radius: var(--radius-2xl);
  background: var(--light-bg);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-interactive);
}
.chatbot-input-area input:focus { border-color: var(--ocean); }
.chatbot-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: background var(--transition-interactive);
}
.chatbot-send:hover { background: var(--gold-hover); }
.chatbot-send svg { width: 16px; height: 16px; }

.chat-quick-btns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
}
.chat-quick-btn {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-3);
  background: var(--white);
  border: 1px solid rgba(12,27,42,0.12);
  border-radius: var(--radius-2xl);
  color: var(--ocean);
  cursor: pointer;
  transition: background var(--transition-interactive), color var(--transition-interactive);
}
.chat-quick-btn:hover { background: var(--ocean); color: var(--white); }
