/* ==========================================================================
   Pay2Every1 — Modern UI (2026)
   Design system for: Home, About, Services, Contact, Login (+ shared header/footer)
   All selectors are prefixed `p2-` and scoped under `.p2x`, so legacy pages that
   share the default layout are not affected.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --p2-ink: #0a1a2f;
  --p2-ink-2: #3b4a5f;
  --p2-muted: #66758a;
  --p2-line: #e7ebf1;
  --p2-bg: #ffffff;
  --p2-bg-soft: #f6f8fb;
  --p2-bg-warm: #fff7f0;
  --p2-navy: #0c4063;
  --p2-navy-900: #071b2d;
  --p2-brand: #ff6600;
  --p2-brand-600: #e55a00;
  --p2-brand-100: #ffe9d9;
  --p2-gold: #ffd800;
  --p2-grad: linear-gradient(135deg, #ff6600 0%, #ff9a1f 100%);
  --p2-grad-dark: linear-gradient(135deg, #071b2d 0%, #0c4063 100%);
  --p2-radius: 20px;
  --p2-radius-sm: 12px;
  --p2-shadow-sm: 0 1px 2px rgba(10, 26, 47, .06), 0 2px 8px rgba(10, 26, 47, .04);
  --p2-shadow: 0 10px 30px -10px rgba(10, 26, 47, .18);
  --p2-shadow-lg: 0 30px 60px -20px rgba(10, 26, 47, .28);
  --p2-font: 'Plus Jakarta Sans', 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --p2-wrap: 1180px;
}

/* ---------- scoped reset ---------- */
.p2x, .p2x *, .p2x *::before, .p2x *::after { box-sizing: border-box; }
.p2x { font-family: var(--p2-font); color: var(--p2-ink); -webkit-font-smoothing: antialiased; line-height: 1.6; }
.p2x h1, .p2x h2, .p2x h3, .p2x h4, .p2x h5, .p2x h6 {
  font-family: var(--p2-font); color: var(--p2-ink); margin: 0; font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.15; text-transform: none;
}
.p2x p { font-family: var(--p2-font); font-size: 16px; line-height: 1.7; color: var(--p2-ink-2); margin: 0; font-weight: 400; }
.p2x ul, .p2x ol { margin: 0; padding: 0; list-style: none; }
.p2x li { list-style: none; }
.p2x a { text-decoration: none !important; color: inherit; }
.p2x img { max-width: 100%; height: auto; display: block; }
.p2x button { font-family: var(--p2-font); }
.p2x summary { list-style: none; }
.p2x summary::-webkit-details-marker { display: none; }

.p2-wrap { width: 100%; max-width: var(--p2-wrap); margin: 0 auto; padding: 0 20px; }
.p2-section { padding: 96px 0; position: relative; }
.p2-section--soft { background: var(--p2-bg-soft); }
.p2-section--warm { background: var(--p2-bg-warm); }
.p2-section--dark { background: var(--p2-grad-dark); color: #fff; overflow: hidden; }
.p2x .p2-section--dark h2, .p2x .p2-section--dark h3, .p2x .p2-section--dark h4 { color: #fff; }
.p2x .p2-section--dark p { color: rgba(255, 255, 255, .72); }

/* ---------- headings ---------- */
.p2-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--p2-brand-100); color: var(--p2-brand-600); font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
.p2-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--p2-brand); }
.p2-eyebrow--light { background: rgba(255, 255, 255, .12); color: #ffd9bd; }
.p2-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.p2-head--left { margin-left: 0; text-align: left; }
.p2x .p2-head h2 { font-size: clamp(28px, 4vw, 42px); margin-top: 16px; }
.p2x .p2-head p { margin-top: 14px; font-size: 17px; }
.p2-grad-text { background: var(--p2-grad); -webkit-background-clip: text; background-clip: text; color: transparent !important; }

/* ---------- buttons ---------- */
.p2x .p2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px;
  border-radius: 14px; font-weight: 700; font-size: 15px; line-height: 1; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.p2x .p2-btn:hover { transform: translateY(-2px); }
.p2x .p2-btn--primary { background: var(--p2-grad); color: #fff; box-shadow: 0 12px 24px -10px rgba(255, 102, 0, .65); }
.p2x .p2-btn--primary:hover { box-shadow: 0 16px 30px -10px rgba(255, 102, 0, .8); color: #fff; }
.p2x .p2-btn--ghost { background: #fff; color: var(--p2-ink); border-color: var(--p2-line); }
.p2x .p2-btn--ghost:hover { border-color: var(--p2-brand); color: var(--p2-brand-600); }
.p2x .p2-btn--light { background: #fff; color: var(--p2-navy); }
.p2x .p2-btn--light:hover { color: var(--p2-brand-600); }
.p2x .p2-btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.p2x .p2-btn--outline-light:hover { border-color: #fff; color: #fff; }
.p2x .p2-btn--block { width: 100%; }
.p2-btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.p2-header {
  position: sticky !important; top: 0; z-index: 1000 !important; background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.p2-header.is-scrolled { background: rgba(255, 255, 255, .92); border-color: var(--p2-line); box-shadow: 0 8px 24px -16px rgba(10, 26, 47, .25); }
.p2-nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.p2-brand { display: inline-flex; align-items: center; gap: 12px; }
.p2-brand img { width: 46px; height: auto; }
.p2-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.p2-brand__text strong { font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: var(--p2-ink); }
.p2-brand__text small { font-size: 11px; font-weight: 600; color: var(--p2-brand-600); letter-spacing: .04em; margin-top: 3px; }
.p2-menu { display: flex; align-items: center; gap: 6px; }
.p2-menu a.p2-link {
  padding: 10px 16px; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--p2-ink-2);
  transition: background .2s ease, color .2s ease;
}
.p2-menu a.p2-link:hover { background: var(--p2-bg-soft); color: var(--p2-ink); }
.p2-menu a.p2-link.nuxt-link-exact-active { color: var(--p2-brand-600); background: var(--p2-brand-100); }
.p2-nav__cta { display: flex; align-items: center; gap: 10px; }
.p2-burger {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--p2-line); background: #fff;
  align-items: center; justify-content: center; cursor: pointer; color: var(--p2-ink); font-size: 18px;
}
.p2-drawer-mask { display: none; }

@media (max-width: 900px) {
  /* backdrop-filter would turn the header into the containing block of the fixed drawer */
  .p2-header, .p2-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .p2-nav { height: 68px; }
  .p2-burger { display: inline-flex; }
  .p2-nav__cta .p2-btn { display: none; }
  .p2-menu {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 340px); flex-direction: column; align-items: stretch;
    gap: 6px; padding: 92px 20px 24px; background: #fff; box-shadow: var(--p2-shadow-lg);
    transform: translateX(105%); transition: transform .3s ease; z-index: 1002;
  }
  .p2-menu.is-open { transform: translateX(0); }
  .p2-menu a.p2-link { padding: 14px 16px; font-size: 17px; }
  .p2-menu .p2-menu__login { margin-top: 12px; }
  .p2-drawer-mask { position: fixed; inset: 0; background: rgba(7, 27, 45, .5); z-index: 1001; opacity: 0; pointer-events: none; transition: opacity .3s ease; display: block; }
  .p2-drawer-mask.is-open { opacity: 1; pointer-events: auto; }
  .p2-burger { position: relative; z-index: 1003; }
}
@media (min-width: 901px) { .p2-menu .p2-menu__login { display: none; } }

/* ==========================================================================
   HERO (home)
   ========================================================================== */
.p2-hero { position: relative; overflow: hidden; padding: 72px 0 96px; background: linear-gradient(180deg, #fff7f0 0%, #ffffff 70%); }
.p2-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(12, 64, 99, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(12, 64, 99, .05) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
}
.p2-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.p2-blob--a { width: 420px; height: 420px; background: #ffb066; top: -120px; right: -80px; }
.p2-blob--b { width: 320px; height: 320px; background: #ffe680; bottom: -120px; left: -80px; opacity: .5; }
.p2-hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.p2x .p2-hero h1 { font-size: clamp(36px, 5.4vw, 64px); margin: 20px 0 20px; letter-spacing: -.035em; }
.p2x .p2-hero__lead { font-size: 19px; max-width: 540px; margin-bottom: 32px; }
.p2-hero__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.p2-hero__tags span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--p2-ink-2); padding: 8px 14px; background: #fff; border: 1px solid var(--p2-line); border-radius: 999px; box-shadow: var(--p2-shadow-sm); }
.p2-hero__tags i { color: var(--p2-brand); }
.p2-hero__visual { position: relative; }
.p2-hero__card {
  position: relative; border-radius: 32px; padding: 28px; background: linear-gradient(160deg, #ffffff, #fff1e4);
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--p2-shadow-lg);
}
.p2-hero__card img { width: 100%; filter: drop-shadow(0 20px 30px rgba(12, 64, 99, .25)); animation: p2-float 6s ease-in-out infinite; }
.p2-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; background: #fff;
  border-radius: 16px; box-shadow: var(--p2-shadow); font-size: 13px; font-weight: 700; color: var(--p2-ink); animation: p2-float 7s ease-in-out infinite;
}
.p2-chip i { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--p2-brand-100); color: var(--p2-brand-600); font-size: 14px; }
.p2-chip--1 { top: 8%; left: -28px; animation-delay: .4s; }
.p2-chip--2 { top: 46%; right: -22px; animation-delay: 1.2s; }
.p2-chip--3 { bottom: 6%; left: 8%; animation-delay: 2s; }
@keyframes p2-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .p2-hero__card img, .p2-chip { animation: none; } }

@media (max-width: 960px) {
  .p2-hero { padding: 40px 0 64px; }
  .p2-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .p2-chip--1 { left: 4px; } .p2-chip--2 { right: 4px; }
  .p2-section { padding: 68px 0; }
}

/* ---------- service marquee ---------- */
.p2-strip { padding: 22px 0; border-block: 1px solid var(--p2-line); background: #fff; overflow: hidden; }
.p2-strip__track { display: flex; gap: 14px; width: max-content; animation: p2-marquee 38s linear infinite; }
.p2-strip:hover .p2-strip__track { animation-play-state: paused; }
.p2-strip__item { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: var(--p2-bg-soft); font-weight: 700; font-size: 14px; color: var(--p2-ink-2); }
.p2-strip__item i { color: var(--p2-brand); }
@keyframes p2-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .p2-strip__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* ---------- cards ---------- */
.p2-grid { display: grid; gap: 24px; }
.p2-grid--2 { grid-template-columns: repeat(2, 1fr); }
.p2-grid--3 { grid-template-columns: repeat(3, 1fr); }
.p2-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .p2-grid--4 { grid-template-columns: repeat(2, 1fr); } .p2-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .p2-grid--4, .p2-grid--3, .p2-grid--2 { grid-template-columns: 1fr; } }

.p2-card {
  position: relative; background: #fff; border: 1px solid var(--p2-line); border-radius: var(--p2-radius); padding: 30px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.p2-card:hover { transform: translateY(-6px); box-shadow: var(--p2-shadow); border-color: transparent; }
.p2x .p2-card h3, .p2x .p2-card h4 { font-size: 20px; margin: 20px 0 10px; }
.p2x .p2-card p { font-size: 15px; }
.p2-icon {
  width: 56px; height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--p2-grad); color: #fff; font-size: 22px; box-shadow: 0 12px 20px -10px rgba(255, 102, 0, .7);
}
.p2-icon--soft { background: var(--p2-brand-100); color: var(--p2-brand-600); box-shadow: none; }
.p2-icon--navy { background: var(--p2-grad-dark); box-shadow: 0 12px 20px -10px rgba(12, 64, 99, .7); }
.p2-card__num { position: absolute; top: 24px; right: 28px; font-size: 44px; font-weight: 800; color: var(--p2-bg-soft); letter-spacing: -.04em; line-height: 1; }
.p2-card--dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.p2x .p2-card--dark h3, .p2x .p2-card--dark h4 { color: #fff; }
.p2-card--dark:hover { background: rgba(255, 255, 255, .1); }

/* ---------- split blocks ---------- */
.p2-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.p2-split--reverse > :first-child { order: 2; }
.p2x .p2-split h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 16px 0 18px; }
.p2-split__media { position: relative; }
.p2-split__media::before {
  content: ""; position: absolute; inset: 8% 6%; border-radius: 40% 60% 55% 45%; background: var(--p2-grad); opacity: .12; transform: rotate(-6deg);
}
.p2-split__media img { position: relative; margin: 0 auto; max-height: 460px; width: auto; }
.p2-split__media--frame img { border-radius: 28px; box-shadow: var(--p2-shadow-lg); width: 100%; max-height: none; object-fit: cover; }
@media (max-width: 900px) { .p2-split { grid-template-columns: 1fr; gap: 36px; } .p2-split--reverse > :first-child { order: 0; } }

.p2-checks { display: grid; gap: 14px; margin: 26px 0 32px; }
.p2-checks li { display: flex; align-items: flex-start; gap: 14px; font-size: 16px; font-weight: 600; color: var(--p2-ink); }
.p2-checks li i {
  flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--p2-brand-100); color: var(--p2-brand-600); font-size: 11px; margin-top: 1px;
}
.p2-checks--cols { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .p2-checks--cols { grid-template-columns: 1fr; } }

/* ---------- service tabs (home) ---------- */
.p2-tabs { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: stretch; }
.p2-tabs__list { display: flex; flex-direction: column; gap: 8px; }
.p2-tab {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; padding: 14px 16px; border-radius: 16px;
  background: #fff; border: 1px solid var(--p2-line); cursor: pointer; font-weight: 700; font-size: 15px; color: var(--p2-ink-2); transition: all .2s ease;
}
.p2-tab i { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--p2-bg-soft); color: var(--p2-navy); flex: none; transition: all .2s ease; }
.p2-tab:hover { border-color: #ffc59c; }
.p2-tab.is-active { background: var(--p2-grad-dark); color: #fff; border-color: transparent; box-shadow: var(--p2-shadow); transform: translateX(4px); }
.p2-tab.is-active i { background: var(--p2-grad); color: #fff; }
.p2-panel {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; padding: 44px; border-radius: 28px;
  background: linear-gradient(160deg, #fff, #fff4ea); border: 1px solid var(--p2-line); box-shadow: var(--p2-shadow-sm); min-height: 420px;
}
.p2x .p2-panel h3 { font-size: clamp(22px, 2.6vw, 30px); margin: 22px 0 14px; }
.p2-panel__img img { max-height: 320px; width: auto; margin: 0 auto; }
@media (max-width: 960px) {
  .p2-tabs { grid-template-columns: 1fr; }
  .p2-tabs__list { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .p2-tabs__list::-webkit-scrollbar { display: none; }
  .p2-tab { width: auto; white-space: nowrap; flex: none; }
  .p2-tab.is-active { transform: none; }
  .p2-panel { grid-template-columns: 1fr; padding: 28px; min-height: 0; }
}

/* ---------- timeline / steps ---------- */
.p2-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: p2step; }
.p2-steps::before { content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, #ffb27a 0 8px, transparent 8px 16px); }
.p2-step { position: relative; text-align: center; padding: 0 8px; }
.p2-step__dot {
  position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--p2-brand-600); border: 2px solid var(--p2-brand); font-weight: 800; font-size: 18px; box-shadow: 0 0 0 8px var(--p2-bg-soft);
}
.p2x .p2-step h4 { font-size: 18px; margin-bottom: 8px; }
.p2x .p2-step p { font-size: 14.5px; }
@media (max-width: 860px) {
  .p2-steps { grid-template-columns: 1fr; gap: 0; }
  .p2-steps::before { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #ffb27a 0 8px, transparent 8px 16px); }
  .p2-step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; text-align: left; padding: 0 0 32px; }
  .p2-step__dot { margin: 0; }
}

/* ---------- feature tiles on dark ---------- */
.p2-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 102, 0, .35), transparent 65%); top: -200px; right: -160px; pointer-events: none; }
.p2-feature { display: flex; gap: 16px; align-items: flex-start; }
.p2-feature .p2-icon { flex: none; width: 48px; height: 48px; font-size: 18px; border-radius: 14px; }
.p2x .p2-feature h4 { font-size: 17px; margin: 0 0 4px; }
.p2x .p2-feature p { font-size: 14.5px; }

/* ---------- about card / quote ---------- */
.p2-quote {
  padding: 40px; border-radius: 28px; background: var(--p2-grad-dark); color: #fff; position: relative; overflow: hidden;
}
.p2-quote::after { content: "\201C"; position: absolute; right: 28px; top: -18px; font-size: 180px; font-weight: 800; color: rgba(255, 255, 255, .08); line-height: 1; }
.p2x .p2-quote h3 { color: #fff; font-size: clamp(22px, 3vw, 30px); margin-top: 14px; }
.p2x .p2-quote p { color: rgba(255, 255, 255, .75); margin-top: 14px; }
.p2-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -48px; position: relative; z-index: 2; }
.p2-fact { background: #fff; border-radius: 20px; padding: 24px; border: 1px solid var(--p2-line); box-shadow: var(--p2-shadow); text-align: center; }
.p2-fact strong { display: block; font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; background: var(--p2-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.p2-fact span { font-size: 13.5px; font-weight: 600; color: var(--p2-muted); }
@media (max-width: 860px) { .p2-facts { grid-template-columns: repeat(2, 1fr); } }

/* ---------- page hero (inner pages) ---------- */
.p2-pagehero { position: relative; overflow: hidden; padding: 72px 0 96px; background: var(--p2-grad-dark); color: #fff; }
.p2-pagehero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%); }
.p2-pagehero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.p2-pagehero--center .p2-pagehero__grid { grid-template-columns: 1fr; text-align: center; max-width: 760px; margin: 0 auto; }
.p2x .p2-pagehero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); margin: 18px 0; letter-spacing: -.035em; }
.p2x .p2-pagehero p { color: rgba(255, 255, 255, .78); font-size: 18px; max-width: 560px; }
.p2-pagehero--center p { margin: 0 auto; }
.p2-pagehero .p2-btn-row { margin-top: 30px; }
.p2-pagehero--center .p2-btn-row { justify-content: center; }
.p2-pagehero__img img { max-height: 340px; width: auto; margin: 0 auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35)); }
.p2-crumbs { display: inline-flex; gap: 8px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .6); }
.p2-crumbs a { color: rgba(255, 255, 255, .85); }
@media (max-width: 860px) { .p2-pagehero { padding: 48px 0 72px; } .p2-pagehero__grid { grid-template-columns: 1fr; text-align: center; } .p2x .p2-pagehero p { margin: 0 auto; } .p2-pagehero .p2-btn-row { justify-content: center; } }

/* ---------- tag list (services as pills) ---------- */
.p2-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.p2-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--p2-line); font-weight: 700; font-size: 14.5px; color: var(--p2-ink); box-shadow: var(--p2-shadow-sm); }
.p2-pill i { color: var(--p2-brand); }

/* ---------- FAQ ---------- */
.p2-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.p2-faq details { background: #fff; border: 1px solid var(--p2-line); border-radius: 18px; transition: box-shadow .2s ease, border-color .2s ease; }
.p2-faq details[open] { border-color: #ffc59c; box-shadow: var(--p2-shadow); }
.p2-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; font-weight: 700; font-size: 17px; color: var(--p2-ink); }
.p2-faq summary i { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--p2-bg-soft); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; color: var(--p2-brand-600); transition: transform .25s ease, background .25s ease; }
.p2-faq details[open] summary i { transform: rotate(45deg); background: var(--p2-brand-100); }
.p2-faq details p { padding: 0 24px 22px; font-size: 15.5px; }

/* ---------- CTA band ---------- */
.p2-cta { padding: 0 0 96px; }
.p2-cta__box {
  position: relative; overflow: hidden; border-radius: 32px; padding: 64px 40px; text-align: center; background: var(--p2-grad); color: #fff; box-shadow: 0 30px 60px -24px rgba(255, 102, 0, .6);
}
.p2-cta__box::before, .p2-cta__box::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.p2-cta__box::before { width: 320px; height: 320px; top: -140px; left: -80px; }
.p2-cta__box::after { width: 260px; height: 260px; bottom: -120px; right: -60px; }
.p2x .p2-cta__box h2 { position: relative; color: #fff; font-size: clamp(26px, 4vw, 40px); max-width: 640px; margin: 0 auto 14px; }
.p2x .p2-cta__box p { position: relative; color: rgba(255, 255, 255, .9); max-width: 540px; margin: 0 auto 30px; font-size: 17px; }
.p2-cta__box .p2-btn-row { position: relative; justify-content: center; }
@media (max-width: 640px) { .p2-cta__box { padding: 48px 22px; border-radius: 24px; } .p2-cta { padding-bottom: 64px; } }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.p2-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: -56px; position: relative; z-index: 2; }
.p2-info__item { display: flex; gap: 16px; align-items: flex-start; padding: 26px; background: #fff; border: 1px solid var(--p2-line); border-radius: 20px; box-shadow: var(--p2-shadow); }
.p2-info__item small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--p2-muted); margin-bottom: 4px; }
.p2-info__item a, .p2-info__item span.p2-info__val { font-size: 15.5px; font-weight: 700; color: var(--p2-ink); word-break: break-word; line-height: 1.5; display: block; }
.p2-info__item a:hover { color: var(--p2-brand-600); }
@media (max-width: 860px) { .p2-info { grid-template-columns: 1fr; margin-top: -40px; } }
.p2-contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.p2-formcard { background: #fff; border: 1px solid var(--p2-line); border-radius: 28px; padding: 40px; box-shadow: var(--p2-shadow); }
.p2x .p2-formcard h3 { font-size: 26px; margin-bottom: 6px; }
.p2-map { margin-top: 28px; border-radius: 24px; overflow: hidden; border: 1px solid var(--p2-line); box-shadow: var(--p2-shadow-sm); }
.p2-map iframe { display: block; width: 100%; height: 320px; }
@media (max-width: 960px) { .p2-contact { grid-template-columns: 1fr; gap: 32px; } .p2-formcard { padding: 26px 20px; border-radius: 22px; } }

/* Element UI skin (contact + login only) */
.p2-form .el-form-item { margin-bottom: 20px; }
.p2-form .el-form-item__label { font-family: var(--p2-font); font-weight: 700; font-size: 13.5px; color: var(--p2-ink); line-height: 1.4; padding-bottom: 8px; }
.p2-form .el-input__inner, .p2-form .el-textarea__inner {
  font-family: var(--p2-font); height: 50px; border-radius: 14px; border: 1.5px solid var(--p2-line); background: var(--p2-bg-soft); color: var(--p2-ink);
  font-size: 15px; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.p2-form .el-textarea__inner { height: auto; min-height: 130px !important; padding: 14px 15px; }
.p2-form .el-input__inner:hover, .p2-form .el-textarea__inner:hover { border-color: #ffc59c; }
.p2-form .el-input__inner:focus, .p2-form .el-textarea__inner:focus { border-color: var(--p2-brand); background: #fff; box-shadow: 0 0 0 4px rgba(255, 102, 0, .12); }
.p2-form .el-input--prefix .el-input__inner { padding-left: 44px; }
.p2-form .el-input__prefix { left: 6px; display: flex; align-items: center; color: var(--p2-muted); }
.p2-form .el-input__prefix i { margin: 0 !important; font-size: 15px; }
.p2-form .el-form-item__error { font-size: 12.5px; font-weight: 600; }
.p2-form .el-button--primary.p2-submit {
  width: 100%; height: 52px; border: 0; border-radius: 14px; background: var(--p2-grad); font-family: var(--p2-font); font-size: 16px; font-weight: 700;
  box-shadow: 0 12px 24px -10px rgba(255, 102, 0, .65); transition: transform .2s ease, box-shadow .2s ease;
}
.p2-form .el-button--primary.p2-submit:hover, .p2-form .el-button--primary.p2-submit:focus { background: var(--p2-grad); transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(255, 102, 0, .8); }

/* ==========================================================================
   LOGIN
   ========================================================================== */
.p2-login { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; background: #fff; font-family: var(--p2-font); }
.p2-login__aside {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 64px clamp(32px, 6vw, 88px);
  background: var(--p2-grad-dark); color: #fff;
}
.p2-login__aside::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 20% 80%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 20% 80%, #000, transparent 75%); }
.p2-login__aside > * { position: relative; }
.p2x .p2-login__aside h2 { color: #fff; font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -.035em; margin: 20px 0 14px; }
.p2x .p2-login__aside p { color: rgba(255, 255, 255, .78); font-size: 18px; max-width: 460px; }
.p2-login__ver { display: inline-block; margin-left: 10px; padding: 4px 12px; border-radius: 999px; background: var(--p2-grad); color: #fff; font-size: 14px; letter-spacing: 0; vertical-align: middle; }
.p2-login__points { display: grid; gap: 14px; margin-top: 36px; }
.p2-login__points li { display: flex; align-items: center; gap: 14px; color: #fff; font-weight: 600; font-size: 15.5px; }
.p2-login__points i { width: 40px; height: 40px; flex: none; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .1); color: #ffb27a; }
.p2-login__art { margin-top: 36px; max-width: 360px; opacity: .95; }
.p2-login__main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--p2-bg-soft); }
.p2-login__card { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--p2-line); border-radius: 28px; padding: 40px 36px; box-shadow: var(--p2-shadow-lg); }
.p2-login__logo { display: flex; justify-content: center; margin-bottom: 22px; }
.p2-login__logo img { max-width: 120px; height: auto; }
.p2x .p2-login__card h1 { font-size: 26px; text-align: center; }
.p2-login__sub { text-align: center; font-size: 14.5px !important; margin: 8px 0 28px !important; }
.p2-login__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 4px 0 20px; font-size: 14px; }
.p2-login__row a { color: var(--p2-brand-600); font-weight: 700; }
.p2-login__row label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; color: var(--p2-ink-2); cursor: pointer; }
.p2-login__row input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--p2-brand); margin: 0; }
.p2-login__back { display: block; text-align: center; margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--p2-muted); }
.p2-login__back:hover { color: var(--p2-brand-600); }
.p2-captcha { display: flex; align-items: stretch; gap: 10px; width: 100%; }
.p2-captcha .el-input { flex: 1; }
.p2-captcha__code {
  display: flex; align-items: center; justify-content: center; min-width: 120px; padding: 0 14px; border-radius: 14px; user-select: none; cursor: default;
  background: repeating-linear-gradient(135deg, #fff1e4 0 8px, #fff 8px 16px); border: 1.5px dashed #ffb27a; color: var(--p2-navy);
  font-weight: 800; font-size: 20px; letter-spacing: 5px;
}
.p2-captcha__refresh { flex: none; width: 50px; border-radius: 14px; border: 1.5px solid var(--p2-line); background: #fff; color: var(--p2-ink-2); cursor: pointer; transition: all .2s ease; display: flex; align-items: center; justify-content: center; }
.p2-captcha__refresh:hover { color: var(--p2-brand-600); border-color: var(--p2-brand); }
.p2-login .el-form-item.is-error .p2-captcha__code { border-color: #f56c6c; }
.p2-login #codeSnippet .el-dialog { width: min(92vw, 560px) !important; border-radius: 20px; overflow: hidden; }
@media (max-width: 900px) {
  .p2-login { grid-template-columns: 1fr; }
  .p2-login__aside { padding: 36px 24px 44px; }
  .p2-login__art { display: none; }
  .p2-login__main { padding: 0 16px 40px; margin-top: -24px; background: #fff; }
  .p2-login__card { padding: 30px 22px; box-shadow: var(--p2-shadow); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.p2-footer { background: var(--p2-navy-900); color: rgba(255, 255, 255, .72); padding: 72px 0 0; position: relative; overflow: hidden; }
.p2-footer::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 102, 0, .22), transparent 65%); top: -240px; left: -120px; pointer-events: none; }
.p2-footer__grid { position: relative; display: grid; grid-template-columns: 1.4fr .8fr 1.4fr .8fr; gap: 40px; }
.p2-footer.p2x h5 { color: #fff; font-size: 15px; letter-spacing: .02em; margin-bottom: 18px; font-weight: 700; }
.p2-footer.p2x p { color: rgba(255, 255, 255, .62); font-size: 14.5px; margin-top: 16px; max-width: 320px; }
.p2-footer__links { display: grid; gap: 12px; }
.p2-footer__links a { font-size: 14.5px; color: rgba(255, 255, 255, .72); transition: color .2s ease, transform .2s ease; display: inline-block; }
.p2-footer__links a:hover { color: #fff; transform: translateX(3px); }
.p2-footer__contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; margin-bottom: 14px; }
.p2-footer__contact i { flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #ffb27a; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.p2-footer__contact a { color: rgba(255, 255, 255, .8); }
.p2-footer__contact a:hover { color: #fff; }
.p2-social { display: flex; gap: 10px; margin-top: 22px; }
.p2-social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; transition: background .2s ease, transform .2s ease; }
.p2-social a:hover { background: var(--p2-brand); transform: translateY(-3px); }
.p2-footer__brand { display: inline-flex; align-items: center; gap: 12px; }
.p2-footer__brand img { width: 52px; }
.p2-footer__brand strong { color: #fff; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.p2-footer__bar { position: relative; margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; color: rgba(255, 255, 255, .55); }
.p2-footer__bar a { color: rgba(255, 255, 255, .75); }
@media (max-width: 960px) { .p2-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .p2-footer__grid { grid-template-columns: 1fr; gap: 32px; } .p2-footer__bar { flex-direction: column; text-align: center; } }
