/* =========================================================
   IT JobSupport — stylesheet
   Clean light + professional blue
   ========================================================= */

:root {
  --blue-900: #172554;
  --blue-800: #1e3a8a;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;

  --ink:      #0f172a;
  --body:     #475569;
  --muted:    #64748b;
  --line:     #e2e8f0;
  --bg:       #ffffff;
  --bg-alt:   #f8fafc;
  --wa:       #25d366;
  --wa-dark:  #128c7e;

  --radius:   16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .1);
  --shadow-md: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 60px -20px rgba(29, 78, 216, .28);

  --container: 1140px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

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

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

img { max-width: 100%; display: block; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--blue-600);
  margin-bottom: .6rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
  font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--blue-700); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--blue-800); }
.btn-ghost { background: #fff; color: var(--blue-700); border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--blue-500); }
.btn-outline { background: transparent; color: var(--blue-700); border-color: var(--blue-200, #bfdbfe); border-color: #bfdbfe; }
.btn-outline:hover { background: var(--blue-50); }
.btn-whatsapp { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .7); }
.btn-whatsapp:hover { background: var(--wa-dark); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: #fff; font-size: .8rem; font-weight: 800;
}
.brand-text strong { color: var(--blue-700); font-weight: 800; }

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a { color: var(--body); font-weight: 600; font-size: .95rem; }
.main-nav a:hover { color: var(--blue-700); text-decoration: none; }
.main-nav .nav-cta {
  background: var(--blue-700); color: #fff; padding: .6rem 1.1rem; border-radius: 999px;
}
.main-nav .nav-cta:hover { background: var(--blue-800); }

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(1200px 500px at 80% -10%, var(--blue-50), transparent 60%),
    radial-gradient(900px 400px at 0% 10%, #f0f7ff, transparent 55%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero-copy .lead { font-size: 1.12rem; margin: 1.1rem 0 1.7rem; max-width: 34rem; }
.hero-copy strong { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.6rem; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.hero-badges li { position: relative; padding-left: 1.4rem; font-weight: 600; font-size: .9rem; color: var(--muted); }
.hero-badges li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  color: var(--wa-dark); font-weight: 800;
}

.hero-card {
  background: var(--blue-900);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-6deg) rotateX(2deg);
  transition: transform .4s ease;
}
.hero-card:hover { transform: perspective(1000px) rotateY(0) rotateX(0); }
.hero-card-head {
  display: flex; align-items: center; gap: .5rem;
  padding: .8rem 1rem; background: rgba(255, 255, 255, .05);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red { background: #ff5f56; } .dot-amber { background: #ffbd2e; } .dot-green { background: #27c93f; }
.hero-card-title { margin-left: auto; color: rgba(255, 255, 255, .55); font-size: .8rem; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; }
.hero-card-body {
  padding: 1.3rem 1.4rem 1.6rem;
  color: #e2e8f0;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: .86rem;
  line-height: 1.9;
  overflow-x: auto;
}
.c-mut { color: #64748b; }
.c-key { color: #7dd3fc; }
.c-str { color: #86efac; }
.c-fn  { color: #fca5a5; }

/* ---------- Stats ---------- */
.stats { background: var(--blue-800); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 2.4rem 20px; text-align: center; }
.stat-num { display: block; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.stat-label { font-size: .88rem; color: var(--blue-100); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 42rem; margin: 0 auto 3rem; text-align: center; }
.section-sub { margin-top: .8rem; font-size: 1.05rem; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.5rem;
  background: var(--blue-50); margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .95rem; }
.card-list { list-style: none; margin-top: 1rem; display: grid; gap: .45rem; }
.card-list li { position: relative; padding-left: 1.35rem; font-size: .9rem; font-weight: 600; color: var(--muted); }
.card-list li::before { content: "▹"; position: absolute; left: 0; color: var(--blue-500); }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; position: relative;
}
.step-num {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: #fff; font-weight: 800; margin-bottom: .9rem;
}
.step h3 { margin-bottom: .4rem; }
.step p { font-size: .92rem; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: start; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; box-shadow: var(--shadow-sm); position: relative;
}
.plan-featured {
  border-color: var(--blue-600);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}
.plan-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue-700); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: .3rem .9rem; border-radius: 999px;
}
.plan h3 { margin-bottom: .3rem; }
.plan-price { font-size: 1.15rem; font-weight: 800; color: var(--ink); margin-bottom: .6rem; }
.plan-price span { font-size: .85rem; font-weight: 600; color: var(--muted); }
.plan-desc { font-size: .92rem; margin-bottom: 1rem; }
.plan-list { list-style: none; display: grid; gap: .55rem; margin-bottom: 1.5rem; }
.plan-list li { position: relative; padding-left: 1.5rem; font-size: .92rem; }
.plan-list li::before { content: "✓"; position: absolute; left: 0; color: var(--wa-dark); font-weight: 800; }
.plan .btn { width: 100%; justify-content: center; }
.plans-note { text-align: center; margin-top: 1.6rem; font-size: .9rem; color: var(--muted); }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: start; }
.features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.features li { display: flex; gap: .9rem; }
.feature-ic {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue-50); display: grid; place-items: center; font-size: 1.25rem;
}
.features h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.features p { font-size: .9rem; }

/* ---------- Slider ---------- */
.slider { max-width: 760px; margin: 0 auto; overflow: hidden; }
.slider-track { display: flex; transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.quote {
  flex: 0 0 100%;
  padding: 2.2rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-align: center;
}
.quote blockquote { font-size: 1.15rem; color: var(--ink); font-weight: 600; line-height: 1.6; }
.quote figcaption { margin-top: 1rem; font-size: .9rem; color: var(--muted); font-weight: 600; }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.4rem; }
.slider-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-size: 1rem; color: var(--blue-700); transition: .2s ease;
}
.slider-btn:hover { background: var(--blue-50); border-color: var(--blue-500); }
.slider-dots { display: flex; gap: .5rem; }
.slider-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0;
  background: var(--line); cursor: pointer; transition: .2s ease;
}
.slider-dots button[aria-selected="true"] { background: var(--blue-700); width: 24px; border-radius: 999px; }

/* ---------- Accordion ---------- */
.faq-wrap { max-width: 780px; }
.accordion { display: grid; gap: .8rem; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.acc-trigger {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 1.1rem 1.3rem; font-size: 1rem; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: inherit;
}
.acc-icon { flex: none; width: 18px; height: 18px; position: relative; }
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; background: var(--blue-700); border-radius: 2px;
  transition: transform .25s ease;
}
.acc-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.acc-icon::after { top: 0; left: 8px; width: 2px; height: 18px; }
.acc-trigger[aria-expanded="true"] .acc-icon::after { transform: rotate(90deg); opacity: 0; }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-panel p { padding: 0 1.3rem 1.2rem; font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-list { list-style: none; display: grid; gap: 1rem; margin: 1.6rem 0; }
.contact-list li { display: flex; align-items: center; gap: .8rem; font-weight: 600; color: var(--ink); }
.contact-ic {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  background: var(--blue-50); display: grid; place-items: center; font-size: 1.1rem;
}
.socials { display: flex; gap: .7rem; margin-top: 1.4rem; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--blue-800);
  transition: .2s ease;
}
.socials a:hover { background: var(--blue-700); color: #fff; border-color: var(--blue-700); transform: translateY(-3px); }
.socials a.social-handle {
  width: auto; padding: 0 .9rem; font-weight: 700; font-size: .9rem;
  color: var(--blue-800);
}
.socials a.social-handle:hover { color: #fff; }

.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem; box-shadow: var(--shadow-md);
  display: grid; gap: 1rem;
}
.field { display: grid; gap: .35rem; }
.field label { font-size: .85rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .9rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; color: var(--ink);
  background: var(--bg-alt); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); background: #fff;
  box-shadow: 0 0 0 3px var(--blue-100);
}
.field textarea { resize: vertical; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form .btn-whatsapp { margin-top: -.2rem; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.form-hint { font-size: .82rem; color: var(--muted); }
.form-status { font-size: .9rem; font-weight: 600; min-height: 1.2rem; }
.form-status.ok { color: var(--wa-dark); }
.form-status.err { color: #dc2626; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: #cbd5e1; padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; }
.brand-footer { color: #fff; margin-bottom: .9rem; }
.brand-footer .brand-text strong { color: #93c5fd; }
.footer-tag { font-size: .92rem; max-width: 26rem; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: .9rem; }
.site-footer nav, .footer-grid > div { display: flex; flex-direction: column; gap: .5rem; }
.site-footer a { color: #cbd5e1; font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .85rem; color: #94a3b8;
}

/* ---------- Floating action buttons ---------- */
.fab {
  position: fixed; right: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  border: 0; box-shadow: var(--shadow-md);
  transition: transform .2s ease, opacity .2s ease, visibility .2s ease;
}
.fab:hover { transform: scale(1.08); text-decoration: none; }
.fab-whatsapp {
  bottom: 22px; background: var(--wa); color: #fff;
  animation: fab-pulse 2.4s infinite;
}
@keyframes fab-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.fab-top {
  bottom: 88px; background: #fff; color: var(--blue-700);
  border: 1px solid var(--line); font-size: 1.3rem;
  opacity: 0; visibility: hidden;
}
.fab-top.show { opacity: 1; visibility: visible; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { transform: none; order: -1; max-width: 460px; }
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan-featured { transform: none; }
  .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .features { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .5rem 20px 1.2rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%); transition: transform .3s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .main-nav .nav-cta { text-align: center; margin-top: .8rem; border-bottom: 0; }
}

@media (max-width: 560px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Inner pages (multi-page build)
   ========================================================= */
.page-head {
  background: linear-gradient(180deg, var(--blue-50), #fff);
  border-bottom: 1px solid var(--line);
  padding: 3rem 0 2.6rem;
}
.page-head .crumbs { font-size: .82rem; color: var(--muted); margin-bottom: .9rem; }
.page-head .crumbs a { color: var(--muted); }
.page-head .crumbs a:hover { color: var(--blue-700); }
.page-head h1 { max-width: 22ch; }
.page-head p { margin-top: .9rem; max-width: 62ch; font-size: 1.05rem; }

.prose { max-width: 720px; }
.prose > * + * { margin-top: 1rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.4rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-top: .35rem; }
.prose strong { color: var(--ink); }

.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 1.4rem; }
.tech-grid .box {
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 1.2rem 1.3rem;
}
.tech-grid .box h3 { font-size: 1rem; margin-bottom: .4rem; }
.tech-grid .box p { font-size: .95rem; margin: 0; }
@media (max-width: 620px) { .tech-grid { grid-template-columns: 1fr; } }

.cta-strip {
  background: var(--blue-900); color: #dbeafe; border-radius: var(--radius);
  padding: 2.4rem; text-align: center; margin-top: 2.5rem;
}
.cta-strip h2 { color: #fff; }
.cta-strip p { margin: .7rem auto 1.4rem; max-width: 48ch; }
.cta-strip .hero-actions { justify-content: center; }

/* ---- blog ---- */
.post-head { max-width: 760px; margin: 0 auto 1.6rem; }
.post-head h1 { max-width: none; }
.post-meta { color: var(--muted); font-size: .85rem; font-weight: 600; margin-top: .5rem; }
.post-body { margin: 0 auto; }
.post-body h2 { font-size: 1.4rem; }
.post-body code {
  background: var(--blue-50); border: 1px solid var(--blue-100);
  border-radius: 5px; padding: .1em .35em; font-size: .9em;
}
.post-body details {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .3rem 1rem; margin-top: .8rem; background: var(--bg-alt);
}
.post-body summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: .7rem 0; }
.post-body details[open] summary { border-bottom: 1px solid var(--line); }
.card .post-meta { margin-bottom: .4rem; }
.card h3 a { color: var(--ink); }
