/* v3.7 — new Fidekeen screen assets, responsive device compositions and warmer accents.
   Existing type, page structure, content, contact behaviour and language routes retained. */
:root {
  --accent-solid:#f2693e;
  --accent:linear-gradient(110deg,#f26464 2%,#ff713b 63%,#ff982a 100%);
}
.pillar__icon { background:#f5f0eb; }
.pillar:nth-child(2) .pillar__icon { background:#fff0e5; color:#a73d20; }
.service-card--ai { background:#f5f3f0; }
.highlight-card--product { background:linear-gradient(120deg,#151b1d,#1c2326 70%,#282d2d); }
.fidekeen-case { background:linear-gradient(120deg,#171c1d,#242827); }
.case-hero { background:radial-gradient(ellipse at 88% 48%,#5637273b,transparent 47%),#191f21; }
.case-tags span { border-color:#49504f; }
.software-art__module { background:linear-gradient(135deg,#333a39,#202828); border-color:#535c58; }
.software-art__grid { background-image:linear-gradient(#626e66 1px,transparent 1px),linear-gradient(90deg,#626e66 1px,transparent 1px); }
.case-ai { background:#f5f4f1; }
.product-stage { position:relative; width:100%; aspect-ratio:1.43; isolation:isolate; }
.product-stage::before { content:""; position:absolute; z-index:-2; inset:1% -4% -4%; background:radial-gradient(ellipse at 61% 48%,#ff8b4026,transparent 65%); pointer-events:none; }
.product-stage::after { content:""; position:absolute; z-index:-1; left:11%; right:4%; bottom:0; height:14%; background:radial-gradient(ellipse,#31262127,transparent 70%); filter:blur(12px); pointer-events:none; }
.screen-device { display:block; position:absolute; margin:0; padding:0; color:inherit; font:inherit; cursor:zoom-in; background:#1d2223; border:6px solid #232a2c; box-shadow:0 18px 42px -16px #0b101a55,0 0 0 1px #8c9490; transform-origin:center; transition:transform .22s ease,box-shadow .22s ease; }
.screen-device img { display:block; width:100%; height:auto; object-fit:contain; mask-image:none; }
.screen-device--desktop { width:84%; top:18%; right:0; border-radius:14px 14px 5px 5px; z-index:1; }
.screen-device--desktop>img { border-radius:7px 7px 0 0; }
.screen-device--desktop::after { content:""; position:absolute; left:-5.5%; width:111%; height:12px; bottom:-17px; border-radius:2px 2px 50% 50% / 2px 2px 100% 100%; background:linear-gradient(#c8cdcc,#8c9594 45%,#b2b7b4 65%,#656d6c); box-shadow:0 12px 15px -5px #151c222a; }
.screen-device--phone { width:26%; top:1%; left:2%; border-radius:27px; z-index:2; overflow:hidden; transform:rotate(-6deg); }
.screen-device--phone>img { border-radius:20px; }
.screen-device--phone:hover { transform:rotate(-3deg) translateY(-4px); }
.screen-device--desktop:hover { transform:translateY(-4px); }
.screen-zoom-hint { position:absolute; right:10px; bottom:10px; padding:7px 11px; border-radius:99px; font-size:9px; font-weight:500; line-height:1.4; color:white; background:#192222ed; box-shadow:0 3px 13px #0002; opacity:0; transform:translateY(3px); transition:opacity .16s,transform .16s; pointer-events:none; }
button:hover>.screen-zoom-hint,button:focus-visible>.screen-zoom-hint { opacity:1; transform:none; }
.screen-device--phone .screen-zoom-hint { left:50%; right:auto; transform:translate(-50%,3px); white-space:nowrap; }
.screen-device--phone:hover .screen-zoom-hint,.screen-device--phone:focus-visible .screen-zoom-hint { transform:translate(-50%,0); }
.product-scene--v37 { top:17px; right:12px; width:min(700px,53vw); height:562px; display:flex; flex-direction:column; justify-content:center; padding-bottom:28px; }
.product-scene--v37 .scene-signature { left:17%; bottom:0; background:#202627; }
.product-scene--v37 .scene-caption { bottom:-20px; right:2%; }
.product-stage--hero { margin-top:12px; }
.pillars__inner { padding-top:44px; padding-bottom:64px; }
.fidekeen-case__visual--v37 { display:flex; flex-direction:column; justify-content:center; padding:32px 20px 30px 0; margin:0; background:none; min-height:0; }
.fidekeen-case__visual--v37 .product-stage { aspect-ratio:1.22; }
.product-stage--proof::before { background:radial-gradient(ellipse,#fc804638,transparent 68%); }
.product-stage--proof .screen-device--desktop { width:84%; top:13%; }
.product-stage--proof .screen-device--phone { width:30%; top:24%; left:4%; transform:rotate(-6deg); }
.fidekeen-case__visual--v37>p { position:static; margin:10px 10px 0; font-size:10px; line-height:1.6; color:#c0cac6; text-align:center; }
.service-product-scene--v37 { display:block; min-width:0; min-height:0; width:100%; margin:0; background:none; }
.service-product-scene--v37 .product-stage { aspect-ratio:1.2; }
.product-stage--software .screen-device--desktop { width:91%; top:6%; right:0; }
.product-stage--software .screen-device--phone { width:30%; top:22%; left:0; transform:rotate(-5deg); }
.service-product-scene--v37>figcaption { font-size:11px; line-height:1.8; color:#677486; text-align:center; margin:14px 10px 0; }
.service-product-scene--v37 .screen-zoom-hint { color:#fff; font-size:9px; }
.case-hero__composition { width:100%; }
.product-stage--ecosystem { aspect-ratio:1.02; }
.product-stage--ecosystem::before { background:radial-gradient(ellipse,#ff8b4036,transparent 68%); }
.product-stage--ecosystem .screen-device--desktop { width:90%; top:3%; right:0; }
.product-stage--ecosystem .screen-device--phone { width:34%; top:23%; left:1%; transform:rotate(-7deg); }
.product-stage--ecosystem .screen-device--secondary { width:29%; top:39%; left:auto; right:7%; z-index:3; transform:rotate(7deg); }
.case-hero__composition>figcaption { color:#bdc7c2; }
.screen-device--standalone { position:relative; overflow:hidden; border-radius:32px; }
.screen-device--standalone>img { border-radius:25px; }
.case-ai__ask-button { width:276px; border:7px solid #252b2c; transform:rotate(3deg); }
.case-ai__ask-button:hover { transform:rotate(1deg) translateY(-4px); }
.case-ai__ask-media { position:relative; isolation:isolate; }
.case-ai__ask-media::before { content:""; position:absolute; inset:8% -5% 12%; z-index:-1; background:radial-gradient(ellipse,#ff8b4022,transparent 68%); }
.case-ai__merchant-media>button { border-color:#d8d8d3; }
.gallery-grid--v37 { grid-template-columns:repeat(3,minmax(0,1fr)); max-width:1040px; gap:52px 62px; }
.gallery-grid--v37>figure { grid-column:auto; min-width:0; }
.gallery-grid--v37 button { border:5px solid #242b2c; border-radius:29px; background:#242b2c; box-shadow:0 20px 45px -23px #15212165; }
.gallery-grid--v37 button>img { display:block; border-radius:23px; }
.gallery-grid--v37 button>.screen-zoom-hint { padding:8px 12px; opacity:1; transform:none; font-size:10px; background:#192222ed; }
.partner-gallery>button { border:7px solid #252b2c; border-radius:18px; box-shadow:0 24px 50px -30px #17202166; }
.partner-gallery>button>img { border-radius:10px; }
.partner-gallery>button>.screen-zoom-hint,.case-ai__merchant-media>button>.screen-zoom-hint { opacity:1; transform:none; }
@media(max-width:1250px) and (min-width:981px) {
 .hero__content { max-width:45%; }
 .product-scene--v37 { width:50vw; height:514px; top:3px; right:5px; }
 .product-scene--v37 .scene-signature { bottom:10px; }
 .product-scene--v37 .scene-caption { bottom:-10px; }
 .fidekeen-case__visual--v37 { padding-right:18px; }
 .screen-device--phone { border-width:5px; border-radius:24px; }
 .screen-device--phone>img { border-radius:18px; }
}
@media(max-width:980px) {
 .product-scene--v37 { position:relative; top:auto; right:auto; height:auto; display:block; width:100%; max-width:740px; margin:24px auto 0; padding-bottom:65px; }
 .product-scene--v37 .scene-signature { bottom:26px; left:17%; }
 .product-scene--v37 .scene-caption { bottom:0; right:4%; }
 .pillars__inner { padding-top:36px; padding-bottom:56px; }
 .fidekeen-case__visual--v37 { padding:30px 18px 30px 0; height:auto; }
 .fidekeen-case__visual--v37 .product-stage { aspect-ratio:1.12; }
 .fidekeen-case__visual--v37>p { font-size:9px; }
 .service-hero--software .service-hero__inner { grid-template-columns:1fr; gap:30px; }
 .service-product-scene--v37 { max-width:680px; margin:auto; }
 .service-product-scene--v37 .product-stage { aspect-ratio:1.32; }
 .case-hero__composition { max-width:640px; }
 .gallery-grid--v37 { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:660px; gap:44px 48px; }
}
@media(max-width:620px) {
 .product-scene--v37 { width:100%; max-width:420px; margin:28px auto 0; padding-bottom:55px; }
 .product-stage--hero { aspect-ratio:.83; margin:0; }
 .product-stage--hero .screen-device--desktop { width:89%; top:3%; right:0; }
 .product-stage--hero .screen-device--phone { width:43%; top:20%; left:0; transform:rotate(-5deg); }
 .product-scene--v37 .scene-signature { left:8%; bottom:23px; }
 .product-scene--v37 .scene-caption { bottom:0; right:4%; font-size:8px; }
 .screen-device--desktop { border-width:4px; border-radius:9px 9px 4px 4px; }
 .screen-device--desktop>img { border-radius:5px 5px 0 0; }
 .screen-device--desktop::after { height:8px; bottom:-12px; }
 .screen-device--phone { border-width:4px; border-radius:21px; }
 .screen-device--phone>img { border-radius:16px; }
 .screen-zoom-hint { display:none; }
 .pillars__inner { padding-top:26px; padding-bottom:46px; }
 .fidekeen-case__visual--v37 { width:100%; max-width:440px; margin:0 auto; padding:14px 16px 28px; height:auto; }
 .fidekeen-case__visual--v37 .product-stage { aspect-ratio:1.02; }
 .product-stage--proof .screen-device--desktop { width:92%; top:3%; }
 .product-stage--proof .screen-device--phone { width:37%; top:17%; left:1%; }
 .fidekeen-case__visual--v37>p { font-size:9px; margin:0 4px; }
 .service-hero--software .service-hero__inner { gap:35px; }
 .service-product-scene--v37 .product-stage { aspect-ratio:1.02; }
 .product-stage--software .screen-device--desktop { width:94%; top:2%; }
 .product-stage--software .screen-device--phone { width:38%; top:16%; left:0; }
 .service-product-scene--v37>figcaption { font-size:10px; margin:2px 10px 0; }
 .product-stage--ecosystem { aspect-ratio:.98; }
 .product-stage--ecosystem .screen-device--desktop { width:94%; top:2%; }
 .product-stage--ecosystem .screen-device--phone { width:36%; top:21%; left:0; }
 .product-stage--ecosystem .screen-device--secondary { width:30%; top:36%; left:auto; right:4%; }
 .case-hero__composition>figcaption { font-size:9px; margin-top:3px; }
 .case-ai__ask-button { width:244px; border-width:6px; border-radius:28px; }
 .case-ai__ask-button>img { border-radius:22px; }
 .gallery-grid--v37 { grid-template-columns:1fr; max-width:268px; gap:38px; }
 .gallery-grid--v37 button { border-radius:26px; }
 .gallery-grid--v37 button>img { border-radius:20px; }
 .gallery-grid--v37 button>.screen-zoom-hint,.partner-gallery>button>.screen-zoom-hint,.case-ai__merchant-media>button>.screen-zoom-hint { display:block; }
 .partner-gallery>button { border-width:4px; border-radius:10px; }
 .partner-gallery>button>img { border-radius:6px; }
}
@media(prefers-reduced-motion:reduce) {
 .screen-device,.screen-zoom-hint { transition:none; }
}
