/* ============================================================
   Televerse — Mobile Telecom Expertise at Your Fingertips
   Hand-built static site. Single shared stylesheet.
   ============================================================ */

:root {
  --bg:        #1b1b1d;
  --bg-2:      #141416;
  --bg-3:      #232327;
  --card:      #26262b;
  --orange:    #f5921e;
  --orange-d:  #dd7e0c;
  --text:      #ffffff;
  --muted:     #b6b6bd;
  --line:      #34343a;
  --radius:    10px;
  --maxw:      1180px;
  --ease:      .25s ease;
  --shadow:    0 10px 30px rgba(0,0,0,.35);
  --font:      'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.accent { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--orange);
  color: #1a1a1a;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 6px;
  border: 2px solid var(--orange);
  cursor: pointer;
  transition: var(--ease);
  font-size: .95rem;
  letter-spacing: .2px;
}
.btn:hover { background: var(--orange-d); border-color: var(--orange-d); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--orange); }
.btn-outline:hover { background: var(--orange); color: #1a1a1a; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  font-size: .85rem;
}
.topbar .container { display: flex; justify-content: flex-end; gap: 26px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: var(--muted); display: inline-flex; align-items: center; gap: 7px; transition: var(--ease); }
.topbar a:hover { color: var(--orange); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20,20,22,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.45rem; letter-spacing: 1px; }
.logo .l1 { color: #cfcfd6; }
.logo .l2 { color: var(--orange); }
.logo .wave { color: var(--orange); font-size: 1.1rem; }
.logo small { display:block; font-size:.5rem; letter-spacing:3px; color:var(--muted); font-weight:600; margin-top:-6px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > li > a {
  display: block; padding: 10px 14px; font-size: .93rem; font-weight: 500; color: #e7e7ea;
  border-radius: 6px; transition: var(--ease);
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--orange); }

/* Dropdown */
.has-drop { position: relative; }
.has-drop > a::after { content: '▾'; margin-left: 6px; font-size: .75rem; color: var(--muted); }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: var(--ease);
}
.has-drop:hover .dropdown,
.has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 14px; border-radius: 6px; font-size: .9rem; color: #ddd; }
.dropdown a:hover { background: var(--orange); color: #1a1a1a; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--orange); border-radius: 3px; transition: var(--ease); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 560px; display: flex; align-items: center;
  text-align: center;
  background:
    linear-gradient(rgba(15,15,18,.78), rgba(15,15,18,.86)),
    radial-gradient(circle at 70% 30%, #2a3a55 0%, #15151a 60%);
  background-size: cover; background-position: center;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.04'%3E%3Cpath d='M0 30h60M30 0v60'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.1; font-weight: 800; }
.hero h1 .sub { display: block; color: var(--orange); margin-top: 10px; }
.hero p { color: var(--muted); max-width: 680px; margin: 22px auto 30px; font-size: 1.08rem; }
.hero .btn + .btn { margin-left: 12px; }

/* page banner (interior pages) */
.banner {
  position: relative; padding: 90px 0; text-align: center;
  background: linear-gradient(rgba(15,15,18,.8), rgba(15,15,18,.9)),
              radial-gradient(circle at 30% 40%, #2a3a55 0%, #15151a 65%);
}
.banner h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; }
.banner .crumbs { color: var(--muted); margin-top: 10px; font-size: .9rem; }
.banner .crumbs a:hover { color: var(--orange); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; }
.section-head h2::after { content: ''; display: block; width: 64px; height: 4px; background: var(--orange); margin: 16px auto 0; border-radius: 3px; }
.section-head p { color: var(--muted); margin-top: 16px; }

/* ---------- Grids / Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--orange); box-shadow: var(--shadow); }
.card .ico {
  width: 56px; height: 56px; border-radius: 12px; background: rgba(245,146,30,.12);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  color: var(--orange); font-size: 1.5rem;
}
.card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .95rem; }
.card .list { margin-top: 14px; }
.card .list li { color: var(--muted); font-size: .9rem; padding: 5px 0 5px 22px; position: relative; }
.card .list li::before { content: '▸'; color: var(--orange); position: absolute; left: 0; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { border-radius: var(--radius); overflow: hidden; min-height: 320px;
  background: linear-gradient(135deg, #243049, #14141a); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; }
.split-media .ph { color: #3f4a63; font-size: 4rem; }
.split-media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.split-body .eyebrow { color: var(--orange); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: .8rem; }
.split-body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 10px 0 16px; }
.split-body p { color: var(--muted); margin-bottom: 14px; }

/* numbered story rows */
.story-row { display: grid; grid-template-columns: 200px 1fr; gap: 0; margin-bottom: 24px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.story-num { background: var(--orange); color: #1a1a1a; padding: 34px 26px; }
.story-num .n { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.story-num .t { font-weight: 700; margin-top: 10px; border-top: 2px solid rgba(0,0,0,.3); padding-top: 10px; display: inline-block; }
.story-body { background: var(--card); padding: 30px 28px; color: var(--muted); }
.story-body h3 { color: var(--text); margin-bottom: 8px; }

/* ---------- Accordion ---------- */
.accordion { max-width: 920px; margin: 0 auto; }
.acc-item { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 14px; overflow: hidden; background: var(--card); }
.acc-head {
  width: 100%; text-align: left; background: none; border: 0; color: var(--text);
  padding: 20px 24px; font-size: 1.05rem; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: inherit;
}
.acc-head .num { color: var(--orange); font-weight: 800; margin-right: 14px; }
.acc-head .chev { color: var(--orange); transition: var(--ease); font-size: 1.2rem; }
.acc-item.open .acc-head .chev { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-body .inner { padding: 0 24px 22px; color: var(--muted); }
.acc-body .inner ul { margin-top: 6px; }
.acc-body .inner li { padding: 5px 0 5px 22px; position: relative; }
.acc-body .inner li::before { content: '▸'; color: var(--orange); position: absolute; left: 0; }

/* ---------- Clients / categories ---------- */
.clients { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px; }
.client { width: 150px; text-align: center; }
.client .circle {
  width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, #243049, #14141a); border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 2.2rem; color: var(--orange);
  transition: var(--ease);
}
.client:hover .circle { border-color: var(--orange); transform: scale(1.05); }
.client span { color: var(--orange); font-weight: 600; font-size: .95rem; }

/* ---------- Testimonials ---------- */
.tcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.tcard .stars { color: var(--orange); margin-bottom: 12px; letter-spacing: 2px; }
.tcard p { color: var(--muted); font-style: italic; }
.tcard .who { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.tcard .who .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,#243049,#14141a); display:flex;align-items:center;justify-content:center;color:var(--orange);font-weight:700; }
.tcard .who b { display: block; font-style: normal; }
.tcard .who small { color: var(--muted); }

/* ---------- Platforms band (Tel-IQ + Labs) ---------- */
.platforms { background:
  linear-gradient(rgba(16,18,24,.92), rgba(16,18,24,.96)),
  radial-gradient(circle at 80% 20%, #243a5e 0%, #121319 60%); }
.platform-card {
  background: rgba(38,38,43,.8); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; transition: var(--ease); display: flex; flex-direction: column;
}
.platform-card:hover { border-color: var(--orange); transform: translateY(-6px); box-shadow: var(--shadow); }
.platform-card .tag { color: var(--orange); font-weight: 600; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; }
.platform-card h3 { font-size: 1.5rem; margin: 8px 0 14px; }
.platform-card p { color: var(--muted); margin-bottom: 22px; flex: 1; }
.platform-card .btn { align-self: flex-start; }

/* ---------- CTA strip ---------- */
.cta-strip { background: linear-gradient(120deg, var(--orange), var(--orange-d)); color: #1a1a1a; text-align: center; padding: 60px 0; }
.cta-strip h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; }
.cta-strip p { margin: 10px 0 24px; font-weight: 500; }
.cta-strip .btn { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.cta-strip .btn:hover { background: #000; border-color: #000; }

/* ---------- Contact / Forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 46px; align-items: start; }
.info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.info-item .ico { width: 46px; height: 46px; flex: none; border-radius: 10px; background: rgba(245,146,30,.12); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.info-item h4 { margin-bottom: 3px; }
.info-item p { color: var(--muted); font-size: .95rem; }

.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; margin-bottom: 7px; color: var(--muted); }
.field input, .field textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px;
  padding: 13px 15px; color: var(--text); font-family: inherit; font-size: .95rem; transition: var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); }
.field textarea { resize: vertical; min-height: 130px; }
.hp { position: absolute; left: -9999px; }  /* honeypot */
.form-status { margin-top: 16px; font-size: .92rem; min-height: 22px; }
.form-status.ok { color: #59c878; }
.form-status.err { color: #e06464; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-col h4 { font-size: 1.05rem; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: var(--orange); }
.footer-col p, .footer-col a { color: var(--muted); font-size: .92rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--orange); }
.f-contact li { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.f-contact .ico { color: var(--orange); flex: none; }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--muted); transition: var(--ease); }
.socials a:hover { background: var(--orange); color: #1a1a1a; border-color: var(--orange); }
.subscribe input { width: 100%; background: var(--bg); border: 1px solid var(--orange); border-radius: 6px; padding: 12px 14px; color: var(--text); margin-bottom: 12px; font-family: inherit; }
.subscribe input:focus { outline: none; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 50px; padding: 22px 0; text-align: center; color: var(--muted); font-size: .88rem; }

/* ---------- Reveal animation (progressive enhancement) ----------
   Only hidden when JS is active (html.js); without JS everything shows. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--bg-3); border-bottom: 1px solid var(--line); padding: 10px; gap: 2px;
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav.open .nav-links { max-height: 600px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: rgba(0,0,0,.2); display: none; }
  .has-drop.open .dropdown { display: block; }
  .topbar .container { justify-content: center; gap: 16px; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .story-row { grid-template-columns: 1fr; }
  .hero .btn + .btn { margin-left: 0; margin-top: 12px; display: block; }
}
