/* ==========================================================================
   Pramvix — Global Stylesheet
   Modern, responsive design system
   ========================================================================== */

:root {
  /* Brand palette */
  --brand-900: #0b1437;
  --brand-800: #10204f;
  --brand-700: #1b3a8f;
  --brand-600: #2a52d6;
  --brand-500: #3b6bf0;
  --brand-400: #6690f6;
  --accent-500: #06b6d4;
  --accent-400: #22d3ee;
  --violet-500: #7c3aed;

  /* Neutrals */
  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-500: #64748b;
  --ink-300: #cbd5e1;
  --ink-100: #f1f5f9;
  --surface: #ffffff;
  --surface-alt: #f6f8fc;
  --line: #e6ebf3;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .1);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 20px 50px rgba(16, 32, 79, .18);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1180px;

  --grad-brand: linear-gradient(135deg, var(--brand-600), var(--violet-500));
  --grad-hero: radial-gradient(1200px 600px at 80% -10%, rgba(34, 211, 238, .25), transparent 60%),
               radial-gradient(900px 500px at 0% 0%, rgba(124, 58, 237, .28), transparent 55%),
               linear-gradient(160deg, var(--brand-900), var(--brand-700));

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

/* Reset & base ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--surface);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-500); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; color: var(--ink-900); font-weight: 800; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; color: var(--ink-700); }
ul { color: var(--ink-700); }

/* Layout ------------------------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--alt { background: var(--surface-alt); }
.section--tight { padding: 56px 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand-600); margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--ink-500); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-weight: 700; font-size: 1rem; padding: 13px 26px; border-radius: 999px;
  border: 1px solid transparent; transition: transform .18s, box-shadow .18s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 24px rgba(42, 82, 214, .35); }
.btn--primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(42, 82, 214, .45); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn--dark { background: var(--ink-900); color: #fff; }
.btn--dark:hover { color:#fff; background: var(--brand-700); }
.btn--lg { padding: 16px 34px; font-size: 1.05rem; }

/* Header / Nav ------------------------------------------------------------ */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-family: var(--font-display); display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.4rem; color: var(--ink-900); letter-spacing: -.03em; }
.brand:hover { color: var(--ink-900); }
.brand .logo-mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--grad-brand);
  display: grid; place-items: center; color: #fff; font-size: 1rem; font-weight: 900;
  box-shadow: var(--shadow-sm);
}
.brand span.accent { color: var(--brand-600); }
.brand-logo { height: 38px; width: auto; display: block; }
.footer .brand-logo { height: 46px; margin-bottom: 6px; }
@media (max-width: 720px) { .brand-logo { height: 32px; } }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink-700); font-weight: 600; font-size: .98rem; padding: 9px 15px; border-radius: 8px;
}
.nav-links a:hover { color: var(--brand-600); background: var(--ink-100); }
.nav-links a.active { color: var(--brand-600); }
.nav-links a.btn--primary,
.nav-links a.btn--primary:hover { color: #fff; background: var(--grad-brand); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink-900); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* Hero -------------------------------------------------------------------- */
.hero { background: var(--grad-hero); color: #fff; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .5; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 96px; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero h1 .grad { background: linear-gradient(90deg, var(--accent-400), #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: rgba(255,255,255,.82); font-size: 1.2rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; font-weight: 600;
  color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  padding: 7px 14px; border-radius: 999px;
}

/* Floating hero card */
.hero-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px; padding: 22px; backdrop-filter: blur(6px); box-shadow: var(--shadow-lg);
}
.hero-card .row { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.06); margin-bottom: 12px; }
.hero-card .row:last-child { margin-bottom: 0; }
.hero-card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-brand); display: grid; place-items: center; flex: none; }
.hero-card .ic svg { width: 22px; height: 22px; stroke: #fff; }
.hero-card .t { font-weight: 700; color: #fff; }
.hero-card .s { font-size: .85rem; color: rgba(255,255,255,.7); }

/* Stats bar --------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.03em; }
.stat .lbl { color: var(--ink-500); font-weight: 600; font-size: .95rem; }

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

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s, border-color .22s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #d7e0ef; }
.card .icon {
  width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(135deg, rgba(42,82,214,.12), rgba(124,58,237,.12));
  display: grid; place-items: center; margin-bottom: 18px;
}
.card .icon svg { width: 27px; height: 27px; stroke: var(--brand-600); fill: none; stroke-width: 1.9; }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: .98rem; }
.card ul { margin: 12px 0 0; padding-left: 18px; font-size: .95rem; }
.card ul li { margin-bottom: 6px; }
.card-link { display: inline-block; margin-top: 16px; font-weight: 700; font-size: .95rem; color: var(--brand-600); }
.card-link:hover { color: var(--brand-500); transform: translateX(3px); transition: transform .2s, color .2s; }
.card--clickable { cursor: pointer; }

/* Feature list with check */
.checklist { list-style: none; padding: 0; margin: 20px 0 0; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--ink-700); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(6,182,212,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2306b6d4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Tech badges ------------------------------------------------------------- */
.tech-grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.tech {
  display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); font-weight: 700; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.tech:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tech .dot { width: 10px; height: 10px; border-radius: 50%; }

/* Split feature ----------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.media-frame {
  position: relative; overflow: hidden;
  border-radius: 20px; padding: 26px; background: var(--grad-hero); color: #fff; box-shadow: var(--shadow-lg);
}
.media-frame::before {
  content: ""; position: absolute; width: 240px; height: 240px; right: -70px; top: -70px;
  background: radial-gradient(circle, rgba(34,211,238,.4), transparent 70%); pointer-events: none;
}
.media-frame .mini { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 16px; margin-bottom: 12px; display: flex; gap: 12px; align-items: center; }
.media-frame .mini:last-child { margin-bottom: 0; }
.media-frame .bar { height: 8px; border-radius: 6px; background: rgba(255,255,255,.25); }

/* "At a glance" panel (replaces the old skeleton bars) */
.mf-head { position: relative; display: flex; align-items: center; gap: 7px; margin-bottom: 16px; }
.mf-dot { width: 11px; height: 11px; border-radius: 50%; }
.mf-title { color: rgba(255,255,255,.8); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-left: 8px; }
.mf-row { position: relative; display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 14px; padding: 14px 16px; margin-bottom: 12px; transition: transform .22s, background .22s; }
.mf-row:last-child { margin-bottom: 0; }
.mf-row:hover { transform: translateX(5px); background: rgba(255,255,255,.14); }
.mf-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-brand); display: grid; place-items: center; flex: none; box-shadow: 0 6px 16px rgba(42,82,214,.4); }
.mf-ic svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mf-txt { min-width: 0; }
.mf-t { color: #fff; font-weight: 700; font-size: 1rem; }
.mf-s { color: rgba(255,255,255,.72); font-size: .85rem; }
.mf-check { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; background: rgba(34,211,238,.18); display: grid; place-items: center; flex: none; }
.mf-check svg { width: 13px; height: 13px; stroke: #22d3ee; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Steps ------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step .n {
  counter-increment: step; flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem;
}
.step .n::before { content: counter(step); }

/* CTA band ---------------------------------------------------------------- */
.cta-band { background: var(--grad-hero); color: #fff; border-radius: 24px; padding: 56px; text-align: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 620px; margin: 0 auto 26px; }

/* Contact ----------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.contact-info .item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.contact-info .ic { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, rgba(42,82,214,.12), rgba(124,58,237,.12)); display: grid; place-items: center; flex: none; }
.contact-info .ic svg { width: 24px; height: 24px; stroke: var(--brand-600); fill: none; stroke-width: 1.9; }
.contact-info .item h4 { margin: 0 0 3px; }
.contact-info .item a, .contact-info .item p { margin: 0; color: var(--ink-700); font-weight: 600; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 7px; color: var(--ink-900); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; font: inherit;
  font-size: .98rem; color: var(--ink-900); background: var(--surface-alt); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(59,107,240,.14); background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .85rem; color: var(--ink-500); margin-top: 6px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: rgba(6,182,212,.12); color: #0e7490; border: 1px solid rgba(6,182,212,.3); }
.form-status.err { display: block; background: rgba(239,68,68,.1); color: #b91c1c; border: 1px solid rgba(239,68,68,.3); }

/* Map placeholder */
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

/* Breadcrumb / page header ------------------------------------------------ */
.page-hero { background: var(--grad-hero); color: #fff; text-align: center; padding: 76px 0 66px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 26px 26px; opacity: .5; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 640px; margin: 0 auto; font-size: 1.15rem; }
.crumb { font-size: .9rem; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.crumb a { color: rgba(255,255,255,.9); }

/* FAQ --------------------------------------------------------------------- */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px 22px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--brand-600); font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding-bottom: 18px; margin: 0; }

/* Footer ------------------------------------------------------------------ */
.footer { background: var(--brand-900); color: rgba(255,255,255,.8); padding: 68px 0 30px; }
.footer p { color: rgba(255,255,255,.72); }
.footer ul li { color: rgba(255,255,255,.82); }
.footer a { color: rgba(255,255,255,.82); }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 11px; }
.footer .social { display: flex; gap: 12px; margin-top: 16px; }
.footer .social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.footer .social a:hover { background: var(--brand-600); }
.footer .social svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; font-size: .88rem; }
.footer-links a { white-space: nowrap; }

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

/* WhatsApp floating button ------------------------------------------------ */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; height: 58px; width: 58px;
  border-radius: 999px; background: #25d366; color: #fff; overflow: hidden;
  box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5);
  transition: width .32s ease; animation: waPulse 2.6s infinite;
}
.whatsapp-float:hover { color: #fff; animation: none; box-shadow: 0 14px 32px rgba(37,211,102,.55); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; flex: none; margin: 0 14px; }
.whatsapp-float__label { white-space: nowrap; font-weight: 700; font-size: .98rem; opacity: 0; transition: opacity .25s; padding-right: 6px; }
@media (hover: hover) {
  .whatsapp-float:hover { width: 188px; }
  .whatsapp-float:hover .whatsapp-float__label { opacity: 1; }
}
@keyframes waPulse {
  0%   { box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 720px) {
  .whatsapp-float { right: 16px; bottom: 16px; height: 54px; width: 54px; }
  .whatsapp-float svg { margin: 0 12px; }
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-card { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; padding: 12px 20px 22px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); transform: translateY(-140%); transition: transform .3s; z-index: 40;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 12px; border-radius: 8px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-band { padding: 40px 24px; }
  .nav-open-active { overflow: hidden; }
}
