/* ==========================================================================
   Jvner — Shared stylesheet · Neo-brutalist system
   Light paper canvas, near-black ink, FLAT brand orange (#F3500F),
   2px ink borders, hard offset shadows, sharp corners, mono labels.
   No JS framework. Optimized for Core Web Vitals.
   ========================================================================== */

:root {
  /* Brutalist light palette */
  --paper: #f3f1ea;          /* canvas */
  --panel: #ffffff;          /* raised blocks */
  --ink: #100f0d;            /* near-black: text + borders */
  --ink-2: #56524a;          /* muted text */
  --accent: #F3500F;         /* brand orange, flat */
  --accent-2: #d8430a;       /* deeper orange for fine text/links on light */

  /* Back-compat aliases — inline HTML + older rules reference these names */
  --black: #100f0d;
  --bg: var(--paper);
  --bg-2: #e9e6dc;           /* alternating section tint */
  --bg-3: #e0dccf;           /* hover tint */
  --white: #ffffff;
  --text: var(--ink);
  --text-dim: var(--ink-2);
  --border: var(--ink);
  --primary: var(--accent);
  --primary-2: var(--accent-2);
  --gradient: var(--accent);         /* flat now (was a glow gradient) */
  --gradient-soft: #ffe6d6;          /* light orange tint */

  --radius: 0; --radius-sm: 0;
  --maxw: 1200px;
  --bw: 2px;                         /* standard border width */
  --sh: 4px 4px 0 var(--ink);        /* hard offset shadow */
  --sh-lg: 6px 6px 0 var(--ink);
  --font-head: "Rajdhani", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body); background: var(--paper); color: var(--ink);
  line-height: 1.6; font-size: 17px; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.04; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.9rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.6rem); text-transform: uppercase; }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); }
p { color: var(--ink-2); }
strong { color: var(--ink); font-weight: 700; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 80px 0; position: relative; border-top: var(--bw) solid var(--ink); }
.section--tight { padding: 52px 0; border-top: var(--bw) solid var(--ink); }
.center { text-align: center; }
.lead { font-size: 1.12rem; max-width: 720px; color: var(--ink-2); }
.center .lead { margin-inline: auto; }

/* ---------- Eyebrow / mono kicker ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .12em;
  font-size: .72rem; font-weight: 700; color: var(--ink); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 11px; height: 11px; background: var(--accent); display: inline-block; flex: none; }

/* ---------- Buttons (rect, thick border, hard shadow, press-into-shadow) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; letter-spacing: .03em; text-transform: uppercase;
  padding: 13px 24px; border: var(--bw) solid var(--ink); border-radius: 0; cursor: pointer;
  background: var(--panel); color: var(--ink); box-shadow: var(--sh);
  -webkit-tap-highlight-color: transparent; user-select: none;
  transition: transform .12s cubic-bezier(.23,1,.32,1), box-shadow .12s ease, background .2s ease, filter .2s ease;
}
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn--primary { background: var(--accent); color: var(--ink); border-color: var(--ink); }
.btn--ghost { background: var(--panel); color: var(--ink); }
.btn--ghost:hover { background: var(--bg-2); }
.btn--lg { padding: 16px 30px; font-size: 1.12rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: var(--bw) solid var(--ink); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 18px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 26px; width: auto; display: block; }
.site-header .brand img { filter: brightness(0); }  /* white wordmark -> black on light header */
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { font-family: var(--font-head); font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }
.nav a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; font-family: var(--font-mono); font-weight: 700; font-size: .78rem; border: var(--bw) solid var(--ink); border-radius: 0; overflow: hidden; }
.lang-switch a { padding: 6px 10px; color: var(--ink-2); }
.lang-switch a.is-active { background: var(--accent); color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 1.5rem; cursor: pointer; }
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: var(--bw) solid var(--ink); padding: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 13px 22px; width: 100%; border-top: 1px solid var(--ink); }
  .nav-toggle { display: block; }
  .header-cta-text { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 84px 0 64px; background: var(--paper); }
.hero h1 { margin-bottom: 18px; text-wrap: balance; }
.hero h1 .accent { color: var(--accent); -webkit-text-fill-color: currentColor; background: none; white-space: nowrap; }
.hero .lead { margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; }
.hero-tags li { font-family: var(--font-mono); text-transform: uppercase; font-weight: 600; font-size: .74rem; letter-spacing: .04em; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.hero-tags li::before { content: ""; width: 9px; height: 9px; background: var(--accent); display: inline-block; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-media { position: relative; border: var(--bw) solid var(--ink); border-radius: 0; min-height: 340px; background: var(--panel); box-shadow: 10px 10px 0 var(--ink); overflow: hidden; }
.hero-media img { width: 100%; height: auto; display: block; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 30px; } .hero-media { min-height: 0; box-shadow: 6px 6px 0 var(--ink); } }

/* ---------- Grid / cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--panel); border: var(--bw) solid var(--ink); border-radius: 0; padding: 24px 22px; box-shadow: var(--sh); transition: transform .12s ease, box-shadow .12s ease; }
.card:hover { border-color: var(--ink); }
.card h3 { margin-bottom: 9px; color: var(--ink); }
.card p { font-size: .97rem; color: var(--ink-2); }
.card .ico { width: 48px; height: 48px; border-radius: 0; background: var(--accent); border: var(--bw) solid var(--ink); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 16px; }
.card .ico i { color: var(--ink); font-size: 1.25rem; }
.card h3 i { color: var(--accent-2); margin-right: 9px; width: 1.1em; text-align: center; }
a.card { display: block; }
a.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-family: var(--font-mono); text-transform: uppercase; font-size: .76rem; font-weight: 700; letter-spacing: .04em; color: var(--accent-2); }

/* ---------- Split (text + media) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.split img { border: var(--bw) solid var(--ink); border-radius: 0; box-shadow: var(--sh-lg); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Checklist ---------- */
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; color: var(--ink); }
.checklist li::before { content: "\2713"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; background: var(--accent); border: 2px solid var(--ink); color: var(--ink); font-size: .72rem; font-weight: 700; display: grid; place-items: center; }

/* ---------- Stats ---------- */
.stats { display: flex; flex-wrap: wrap; gap: 0; border: var(--bw) solid var(--ink); background: var(--panel); box-shadow: var(--sh-lg); }
.stat { flex: 1 1 180px; padding: 26px 24px; border-right: var(--bw) solid var(--ink); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.2rem); color: var(--accent); -webkit-text-fill-color: currentColor; background: none; line-height: 1; }
.stat .lbl { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .05em; font-size: .74rem; color: var(--ink-2); margin-top: 8px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step { position: relative; padding: 22px 24px 22px 78px; background: var(--panel); border: var(--bw) solid var(--ink); border-radius: 0; box-shadow: var(--sh); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; background: var(--accent); color: var(--ink); border: var(--bw) solid var(--ink); font-family: var(--font-mono); font-weight: 700; display: grid; place-items: center; font-size: .95rem; }
.step h3 { font-size: 1.15rem; margin-bottom: 4px; }
.step p { font-size: .95rem; margin: 0; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 720px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { background: var(--panel); border: var(--bw) solid var(--ink); border-radius: 0; padding: 30px 28px; display: flex; flex-direction: column; box-shadow: var(--sh); }
.price-card.featured { box-shadow: 8px 8px 0 var(--accent); }
.price-card .amount { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 4vw, 2.9rem); color: var(--ink); margin: 8px 0 18px; line-height: 1; }
.price-card .amount span { font-size: 1rem; color: var(--ink-2); font-weight: 500; }
.price-card .checklist { margin-bottom: 24px; }
.price-card .btn { margin-top: auto; }
.badge { display: inline-block; font-family: var(--font-mono); font-weight: 700; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); background: var(--accent); border: 2px solid var(--ink); border-radius: 0; padding: 3px 10px; margin-bottom: 10px; }

/* ---------- FAQ (CSS-only) ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--panel); border: var(--bw) solid var(--ink); border-radius: 0; padding: 2px 20px; }
.faq summary { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--ink); cursor: pointer; list-style: none; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.5rem; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; font-size: .97rem; color: var(--ink-2); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 18px 0 0; font-size: .82rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .03em; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--ink-2); }
.breadcrumbs li::after { content: "/"; margin-left: 8px; color: var(--ink-2); }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a:hover { color: var(--accent); }

/* ---------- CTA band (full-width orange block) ---------- */
.cta-band { background: var(--accent); border-top: var(--bw) solid var(--ink); border-bottom: var(--bw) solid var(--ink); }
.cta-band .inner { text-align: center; max-width: 760px; margin: 0 auto; }
.cta-band h2 { color: var(--ink); margin-bottom: 14px; }
.cta-band p { color: var(--ink); opacity: .8; margin-bottom: 26px; }
.cta-band .btn--primary { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: 4px 4px 0 rgba(0,0,0,.28); }

/* ---------- Logos row (dark slab so light client logos stay visible) ---------- */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 36px; background: var(--ink); border: var(--bw) solid var(--ink); box-shadow: var(--sh-lg); padding: 30px 28px; }
.logos img { max-height: 56px; max-width: 110px; width: auto; height: auto; object-fit: contain; filter: grayscale(1) brightness(1.7); opacity: .92; transition: filter .2s, opacity .2s; }
.logos img:hover { filter: none; opacity: 1; }

/* ---------- Testimonials ---------- */
.quote { background: var(--panel); border: var(--bw) solid var(--ink); border-radius: 0; padding: 26px 24px; box-shadow: var(--sh); }
.quote p { color: var(--ink); margin-bottom: 14px; font-size: 1rem; }
.quote .who { font-family: var(--font-mono); text-transform: uppercase; font-size: .76rem; letter-spacing: .04em; color: var(--ink-2); }

/* ---------- Footer (ink block) ---------- */
.site-footer { background: var(--ink); color: #cfccc3; border-top: var(--bw) solid var(--ink); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: #bdb9b0; font-size: .95rem; }
.site-footer a:hover { color: var(--accent); }
.footer-brand p { color: #bdb9b0; font-size: .95rem; margin: 14px 0; max-width: 320px; }
.footer-social { display: flex; gap: 14px; }
.footer-bottom { border-top: 1px solid #34322c; margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: #8f8c84; }

/* ---------- Floating WhatsApp (square brutalist block) ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 0; border: var(--bw) solid var(--ink); background: #25D366;
  display: grid; place-items: center; box-shadow: var(--sh);
  transition: transform .12s ease, box-shadow .12s ease;
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.section-head { max-width: 780px; margin-bottom: 40px; }
.center .section-head { margin-inline: auto; }
.divider { height: 2px; background: var(--ink); border: 0; }
.prose p { margin-bottom: 16px; color: var(--ink-2); }
.prose h2 { margin: 36px 0 14px; }
.prose h3 { margin: 26px 0 10px; }

/* ---------- Industrias / services directory (distinct from cards) ---------- */
.dir { display: grid; grid-template-columns: repeat(4, 1fr); border: var(--bw) solid var(--ink); border-radius: 0; background: var(--panel); box-shadow: var(--sh-lg); overflow: hidden; }
.dir a { display: grid; grid-template-columns: auto 1fr; grid-auto-rows: min-content; column-gap: 13px; align-content: center;
  padding: 18px 20px; border-right: var(--bw) solid var(--ink); border-bottom: var(--bw) solid var(--ink); transition: background .15s ease; }
.dir a:hover { background: var(--accent); }
.dir a i { grid-column: 1; grid-row: 1 / 3; align-self: center; color: var(--accent-2); font-size: 1.15rem; width: 1.3em; text-align: center; }
.dir a:hover i, .dir a:hover .t, .dir a:hover .s { color: var(--ink); }
.dir a .t { grid-column: 2; grid-row: 1; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.02rem; line-height: 1.3; }
.dir a .s { grid-column: 2; grid-row: 2; color: var(--ink-2); font-size: .82rem; line-height: 1.45; }
@media (max-width: 860px) { .dir { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dir { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal (JS-gated; reduced-motion safe) ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .grid > .reveal:nth-child(2), .js .price-grid > .reveal:nth-child(2) { transition-delay: .07s; }
.js .grid > .reveal:nth-child(3) { transition-delay: .14s; }
.js .grid > .reveal:nth-child(4) { transition-delay: .21s; }

/* ---------- Hero entrance ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: heroIn .7s cubic-bezier(.16,1,.3,1) both; }
  .hero-copy > *:nth-child(1) { animation-delay: .02s; }
  .hero-copy > *:nth-child(2) { animation-delay: .09s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .23s; }
  .hero-copy > *:nth-child(5) { animation-delay: .30s; }
  .hero-media { animation: heroMedia .8s cubic-bezier(.16,1,.3,1) .12s both; }
}
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes heroMedia { from { opacity: 0; transform: translate(12px, 12px); } to { opacity: 1; transform: none; } }

/* Hover transforms gated to real pointers so they don't stick on touch taps. */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
  .btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
  .btn--primary:hover { filter: brightness(1.04); }
  .card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
  .wa-float:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { transform: none; transition: opacity .3s ease; }
}
