/* ===========================================================
   ShijakuNET — Design System
   Bold local energy: Shijak Red + Ink + Cream + Signal Teal
   =========================================================== */

:root {
  --brand: #E11431;
  --brand-dark: #B10F26;
  --ink: #12141C;
  --ink-soft: #232734;
  --accent: #12C9C0;
  --cream: #FBF6F0;
  --paper: #FFFFFF;
  --slate: #5B6170;
  --line: #ECE6DD;
  --line-dark: #2C3140;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(18,20,28,.06);
  --shadow-md: 0 14px 40px rgba(18,20,28,.10);
  --shadow-brand: 0 14px 34px rgba(225,20,49,.30);

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 18px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,246,240,.72); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: height .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: rgba(251,246,240,.92);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(18,20,28,.06);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--brand), rgba(225,20,49,0) 55%);
  opacity: .55; pointer-events: none;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; transition: height .25s ease; }
.site-header.scrolled .header-inner { height: 64px; }
.logo { display: flex; align-items: center; gap: 11px; }
.logo-mark svg { border-radius: 9px; box-shadow: var(--shadow-sm); transition: transform .2s; }
.logo:hover .logo-mark svg { transform: rotate(-6deg) scale(1.05); }
.logo-word { font-family: var(--font-display); font-weight: 800; font-size: 1.32rem; letter-spacing: -.03em; }
.logo-net { color: var(--brand); }

.nav { display: flex; align-items: center; gap: 18px; }
.nav-links {
  display: flex; align-items: center; gap: 4px;
  background: rgba(18,20,28,.04); border: 1px solid var(--line);
  padding: 5px; border-radius: 999px;
}
.nav-links a {
  position: relative; font-family: var(--font-display); font-weight: 600; font-size: .94rem;
  color: var(--ink); padding: 8px 16px; border-radius: 999px; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--brand); background: rgba(225,20,49,.07); }
.nav-links a.active { color: #fff; background: var(--brand); box-shadow: 0 4px 12px rgba(225,20,49,.28); }
.nav-cta { box-shadow: 0 6px 16px rgba(225,20,49,.24); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(225,20,49,.10); color: var(--brand-dark);
  font-weight: 600; font-size: .85rem; padding: 7px 14px; border-radius: 999px;
  margin-bottom: 22px;
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(225,20,49,.18); }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); font-weight: 800; }
.lead { font-size: 1.18rem; color: var(--slate); margin: 20px 0 30px; max-width: 36ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-art { display: flex; justify-content: center; }
.hero-scene { width: min(520px, 100%); overflow: visible; }
.hero-scene .ring { transform-origin: 300px 150px; animation: pulse 4s ease-in-out infinite; }
.hero-scene .r2 { animation-delay: .6s; }
.hero-scene .r3 { animation-delay: 1.2s; }
.hero-scene .chip { animation: float 6s ease-in-out infinite; transform-origin: center; }
.hero-scene .chip-b { animation-delay: 1.4s; animation-duration: 7s; }
.hero-scene .node { animation: blink 2.6s ease-in-out infinite; }
.hero-scene .n2 { animation-delay: .5s; }
.hero-scene .n3 { animation-delay: 1s; }
@keyframes pulse { 0%,100% { opacity: .5; transform: scale(.96); } 50% { opacity: .9; transform: scale(1.03); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes blink { 0%,100% { opacity: .35; } 50% { opacity: 1; } }

/* ---------- Stats ---------- */
.stats {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin: 56px 0 0; padding: 26px; background: var(--ink); border-radius: var(--r-lg); color: #fff;
}
.stats li { text-align: center; }
.stats b { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; }
.stats span { font-size: .85rem; color: #b9bfce; }
.stats li + li { border-left: 1px solid var(--line-dark); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--paper); }
.section-head { max-width: 620px; margin: 0 auto 44px; text-align: center; }
.eyebrow { font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.eyebrow-light { color: var(--accent); }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; margin: 12px 0; }
.section-sub { color: var(--slate); font-size: 1.08rem; }

/* ---------- Packages ---------- */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.pkg {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 26px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.pkg:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pkg.popular { border-color: var(--brand); box-shadow: var(--shadow-brand); transform: scale(1.02); }
.pkg-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 600;
  font-size: .76rem; letter-spacing: .04em; padding: 5px 14px; border-radius: 999px;
}
.pkg-name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.pkg-tag { color: var(--slate); font-size: .94rem; margin: 6px 0 18px; min-height: 2.6em; }
.pkg-speed { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.pkg-speed b { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; line-height: 1; }
.pkg-speed span { color: var(--slate); font-weight: 600; }
.pkg-price { font-size: 1.02rem; color: var(--ink); margin-bottom: 20px; }
.pkg-price b { font-family: var(--font-display); font-size: 1.4rem; color: var(--brand-dark); }
.pkg-features { list-style: none; margin: 0 0 24px; display: grid; gap: 11px; flex: 1; }
.pkg-features li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; }
.pkg-features li::before {
  content: ""; flex: 0 0 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.fineprint { text-align: center; color: var(--slate); font-size: .88rem; margin-top: 26px; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px 24px; }
.section-alt .why-card { background: var(--cream); }
.why-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(18,201,192,.14); color: var(--brand); margin-bottom: 16px;
}
.why-icon svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.why-card p { color: var(--slate); font-size: .96rem; }

/* ---------- Coverage ---------- */
.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.coverage h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 12px 0 14px; }
.areas { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.areas li {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-weight: 500; font-size: .94rem; display: flex; align-items: center; gap: 8px;
}
.areas li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.coverage-map iframe { width: 100%; height: 340px; border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }

/* ---------- Steps (dark) ---------- */
.section-dark { background: var(--ink); color: #fff; }
.section-dark .section-head h2 { color: #fff; }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { position: relative; padding: 30px 26px; background: var(--ink-soft); border-radius: var(--r-lg); border: 1px solid var(--line-dark); }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  margin-bottom: 16px;
}
.steps h4 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 8px; }
.steps p { color: #b9bfce; font-size: .96rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 12px 0 14px; }
.dept-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0 18px; }
.dept-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 20px; box-shadow: var(--shadow-sm); }
.dept-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; display: flex; align-items: center; gap: 9px; }
.dept-card h3::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(225,20,49,.14); }
.dept-blurb { color: var(--slate); font-size: .9rem; margin: 4px 0 14px; }
.dept-card ul { list-style: none; display: grid; gap: 12px; }
.dept-card li { display: flex; gap: 11px; align-items: center; font-size: .95rem; font-weight: 500; }
.dept-card .ci { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(18,201,192,.14); color: var(--brand); }
.dept-card .ci svg { width: 17px; height: 17px; }
.dept-card a:hover { color: var(--brand); }

.contact-list { list-style: none; display: grid; gap: 16px; margin: 26px 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci {
  flex: 0 0 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(225,20,49,.10); color: var(--brand);
}
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list a, .contact-list span { font-weight: 500; }
.contact-list small { display: block; color: var(--slate); font-weight: 400; font-size: .85rem; }
.socials { display: flex; gap: 12px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; transition: background .2s; }
.socials a:hover { background: var(--brand); }
.socials svg { width: 20px; height: 20px; }

.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-md); }
.contact-form h3 { font-size: 1.3rem; margin-bottom: 20px; }
.contact-form label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--r-sm); font-family: var(--font-body); font-size: 1rem; background: var(--cream);
  transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(225,20,49,.14); background: #fff;
}
.form-note { font-size: .82rem; color: var(--slate); text-align: center; margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 56px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--line-dark); }
.footer-brand { max-width: 360px; }
.footer-logo { font-size: 1.4rem; color: #fff; }
.footer-brand p { color: #b9bfce; margin-top: 12px; font-size: .95rem; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-nav a { color: #cfd4df; font-weight: 500; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; color: #8b93a5; font-size: .88rem; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.45);
  transition: transform .18s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { padding: 22px 0 4px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero .badge { margin-bottom: 18px; }
  .hero h1 { font-size: clamp(2rem, 7.2vw, 2.55rem); line-height: 1.08; }
  .lead { font-size: 1.05rem; max-width: 33ch; margin: 16px auto 26px; }
  .hero-cta { width: 100%; flex-direction: column; gap: 12px; }
  .hero-cta .btn { width: 100%; }
  /* Framed "stage" so the illustration reads as a deliberate visual */
  .hero-art {
    order: -1; margin: 0 0 22px; padding: 16px 14px 8px;
    background: radial-gradient(120% 84% at 50% 6%, rgba(225,20,49,.14), rgba(18,201,192,.05) 50%, transparent 70%);
    border-radius: 26px; overflow: hidden;
  }
  .hero-scene { width: min(300px, 76%); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 34px; }
  .stats li:nth-child(3), .stats li:nth-child(4) { border-top: 1px solid var(--line-dark); padding-top: 16px; }
  .stats li + li { border-left: 0; }
  .stats li:nth-child(2) { border-left: 1px solid var(--line-dark); }
  .stats li:nth-child(4) { border-left: 1px solid var(--line-dark); }
  .packages, .why-grid, .steps { grid-template-columns: 1fr; }
  .pkg.popular { transform: none; }
  .coverage, .contact { grid-template-columns: 1fr; }
  .dept-grid { grid-template-columns: 1fr; }

  .nav {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0; align-items: stretch;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 14px 20px 20px; transform: translateY(-140%); transition: transform .28s ease; box-shadow: var(--shadow-md);
  }
  .nav.open { transform: translateY(0); }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; background: none; border: 0; padding: 0; }
  .nav-links a { width: 100%; padding: 15px 14px; border-radius: 10px; }
  .nav-links a.active { color: #fff; }
  .nav-cta { margin-top: 14px; justify-content: center; }
  .nav-toggle { display: flex; }
}

@media (max-width: 520px) {
  .why-grid { grid-template-columns: 1fr; }
  .dept-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}

/* =========================================================
   Mobile & data enhancements
   ========================================================= */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  z-index: 60; transition: width .08s linear; will-change: width;
}

/* Scroll-reveal (only when JS is present, so it degrades gracefully) */
.has-js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.has-js .reveal.in { opacity: 1; transform: none; }

/* Plan carousel dot indicators */
.pkg-dots { display: none; justify-content: center; gap: 8px; margin-top: 20px; }
.pkg-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--line); cursor: pointer; transition: width .25s ease, background .25s ease; }
.pkg-dot.active { width: 24px; border-radius: 6px; background: var(--brand); }

/* Sticky quick-action bar (mobile only) */
.mobile-bar { display: none; }
.mb-btn { text-decoration: none; }

@media (max-width: 900px) {
  /* Swipeable plan carousel */
  .packages {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -20px; padding: 20px 20px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .packages::-webkit-scrollbar { display: none; }
  .pkg { flex: 0 0 84%; scroll-snap-align: center; }
  .pkg.popular { transform: none; }
  .pkg-dots { display: flex; }

  /* Sticky thumb-reach action bar */
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 56; display: flex; gap: 8px; align-items: stretch;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(14px);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(18,20,28,.10);
    transform: translateY(130%); transition: transform .32s cubic-bezier(.2,.7,.2,1);
  }
  .mobile-bar.show { transform: none; }
  .mb-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-width: 62px; padding: 7px 10px; border-radius: 13px; font-family: var(--font-display);
    font-weight: 600; font-size: .7rem; color: var(--ink); background: var(--cream); border: 1px solid var(--line);
  }
  .mb-btn svg { width: 19px; height: 19px; }
  .mb-call { color: var(--brand); }
  .mb-wa { color: #0c8a4e; }
  .mb-cta {
    flex: 1; flex-direction: row; gap: 8px; font-size: 1.02rem; border: 0;
    background: var(--brand); color: #fff; box-shadow: var(--shadow-brand);
  }
  .wa-float { display: none; }   /* WhatsApp lives in the action bar on mobile */
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .has-js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .scroll-progress, .pkg-dot, .mobile-bar { transition: none !important; }
}
