/* ============================================================
   mobito.css — Shared stylesheet for Mobito website
   ============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --primary:       #1e6ab8;
  --primary-light: #5badde;
  --primary-dark:  #155a9e;
  --accent:        #e87722;
  --accent-dark:   #cf6610;
  --green:         #5fa530;
  --dark:          #1a2436;
  --text:          #334155;
  --text-light:    #64748b;
  --bg-gray:       #f8fafc;
  --border:        #e2e8f0;
  --white:         #ffffff;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.12);
  --radius:        12px;
  --radius-sm:     8px;
  --transition:    all 0.3s ease;
  --nav-height:    76px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ===== NAVIGATION ===== */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  display: flex; align-items: center; padding: 0 36px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.site-nav.nav-transparent {
  background: rgba(255,255,255,0);
  box-shadow: none;
}
.site-nav.nav-transparent .nav-link { color: rgba(255,255,255,0.92); }
.site-nav.nav-transparent .nav-link:hover { color: #fff; }
.site-nav.nav-transparent .hamburger span { background: #fff; }
.site-nav.nav-transparent .nav-logo img { filter: brightness(0) invert(1); }

.nav-logo { flex-shrink: 0; margin-right: 32px; }
.nav-logo img { height: 46px; width: auto; transition: filter 0.4s ease; }

.nav-links { display: flex; list-style: none; flex: 1; align-items: center; }
.nav-links li { position: relative; }

.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 0 15px; height: var(--nav-height);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.7px;
  color: var(--text); text-transform: uppercase; white-space: nowrap;
  transition: color 0.2s;
}
.nav-link:hover,
.nav-link.active { color: var(--accent); }
.nav-caret { font-size: 8px; opacity: 0.7; }

.dropdown-menu {
  display: none; position: absolute;
  top: calc(var(--nav-height) + 1px); left: 0;
  background: #fff; box-shadow: var(--shadow-lg);
  min-width: 155px; list-style: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  overflow: hidden; border-top: 2px solid var(--accent);
}
.nav-links li:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block; padding: 12px 20px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.7px;
  text-transform: uppercase; color: var(--text);
  transition: background 0.2s, color 0.2s;
}
.dropdown-menu a:hover { background: var(--bg-gray); color: var(--accent); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; margin-left: auto;
  border: none; background: none;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--text); display: block;
  border-radius: 2px; transition: var(--transition);
}
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border: none; border-radius: var(--radius-sm);
  font-family: 'Inter', Arial, sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 0.8px;
  text-transform: uppercase; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent); color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dark); transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(232,119,34,0.38);
}
.btn-blue {
  background: var(--primary-light); color: #fff;
}
.btn-blue:hover {
  background: var(--primary); transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(91,173,222,0.4);
}
.btn-outline-white {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.75);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15); transform: translateY(-2px);
  border-color: #fff;
}

/* ===== SECTION UTILITIES ===== */
.section { padding: 88px 40px; }
.section-gray { background: var(--bg-gray); }
.section-white { background: var(--white); }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-center { text-align: center; }
.section-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent);
  background: rgba(232,119,34,0.1); padding: 5px 14px;
  border-radius: 20px; margin-bottom: 16px;
}
.section-title {
  font-size: 2.4rem; font-weight: 800; color: #0f172a;
  line-height: 1.2; margin-bottom: 20px; letter-spacing: -0.5px;
}
.section-lead {
  font-size: 1.05rem; color: var(--text-light);
  line-height: 1.85; max-width: 720px;
}
.section-center .section-lead { margin: 0 auto; }
.divider-line {
  border: none; border-top: 1px solid var(--border);
  margin: 72px auto; max-width: 820px; display: block;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.10s; }
.reveal-d2 { transition-delay: 0.20s; }
.reveal-d3 { transition-delay: 0.30s; }
.reveal-d4 { transition-delay: 0.40s; }
.reveal-d5 { transition-delay: 0.50s; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark); color: #94a3b8;
  padding: 64px 40px 0;
}
.footer-inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 64px; padding-bottom: 48px;
}
.footer-logo {
  height: 42px; margin-bottom: 18px;
  filter: brightness(0) invert(1); opacity: 0.9;
}
.footer-about p { font-size: 14px; line-height: 1.85; }
.footer-heading {
  color: #fff; font-size: 10.5px; letter-spacing: 1.8px;
  text-transform: uppercase; margin-bottom: 20px; font-weight: 700;
}
.footer-contact-item {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 16px; font-size: 14px; line-height: 1.5;
}
.footer-icon { font-size: 15px; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: #94a3b8; transition: color 0.2s; }
.footer-contact-item a:hover { color: #fff; }
.social-row { display: flex; gap: 10px; margin-top: 4px; }
.social-btn {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  overflow: hidden; transition: transform 0.2s, opacity 0.2s; opacity: 0.8;
}
.social-btn:hover { transform: translateY(-3px); opacity: 1; }
.social-btn img { width: 100%; height: 100%; object-fit: cover; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  max-width: 1080px; margin: 0 auto;
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  font-size: 12.5px; color: #475569;
}
.footer-bottom a { color: #475569; transition: color 0.2s; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom-links { display: flex; gap: 4px; align-items: center; }
.footer-bottom-links span { opacity: 0.4; }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff; border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 18px; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  pointer-events: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--accent-dark); }

/* ===== SECONDARY PAGES ===== */
.page-hero {
  background: linear-gradient(150deg, #003080 0%, #004090 40%, #0060c0 100%);
  padding: calc(var(--nav-height) + 56px) 40px 60px;
  text-align: center; color: #fff;
}
.page-hero h1 {
  font-size: 2.4rem; font-weight: 800; letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.page-hero p {
  font-size: 1.05rem; opacity: 0.88; max-width: 560px; margin: 0 auto;
}
.page-content {
  max-width: 820px; margin: 0 auto;
  padding: 72px 40px 80px;
}
.page-content h2 {
  font-size: 1.4rem; font-weight: 700; color: #0f172a;
  margin: 36px 0 14px;
}
.page-content p {
  margin-bottom: 18px; color: var(--text-light); line-height: 1.85;
}
.page-content a { color: var(--accent); }
.page-content a:hover { text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .site-nav { padding: 0 20px; }
  .nav-links {
    display: none;
    position: fixed; top: var(--nav-height); left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 8px 0 20px; box-shadow: var(--shadow-lg); z-index: 998;
    max-height: calc(100vh - var(--nav-height)); overflow-y: auto;
  }
  .nav-links.is-open { display: flex; }
  .nav-link { height: auto; padding: 13px 24px; font-size: 12px; }
  .site-nav.nav-transparent .nav-link { color: var(--text); }
  .site-nav.nav-transparent .nav-logo img { filter: none; }
  .dropdown-menu {
    position: static; box-shadow: none; border-radius: 0;
    background: #f8fafc; border-top: none; border-left: 3px solid var(--accent);
    margin-left: 24px;
  }
  .nav-links li:hover .dropdown-menu { display: none; }
  .nav-links li.is-open .dropdown-menu { display: block; }
  .hamburger { display: flex; }
  .section { padding: 64px 24px; }
  .section-title { font-size: 1.9rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .page-content { padding: 48px 24px 60px; }
}
@media (max-width: 640px) {
  .section-title { font-size: 1.65rem; }
  .page-hero h1 { font-size: 1.9rem; }
}
