/* ------------------------------------------------------------------
   Service and option pages in the Finovate structure: photo-led hero,
   stat cards, a dark band of photo cards, product scene, examples,
   dashboard and a photo call-to-action. Short copy, big visuals.
   (loaded after offers.css)
   ------------------------------------------------------------------ */

/* Hero visual: a large photo with floating product cards */
.vis { position: relative; height: 560px; }
.vis__photo { position: absolute; inset: 0 0 0 40px; overflow: hidden; border-radius: var(--r-xl); box-shadow: 0 30px 70px rgb(0 0 0 / .35); }
.vis__photo img { width: 100%; height: 100%; object-fit: cover; }
.vis__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 45%, rgb(5 25 20 / .45)); }
.vis__card { position: absolute; z-index: 2; padding: 14px 16px; border-radius: 18px; background: var(--cream); color: var(--body); box-shadow: 0 24px 50px rgb(0 0 0 / .3); font-size: 13px; }
.vis__card--chat { left: 0; bottom: 48px; width: 280px; display: grid; gap: 8px; }
.vis__card--chat .b { padding: 8px 11px; border-radius: 12px 12px 12px 3px; background: #fff; box-shadow: 0 0 0 1px var(--line); line-height: 1.4; }
.vis__card--chat .b.me { justify-self: end; border-radius: 12px 12px 3px 12px; background: #DCF3BC; box-shadow: none; }
.vis__card--chat small { font-size: 10.5px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: var(--evergreen); }
.vis__card--stat { right: 24px; top: 28px; display: flex; align-items: center; gap: 12px; }
.vis__card--stat .tile { width: 40px; height: 40px; border-radius: 12px; }
.vis__card--stat b { display: block; font-size: 15px; color: var(--heading); }
.vis__card--stat span { font-size: 12px; color: var(--muted); }

/* Stat cards under the hero (Finovate's figures row) */
.statrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.statrow > div { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--r-lg); background: var(--panel); }
.statrow .tile { width: 44px; height: 44px; }
.statrow b { font-size: 26px; font-weight: 500; letter-spacing: -0.4px; color: var(--heading); }
.statrow span { font-size: 14px; line-height: 1.45; color: var(--muted); }

/* Dark band with photo cards (Finovate services band) */
.pband { padding: 90px 0 100px; background: var(--coach); }
.pband .section-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; margin-bottom: 44px; }
.pband .section-head > div { display: grid; gap: 18px; }
.pband .h2 { color: var(--on-dark); max-width: 760px; }
.pband .lead { color: var(--on-dark-soft); }
.shape-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.shape-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shape-card { position: relative; display: flex; flex-direction: column; min-height: 400px; overflow: hidden; border-radius: var(--r-xl); background: var(--lettuce); color: var(--coach); transition: transform .3s ease; }
.shape-card:hover { transform: translateY(-4px); }
.shape-card__img { position: relative; height: 250px; margin: 0; }
.shape-card__img::before { content: ""; position: absolute; inset: -14px; background: color-mix(in srgb, #fff 26%, var(--lettuce)); }
.shape-card__img img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.shape-card__img, .shape-card__img::before { clip-path: var(--shape); }
.shape--circle { --shape: circle(62% at 30% 24%); }
.shape--hex { --shape: polygon(18% 0, 82% 0, 100% 50%, 82% 100%, 18% 100%, 0 50%); }
.shape--diamond { --shape: polygon(50% 0, 100% 48%, 50% 100%, 0 48%); }
.shape--arch { --shape: inset(0 12% 0 12% round 220px 220px 0 0); }
.shape-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: auto; padding: 22px 24px 24px; }
.shape-card__foot b { display: block; font-size: 20px; font-weight: 500; line-height: 1.25; letter-spacing: -0.2px; }
.shape-card__foot small { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.4; color: color-mix(in srgb, var(--coach) 72%, transparent); }
.shape-card .circle { flex: none; background: var(--cream); }
.inc-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.inc-row a { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; padding: 16px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--cream) 8%, transparent); border: 1px solid color-mix(in srgb, var(--cream) 16%, transparent); color: var(--on-dark); transition: background-color .2s ease; }
.inc-row a:hover { background: color-mix(in srgb, var(--cream) 14%, transparent); }
.inc-row .tile { width: 40px; height: 40px; }
.inc-row b { font-size: 14.5px; font-weight: 500; }
.inc-label { display: block; margin-top: 36px; font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--lettuce); }

/* Page sections */
.pg { padding: 96px 0; }
.pg .section-head { margin-bottom: 44px; }
.pg-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.pg-split .stage { min-height: 520px; box-shadow: 0 24px 60px rgb(5 25 20 / .14); }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.points li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.points b { display: block; font-size: 18px; font-weight: 500; color: var(--heading); }
.points span { font-size: 15px; line-height: 1.5; color: var(--muted); }
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s3; }
.steps3 li { list-style: none; display: grid; gap: 10px; align-content: start; padding: 28px; border-radius: var(--r-xl); background: var(--panel); counter-increment: s3; }
.steps3 li::before { content: "0" counter(s3); font-size: 44px; font-weight: 400; line-height: 1; letter-spacing: -1px; color: var(--evergreen); }
.steps3 b { font-size: 19px; font-weight: 500; color: var(--heading); }
.steps3 span { font-size: 15px; line-height: 1.5; color: var(--muted); }
.note-line { display: flex; gap: 10px; align-items: flex-start; margin-top: 24px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.note-line svg { flex: none; width: 18px; height: 18px; color: var(--evergreen); }
.chips-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chips-row span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 100px; background: var(--panel); font-size: 14.5px; font-weight: 500; color: var(--heading); }
.chips-row svg { width: 16px; height: 16px; padding: 3px; border-radius: 50%; background: var(--lettuce); color: var(--coach); }

/* Two services as big photo cards (/services/) */
.svc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.svc-card { position: relative; display: block; min-height: 520px; overflow: hidden; border-radius: var(--r-xl); color: var(--on-dark); }
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc-card:hover img { transform: scale(1.04); }
.svc-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(5 25 20 / .88), rgb(5 25 20 / .15) 60%); }
.svc-card__body { position: absolute; z-index: 1; inset: auto 32px 32px 32px; display: grid; gap: 12px; }
.svc-card__body small { font-size: 13px; font-weight: 600; color: var(--lettuce); }
.svc-card__body b { font-size: 32px; font-weight: 500; line-height: 1.15; letter-spacing: -0.4px; }
.svc-card__body p { max-width: 460px; font-size: 15.5px; line-height: 1.5; color: color-mix(in srgb, var(--cream) 82%, transparent); }
.svc-card__body .circle { position: absolute; right: 0; bottom: 0; }

/* Photo call-to-action band (Finovate's closing banner) */
.cta-photo { position: relative; overflow: hidden; min-height: 460px; display: grid; align-items: end; border-radius: var(--r-xl); color: var(--on-dark); }
.cta-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(5 25 20 / .92), rgb(5 25 20 / .55) 55%, rgb(5 25 20 / .2)); }
.cta-photo__body { position: relative; z-index: 1; display: grid; gap: 22px; max-width: 640px; padding: 56px; }
.cta-photo__body .h2 { color: var(--on-dark); }
.cta-photo__body p { font-size: 16px; line-height: 1.55; color: color-mix(in srgb, var(--cream) 82%, transparent); }
.cta-photo__btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn--wa { gap: 10px; background: var(--cream); color: var(--coach); }
.btn--wa svg { width: 18px; height: 18px; }

@media (max-width: 1100px) {
  .statrow, .shape-cards--4, .inc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shape-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .vis { height: 460px; }
}
@media (max-width: 760px) {
  .svc-cards, .steps3 { grid-template-columns: minmax(0, 1fr); }
  .pband .section-head { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .pg { padding: 64px 0; }
  .pband { padding: 64px 0 70px; }
  .statrow, .inc-row { grid-template-columns: minmax(0, 1fr); }
  /* Option cards two per row: same photo, name and line, half the scrolling */
  .shape-cards, .shape-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .shape-card { min-height: 0; border-radius: 22px; }
  .shape-card__img { height: 118px; }
  .sub-body > .pband { margin-inline: -10px; }
  .shape-card__foot { padding: 12px 12px 16px; }
  .shape-card__foot b { font-size: 15px; hyphens: auto; }
  .shape-card__foot small { font-size: 12.5px; }
  .shape-card .circle { display: none; }
  .vis { height: 380px; }
  .vis__photo { inset: 0; }
  .vis__card--chat { left: 12px; bottom: 16px; width: 230px; font-size: 12px; }
  .vis__card--stat { right: 12px; top: 12px; }
  .svc-card { min-height: 420px; }
  .svc-card__body b { font-size: 26px; }
  .cta-photo__body { padding: 32px 22px; }
  .pg-split .stage { min-height: 0; }
}

/* ------------------------------------------------------------------
   Homepage photo slots
   ------------------------------------------------------------------ */
.pcard__photo { overflow: hidden; border-radius: var(--r-lg); }
.pcard__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.glass--photo { padding: 14px 14px 26px; gap: 10px; min-height: 0; }
.glass--photo .pcard__photo { height: 190px; margin-bottom: 8px; }
.glass--photo .h5, .glass--photo p { padding-inline: 12px; }
.glass--photo:hover .pcard__photo img, .example:hover .pcard__photo img { transform: scale(1.04); }
.example .pcard__photo { height: 190px; margin: -12px -12px 20px; }
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 48px; align-items: end; margin-bottom: 48px; }
.split-head .section-head { margin-bottom: 0; }
.split-photo { height: 320px; overflow: hidden; border-radius: var(--r-xl); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.causes-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; align-items: stretch; }
.causes-wrap .causes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.causes-photo { position: sticky; top: 24px; min-height: 520px; overflow: hidden; border-radius: var(--r-xl); }
.causes-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.faq__photo { height: 260px; overflow: hidden; border-radius: var(--r-xl); }
.faq__photo img { width: 100%; height: 100%; object-fit: cover; }
.offer-card__photo { height: 220px; margin: -14px -14px 0; overflow: hidden; border-radius: calc(var(--r-xl) - 8px); }
.offer-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.offer-card:hover .offer-card__photo img { transform: scale(1.04); }
.ind-card--photo { padding: 10px 10px 18px; }
.ind-card__photo { display: block; height: 130px; margin-bottom: 6px; overflow: hidden; border-radius: calc(var(--r-lg) - 4px); }
.ind-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ind-card--photo:hover .ind-card__photo img { transform: scale(1.05); }
.ind-card--photo .ind-ico, .ind-card--photo .grp, .ind-card--photo b, .ind-card--photo .fin { margin-inline: 10px; }
.ind-card--photo .ind-ico { position: absolute; top: 102px; inset-inline-start: 10px; box-shadow: 0 6px 16px rgb(5 25 20 / .18); background: var(--lettuce); }
.ind-card--photo .circle { top: 20px; inset-inline-end: 20px; background: var(--cream); }

@media (max-width: 1100px) {
  .split-head, .causes-wrap { grid-template-columns: minmax(0, 1fr); }
  .causes-photo { position: relative; min-height: 300px; }
}
@media (max-width: 640px) {
  .causes-wrap .causes { grid-template-columns: minmax(0, 1fr); }
  .split-photo { height: 220px; }
  .faq__photo { height: 200px; }
}
