/* Intravo — shared styles for the services, pricing, trial, contact and sign-in pages.
 * Loaded on all five pages (after site.css). Classes are prefixed "p-" so they never
 * collide with site.css or the comp-converted pages. No inline layout on these pages,
 * so site.css's inline-style reflow rules never touch them.
 */

/* ---------------------------------------------------------------- hero */
.p-hero { padding: 96px var(--gx) 88px; background: var(--nebula); position: relative; overflow: hidden; }
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.p-hero .h1 { max-width: 760px; }
.p-hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.p-meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--lav-800); }
.p-meta span { display: inline-flex; align-items: center; gap: 8px; }
.p-meta svg { width: 18px; height: 18px; fill: none; stroke: var(--lav-700); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.p-tel { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 18px; font-weight: 600; color: var(--lav-800); text-decoration: none; font-variant-numeric: tabular-nums; }
.p-tel svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.p-tel:hover { color: var(--lav-700); }

/* small centered hero (sign-in, legal-ish) */
.p-hero-center { text-align: center; }
.p-hero-center .h1, .p-hero-center .lede { margin-left: auto; margin-right: auto; }

/* ---------------------------------------------------------------- lists */
.p-checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.p-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.p-checks svg { flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; }
.p-checks.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.p-sec-purple .p-checks li, .sec-purple .p-checks li, .sec-dark .p-checks li { color: var(--lav-100); }

/* ---------------------------------------------------------------- numbered steps */
.p-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.p-step { position: relative; padding: 28px; background: var(--white); border: 1px solid var(--lav-300); border-radius: var(--radius); }
.p-step-n { width: 44px; height: 44px; border-radius: 50%; background: var(--lav-700); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.p-step h3 { margin: 18px 0 6px; font-size: 21px; font-weight: 600; }
.p-step p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.p-step .p-mini { margin-top: 18px; }

/* ---------------------------------------------------------------- forms */
.p-form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: start; }
.p-form { display: flex; flex-direction: column; gap: 18px; }
.p-form .row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.p-form .field input, .p-form .field select, .p-form .field textarea { width: 100%; }
.p-form .hint { font-size: 13px; color: var(--ink-2); }
.p-form .opt { font-size: 13px; color: var(--ink-2); font-weight: 400; }
.p-form button[type=submit] { width: 100%; }
.p-form [data-form-note] { margin: 0; text-align: center; font-size: 14px; color: var(--lav-800); }
.p-form-title { margin: 0 0 6px; font-size: 30px; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }
.p-form-sub { margin: 0 0 22px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.p-ok { text-align: left; padding: 22px; border-radius: 18px; background: var(--gal-100); }
.p-ok h3 { margin: 0 0 6px; font-size: 21px; font-weight: 600; }
.p-ok p { margin: 0 0 14px; font-size: 15px; line-height: 1.5; }
.p-ok ol { margin: 0 0 18px; padding-left: 20px; font-size: 15px; line-height: 1.6; }
.p-ok .btn { width: 100%; }

/* ---------------------------------------------------------------- side help card */
.p-help { margin-top: 28px; padding: 22px 24px; border-radius: 20px; background: var(--white); border: 1px solid var(--lav-300); display: flex; gap: 16px; align-items: flex-start; }
.p-help-ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--lav-100); color: var(--lav-700); display: flex; align-items: center; justify-content: center; }
.p-help-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.p-help h3 { margin: 0 0 4px; font-size: 17px; font-weight: 600; }
.p-help p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.p-linkbtn { border: 0; padding: 0; background: none; font: inherit; color: var(--lav-700); text-decoration: underline; cursor: pointer; min-height: 24px; }
.p-linkbtn:hover { color: var(--lav-800); }

/* ---------------------------------------------------------------- route cards (contact) */
.p-routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.p-route { padding: 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--lav-300); display: flex; flex-direction: column; gap: 12px; }
.p-route-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--lav-700); color: var(--white); display: flex; align-items: center; justify-content: center; }
.p-route-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.p-route h3 { margin: 6px 0 0; font-size: 24px; font-weight: 600; }
.p-route > p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.p-route .inc { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--lav-300); font-size: 14px; line-height: 1.5; }
.p-route .inc strong { display: block; margin-bottom: 6px; font-weight: 600; color: var(--lav-800); }
.p-route .inc ul { margin: 0; padding-left: 18px; }
.p-route .btn { margin-top: auto; }

/* phone band */
.p-phoneband { padding: 56px var(--gx); background: var(--lav-800); color: var(--white); display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.p-phoneband h2 { margin: 0; font-size: 40px; line-height: 1.1; font-weight: 600; letter-spacing: -.03em; }
.p-phoneband p { margin: 8px 0 0; font-size: 17px; color: var(--lav-100); }
.p-phone-big { display: inline-flex; align-items: center; gap: 14px; min-height: 64px; padding: 0 30px; border-radius: 999px; background: var(--white); color: var(--lav-800); text-decoration: none; font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.p-phone-big svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.p-phone-big:hover { background: var(--lav-100); color: var(--lav-800); }

/* ---------------------------------------------------------------- sign in */
.p-signin { padding: 72px var(--gx) 96px; background: var(--nebula); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 72px; align-items: center; }
.p-signin-card { padding: 40px; background: var(--white); border: 1px solid var(--lav-300); border-radius: 28px; box-shadow: 0 24px 60px rgba(18, 19, 15, .08); }
.p-signin-card img.logo { width: 152px; height: 34px; display: block; }
.p-signin-card h1 { margin: 26px 0 6px; font-size: 32px; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }
.p-signin-card .sub { margin: 0 0 24px; font-size: 15px; color: var(--ink-2); }
.p-sso { display: flex; flex-direction: column; gap: 10px; }
.p-sso button { height: 52px; border-radius: 14px; border: 1.5px solid var(--lav-300); background: var(--white); color: var(--onyx); font: inherit; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 12px; cursor: pointer; }
.p-sso button:hover { border-color: var(--lav-700); }
.p-sso svg { width: 20px; height: 20px; }
.p-or { margin: 20px 0; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .12em; }
.p-or::before, .p-or::after { content: ""; flex: 1; height: 1px; background: var(--lav-300); }
.p-demo { margin: 0 0 22px; padding: 10px 14px; border-radius: 12px; background: var(--lav-100); color: var(--lav-800); font-size: 14px; display: flex; gap: 10px; align-items: center; }
.p-demo svg { flex-shrink: 0; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.p-signin-foot { margin-top: 22px; font-size: 15px; text-align: center; }
.p-portal { position: relative; }
.p-portal-mock { border-radius: 24px; overflow: hidden; background: var(--white); border: 1px solid var(--lav-300); box-shadow: 0 30px 70px rgba(18, 19, 15, .10); }
.p-portal-mock .mock-bar { justify-content: space-between; }
.p-portal-body { display: grid; grid-template-columns: 170px minmax(0, 1fr); min-height: 360px; }
.p-portal-nav { padding: 18px 14px; background: var(--nebula); border-right: 1px solid var(--lav-300); display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.p-portal-nav span { padding: 9px 12px; border-radius: 10px; }
.p-portal-nav span.on { background: var(--lav-700); color: var(--white); }
.p-portal-main { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.p-portal-main h3 { margin: 0; font-size: 18px; font-weight: 600; }
.p-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.p-kpi { padding: 12px; border-radius: 12px; border: 1px solid var(--lav-300); font-size: 12px; color: var(--ink-2); }
.p-kpi b { display: block; font-size: 22px; color: var(--onyx); font-weight: 600; font-variant-numeric: tabular-nums; }
.p-rows { display: flex; flex-direction: column; gap: 8px; }
.p-rowline { display: grid; grid-template-columns: 100px minmax(0, 1fr) 56px; gap: 10px; align-items: center; font-size: 13px; padding: 10px 12px; border-radius: 10px; background: var(--nebula); }
.p-bar { height: 6px; border-radius: 3px; background: var(--lav-100); position: relative; overflow: hidden; }
.p-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--gal-600); }

/* ---------------------------------------------------------------- misc */
.p-kicker { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--lav-800); }
.p-note { font-size: 13px; color: var(--ink-2); }
.p-center { text-align: center; }
.p-mt { margin-top: 44px; }

/* soft floating decoration used in heroes */
@keyframes p-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.p-float { animation: p-float 6s ease-in-out infinite; }
.p-float.d2 { animation-delay: -2s; }
.p-float.d3 { animation-delay: -4s; }
@keyframes p-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); } }
.p-pulse { animation: p-pulse 1.8s ease-in-out infinite; }
@keyframes p-wave { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.p-wave i { display: block; width: 4px; border-radius: 2px; background: var(--gal-300); transform-origin: center; animation: p-wave 1.1s ease-in-out infinite; }
.p-wave i:nth-child(2) { animation-delay: -.2s; } .p-wave i:nth-child(3) { animation-delay: -.4s; }
.p-wave i:nth-child(4) { animation-delay: -.6s; } .p-wave i:nth-child(5) { animation-delay: -.8s; }
.p-wave i:nth-child(6) { animation-delay: -.3s; } .p-wave i:nth-child(7) { animation-delay: -.5s; }

@media (prefers-reduced-motion: reduce) {
  .p-float, .p-pulse, .p-wave i { animation: none !important; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .p-hero { padding: 72px var(--gx) 64px; }
  .p-hero-grid, .p-form-grid, .p-signin { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .p-steps, .p-routes { grid-template-columns: minmax(0, 1fr); }
  .p-phoneband h2 { font-size: 34px; }
}
@media (max-width: 720px) {
  .p-hero { padding: 48px var(--gx) 48px; }
  .p-form .row2, .p-checks.two { grid-template-columns: minmax(0, 1fr); }
  .p-signin { padding: 40px var(--gx) 64px; }
  .p-signin-card { padding: 26px; }
  .p-portal-body { grid-template-columns: minmax(0, 1fr); }
  .p-portal-nav { flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--lav-300); }
  .p-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p-rowline { grid-template-columns: 80px minmax(0, 1fr) 44px; }
  .p-phoneband h2 { font-size: 28px; }
  .p-phone-big { font-size: 22px; padding: 0 22px; width: 100%; justify-content: center; }
  .p-route, .p-step { padding: 22px; }
}

/* ---------------------------------------------------------------- trial page */
/* trial-page layout (kept here: it is used by this page only) */
.t-hero { padding: 80px var(--gx) 96px; background: var(--nebula); }
.t-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 72px; align-items: start; }
.t-count { margin-top: 30px; display: flex; align-items: center; gap: 18px; }
.t-ring { position: relative; width: 96px; height: 96px; flex-shrink: 0; }
.t-ring svg { width: 96px; height: 96px; transform: rotate(-90deg); }
.t-ring b { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; line-height: 1; color: var(--lav-800); font-variant-numeric: tabular-nums; }
.t-ring b small { font-size: 12px; font-weight: 500; margin-top: 3px; color: var(--ink-2); }
@keyframes t-ring { 0% { stroke-dashoffset: 264; } 60%, 100% { stroke-dashoffset: 0; } }
.t-ring .arc { stroke-dasharray: 264; animation: t-ring 5s ease-out infinite; }
.t-count p { margin: 0; font-size: 17px; line-height: 1.5; }
.t-assure { margin-top: 26px; }
.t-card { position: sticky; top: 24px; }
.t-dl { display: inline-flex; align-items: center; gap: 10px; }
.t-dl svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.t-do { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.t-do article { padding: 26px; border-radius: 22px; background: var(--white); border: 1px solid var(--lav-300); }
.t-do .ic-wrap { width: 48px; height: 48px; border-radius: 14px; background: var(--lav-100); color: var(--lav-700); display: flex; align-items: center; justify-content: center; }
.t-do .ic-wrap svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.t-do h3 { margin: 16px 0 6px; font-size: 19px; font-weight: 600; }
.t-do p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.t-req { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.t-win { border-radius: 20px; overflow: hidden; background: var(--white); border: 1px solid var(--lav-300); box-shadow: 0 24px 60px rgba(18, 19, 15, .08); }
.t-win .mock-bar { justify-content: space-between; }
.t-win-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.t-lang { display: grid; grid-template-columns: 110px 1fr 90px; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--nebula); font-size: 14px; }
.t-lang .b { height: 6px; border-radius: 3px; background: var(--lav-100); position: relative; overflow: hidden; }
.t-lang .b i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--gal-600); animation: t-fill 3.6s ease-in-out infinite alternate; }
.t-lang:nth-child(2) .b i { animation-delay: -1.2s; } .t-lang:nth-child(3) .b i { animation-delay: -2.4s; }
@keyframes t-fill { 0% { width: 22%; } 100% { width: 58%; } }
.t-lang .o { font-size: 12px; color: var(--ink-2); text-align: right; }
@media (prefers-reduced-motion: reduce) { .t-ring .arc, .t-lang .b i { animation: none !important; } .t-lang .b i { width: 40%; } }
@media (max-width: 1100px) {
  .t-grid, .t-req { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .t-card { position: static; }
  .t-do { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .t-hero { padding: 44px var(--gx) 56px; }
  .t-do { grid-template-columns: minmax(0, 1fr); }
  .t-lang { grid-template-columns: 90px 1fr 64px; }
}

/* ---------------------------------------------------------------- contact hero chat mock */
.con-opt { height: 40px; border: 1px solid var(--lav-700); border-radius: 12px; background: var(--white); color: var(--lav-800); font-size: 14px; display: flex; align-items: center; justify-content: center; }
.c-note { margin: 18px 0 0; font-size: 15px; line-height: 1.5; color: var(--lav-800); }
.p-hero .p-phone-big { border: 1.5px solid var(--lav-300); }
