/* Enterprise homepage: the homepage v2 components (home-v2.css) plus the few pieces this
   page needs on top: service cards with descriptions, the blue band, why cards without the
   mock panels, reviews and the consultation pop-up. */

.en-lead-2 { margin-top: 14px !important; }

/* "More than day-to-day accounting": minimal, heading over a hairline, three text columns */
.en-intro .hv-h2 { max-width: 760px; }
.en-intro-cols { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 44px; border-top: 1px solid var(--line); }
.en-intro-cols p { position: relative; padding: 36px 36px 0; font-size: 17px; line-height: 1.75; color: var(--body); }
.en-intro-cols p:first-child { padding-left: 0; color: var(--ink); font-weight: 500; }
.en-intro-cols p:last-child { padding-right: 0; }
.en-intro-cols p + p { border-left: 1px solid var(--line); }
.en-intro-cols p::before { content: ""; position: absolute; top: -1px; left: 36px; width: 40px; height: 2px; background: var(--brand); }
.en-intro-cols p:first-child::before { left: 0; }
@media (max-width: 900px) {
  .en-intro-cols { grid-template-columns: 1fr; }
  .en-intro-cols p, .en-intro-cols p:first-child, .en-intro-cols p:last-child { padding: 28px 0; }
  .en-intro-cols p + p { border-left: 0; border-top: 1px solid var(--line); }
  .en-intro-cols p::before, .en-intro-cols p:first-child::before { left: 0; }
}

/* service cards */
.en-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 72px; }
.en-svc { padding: 28px 26px 30px; transition: transform .3s cubic-bezier(.22, .8, .24, 1), box-shadow .3s ease; }
.en-svc:hover { transform: translateY(-6px); box-shadow: 0 30px 46px -32px rgba(15, 40, 110, .45); }
.en-svc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.en-svc-ic { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 15px; background: #fff; color: var(--brand); }
.en-svc-ic svg { width: 24px; height: 24px; }
.en-svc-go { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .7); color: var(--ink); transition: background-color .25s ease, color .25s ease, transform .3s cubic-bezier(.22, .8, .24, 1); }
.en-svc-go svg { width: 16px; height: 16px; }
.en-svc:hover .en-svc-go { background: var(--brand); color: #fff; transform: rotate(45deg); }
.en-svc h3 { font-size: 20px; }
.en-svc > p { margin-top: 10px; font-size: 15px; line-height: 1.6; }

.en-support ul { display: grid; grid-template-columns: 1fr; }
.en-support { width: 320px; }

/* blue band */
.en-band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 6vw, 72px); border-radius: 36px; text-align: center; color: rgba(255, 255, 255, .85);
  background: linear-gradient(150deg, #587edb 0%, #1445c2 60%, #0f379e 100%); }
.en-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 20%, transparent 80%); mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 20%, transparent 80%); }
.en-band .hv-h2 { max-width: 860px; margin: 0 auto; color: #fff; }
.en-band p { max-width: 860px; margin: 22px auto 0; font-size: 17.5px; line-height: 1.75; }

/* why cards (no mock panels) */
.en-why { padding: 36px 36px 38px; }
.en-why-ic { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin-bottom: 26px; border-radius: 16px; background: #fff; color: var(--brand); }
.en-why-ic svg { width: 26px; height: 26px; }
.en-why > p { margin-top: 12px; }

.en-ind-lead { margin-top: 16px; max-width: 720px; }

/* reviews */
.en-reviews { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(320px, 1fr); gap: 20px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.en-review { display: flex; flex-direction: column; justify-content: space-between; gap: 26px; margin: 0; padding: 30px; border-radius: 28px; background: var(--p-blue); scroll-snap-align: start; }
.en-review--sky { background: var(--p-sky); }
.en-review--lav { background: var(--p-lav); }
.en-review--mint { background: var(--p-mint); }
.en-review blockquote { margin: 0; font-size: 16px; line-height: 1.7; color: var(--ink); }
.en-review figcaption { display: flex; align-items: center; gap: 12px; }
.en-review img { width: 44px; height: 44px; border-radius: 12px; object-fit: contain; background: #fff; }
.en-review figcaption span { display: grid; line-height: 1.3; }
.en-review strong { font-size: 15px; }
.en-review small { font-size: 13px; color: var(--muted); }

/* pop-up */
.en-pp-head { position: relative; margin-bottom: 20px; }
.en-pp-head h2 { margin: 0; }
.en-pp-head .close-btn { position: absolute; right: -8px; top: -8px; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--alt); font-size: 24px; line-height: 1; color: var(--ink); }
.en-pp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.en-consent { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--alt); }
.en-consent input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); }
.en-consent span { font-size: 12.5px; line-height: 1.6; color: var(--body); }
.en-consent a { color: var(--brand); text-decoration: underline; }

@media (max-width: 1100px) {
  .en-services { grid-template-columns: 1fr 1fr; margin-top: 48px; }
}
@media (max-width: 720px) {
  .en-services { grid-template-columns: 1fr; }
  .en-support { width: auto; }
  .en-reviews { grid-auto-columns: 85%; }
  .en-pp-row { grid-template-columns: 1fr; }
}
