/* ═══════════════════════════════════════════════════════════════
   pr-redesign.css — «Τι κάνουμε» στη σελίδα 3D Print (2026-09)
   Φορτώνεται μετά το style.css. Για επαναφορά: αφαιρέστε το <link>.
═══════════════════════════════════════════════════════════════ */
.pro {
  background:
    linear-gradient(rgba(120,170,255,.045) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(120,170,255,.045) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(ellipse 70% 60% at 50% 25%, rgba(37,99,235,.16), transparent 70%),
    #0b1b38;
  padding: 96px 56px 104px; border-top: 0;
}
.pro .wd-offerings-inner { max-width: 1240px; }
.pro-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 48px; }
.pro .wd-offerings-label { margin-bottom: 18px; letter-spacing: 4px; color: #6fa8ff; }
.pro .wd-offerings-label::after { background: rgba(140,180,255,.18); }
.pro-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 4vw, 54px); line-height: 1.02; color: #fff; margin: 0; }
.pro-lead { margin: 0; color: rgba(220,232,255,.66); font-size: 16px; line-height: 1.7; }

.pro .wd-offerings-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pro .wd-offer-card { --acc: #4f9dff; position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; overflow: hidden;
  background: rgba(8,18,40,.78); border: 1px solid rgba(140,180,255,.16); border-top: 1px solid rgba(140,180,255,.16); border-radius: 6px;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), border-color .45s, box-shadow .45s; }
.pro .wd-offer-card::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--acc); transform: scaleX(.16); transform-origin: left; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.pro .wd-offer-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--acc) 55%, transparent);
  box-shadow: 0 24px 50px rgba(0,0,0,.4), 0 0 40px color-mix(in srgb, var(--acc) 14%, transparent); }
.pro .wd-offer-card:hover::after { transform: scaleX(1); }

/* Κωδικός διαδικασίας σαν σήμανση σε σχέδιο */
.pro-code { position: absolute; right: 18px; top: 20px; font: 600 38px/1 var(--font-display); letter-spacing: 1px;
  color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--acc) 45%, transparent); opacity: .9; transition: -webkit-text-stroke-color .45s; }
.pro .wd-offer-card:hover .pro-code { -webkit-text-stroke-color: var(--acc); }

/* Εικονίδιο μέσα σε δακτύλιο διάστασης */
.pro-ring { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--acc) 40%, transparent); background: color-mix(in srgb, var(--acc) 10%, transparent); color: var(--acc); }
.pro-ring::before { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--acc) 35%, transparent); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.pro .wd-offer-card:hover .pro-ring::before { transform: rotate(120deg); }
.pro .pr-offer-icon { width: 28px; height: 28px; color: var(--acc); margin: 0; }

.pro .wd-offer-num { color: var(--acc); }
.pro .wd-offer-name { color: #fff; font-size: 23px; line-height: 1.12; margin: 0 0 10px; }
.pro .wd-offer-text { color: rgba(220,232,255,.64); font-size: 14px; line-height: 1.65; margin: 0 0 18px; text-align: left; }
.pro-spec { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(140,180,255,.12); }
.pro-spec-l { display: block; margin-bottom: 9px; font: 500 9px/1 var(--font-mono); letter-spacing: 2.5px; text-transform: uppercase; color: rgba(160,190,240,.55); }
.pro-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pro-chips li { font: 400 10.5px/1 var(--font-mono); color: #d7e5ff; padding: 5px 8px; border: 1px solid color-mix(in srgb, var(--acc) 35%, transparent);
  background: color-mix(in srgb, var(--acc) 8%, transparent); border-radius: 2px; }

@media (max-width: 1100px) {
  .pro .wd-offerings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .pro-head { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 640px) {
  section.pro.pr-offerings { padding: 60px 16px 68px !important; }
  section.pro.pr-offerings .wd-offerings-grid { grid-template-columns: 1fr !important; gap: 14px; }
  section.pro.pr-offerings .wd-offer-card { padding: 24px 20px 20px; }
  section.pro.pr-offerings .wd-offer-name { font-size: 22px; }
  section.pro.pr-offerings .wd-offer-text { font-size: 14.5px; line-height: 1.6; }
  section.pro.pr-offerings .pr-offer-icon { width: 26px; height: 26px; }
  .pro .wd-offer-text { text-align: left; }
  .pro-code { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .pro *, .pro .wd-offer-card { transition: none !important; } }

/* Κινητό: δύο κάρτες ανά σειρά, σύντομο κείμενο */
.pro-short { display: none; }
@media (max-width: 640px) {
  section.pro.pr-offerings .wd-offerings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
  section.pro.pr-offerings .wd-offer-card { padding: 16px 13px 14px; }
  section.pro.pr-offerings .wd-offer-text { display: none; }
  section.pro.pr-offerings .pro-short { display: block; margin: 0 0 12px; color: rgba(220,232,255,.66); font-size: 12.5px; line-height: 1.5; text-align: left; }
  section.pro.pr-offerings .wd-offer-name { font-size: 16px; line-height: 1.15; margin-bottom: 6px; }
  section.pro.pr-offerings .pro-ring { width: 42px; height: 42px; margin-bottom: 14px; }
  section.pro.pr-offerings .pro-ring::before { inset: -5px; }
  section.pro.pr-offerings .pr-offer-icon { width: 20px; height: 20px; }
  section.pro.pr-offerings .pro-code { font-size: 20px; right: 10px; top: 14px; }
  section.pro.pr-offerings .pro-spec { padding-top: 10px; }
  section.pro.pr-offerings .pro-spec-l { display: none; }
  section.pro.pr-offerings .pro-chips li:nth-child(n+3) { display: none; }
  section.pro.pr-offerings .pro-chips li { font-size: 9.5px; padding: 4px 6px; }
}

/* Εικονογραφήσεις «σχέδιο» στις κάρτες Τι κάνουμε */
.pro-art { position: relative; display: block; margin: -28px -24px 20px; height: 132px; color: var(--acc); overflow: hidden;
  background:
    linear-gradient(color-mix(in srgb, var(--acc) 7%, transparent) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(90deg, color-mix(in srgb, var(--acc) 7%, transparent) 1px, transparent 1px) 0 0 / 16px 16px,
    radial-gradient(ellipse 70% 80% at 50% 60%, color-mix(in srgb, var(--acc) 14%, transparent), transparent 75%), #050b18;
  border-bottom: 1px solid color-mix(in srgb, var(--acc) 22%, transparent); }
.pro-art svg { position: absolute; inset: 8px 0 0; width: 100%; height: calc(100% - 8px); }
.pro .wd-offer-card .pro-code { z-index: 2; }
.pro-art .pa-noz { transform: translate(110px, 0); animation: paNoz 3.6s ease-in-out infinite alternate; }
@keyframes paNoz { from { transform: translate(80px, 0); } to { transform: translate(140px, 0); } }
.pro-art .pa-layers rect:last-child, .pro-art .pa-layers rect:nth-last-child(2) { animation: paBlink 3.6s ease-in-out infinite; }
@keyframes paBlink { 50% { opacity: .25; } }
.pro-art .pa-jaw { animation: paJaw 3.2s ease-in-out infinite alternate; }
@keyframes paJaw { from { transform: translateX(-16px); } to { transform: translateX(0); } }
.pro-art .pa-cut { stroke-dasharray: 100; stroke-dashoffset: 100; stroke-width: 1.8; animation: paCut 4s linear infinite; }
@keyframes paCut { 80%, 100% { stroke-dashoffset: 0; } }
.pro-art .pa-beam { stroke-dasharray: 3 2; animation: paBeam .5s linear infinite; }
@keyframes paBeam { to { stroke-dashoffset: -10; } }
.pro-art .pa-spark { animation: paSpark .35s steps(2) infinite; }
@keyframes paSpark { 50% { opacity: .2; } }
.pro-art .pa-head2 { transform: translate(92px, 0); animation: paHead2 3s ease-in-out infinite alternate; }
@keyframes paHead2 { from { transform: translate(88px, 0); } to { transform: translate(140px, 0); } }
.pro .wd-offer-card:not(:hover) .pro-art svg { opacity: .92; }
@media (prefers-reduced-motion: reduce) { .pro-art * { animation: none !important; } }
@media (max-width: 640px) {
  section.pro.pr-offerings .pro-art { margin: -16px -13px 12px; height: 88px; }
}

.pro .pro-ring { display: none; }

/* Φωτογραφίες εργασιών σε ανοιχτό φόντο στην κορυφή κάθε κάρτας */
.pro-art--photo { background:
    radial-gradient(ellipse 46% 14% at 50% 94%, rgba(0,0,0,.45), transparent 70%),
    radial-gradient(ellipse 70% 75% at 50% 58%, color-mix(in srgb, var(--acc) 30%, #22406f), #0f2245 62%, #0a1731);
  height: 220px; border-bottom: 2px solid var(--acc); }
.pro-art--photo img { position: absolute; inset: 8px 12px 6px; width: calc(100% - 24px); height: calc(100% - 14px); object-fit: contain; object-position: 50% 100%;
  filter: drop-shadow(0 12px 16px rgba(0,0,0,.45)) drop-shadow(0 0 1px rgba(255,255,255,.25)); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.pro .wd-offer-card:hover .pro-art--photo img { transform: scale(1.06); }
.pro .wd-offer-card .pro-art--photo ~ .pro-code, .pro .wd-offer-card:has(.pro-art--photo) .pro-code { -webkit-text-stroke-color: color-mix(in srgb, var(--acc) 70%, #0b1b38); }
@media (max-width: 640px) {
  section.pro.pr-offerings .pro-art--photo { height: 150px; }
  section.pro.pr-offerings .pro-art--photo img { inset: 6px 8px; width: calc(100% - 16px); height: calc(100% - 12px); }
}

/* Κίνηση στις κάρτες «Τι κάνουμε»:
   1) οι κάρτες ανεβαίνουν μία-μία όταν φανεί η ενότητα
   2) ο κάναβος κυλά αργά, μια δέσμη «σαρωτή» περνά πάνω από τη φωτογραφία
   3) η φωτογραφία «αναπνέει» ελαφρά, με χρονική διαφορά ανά κάρτα */
/* φόντο: σκούρο μπλε με φωτεινό «σποτ» στο χρώμα της κάρτας (χωρίς κάναβο) */
.pro-art--photo::after { content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; pointer-events: none; z-index: 1;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--acc) 22%, transparent) 45%, rgba(255,255,255,.55) 50%, color-mix(in srgb, var(--acc) 22%, transparent) 55%, transparent);
  mix-blend-mode: soft-light; animation: proScan 5.5s cubic-bezier(.45,0,.3,1) infinite; }
@keyframes proScan { 0%, 55% { left: -40%; } 100% { left: 115%; } }
.pro-art--photo img { animation: proFloat 6s ease-in-out infinite; }
@keyframes proFloat { 50% { translate: 0 -5px; } }
.pro .wd-offer-card:nth-child(2) .pro-art--photo::after, .pro .wd-offer-card:nth-child(2) .pro-art--photo img { animation-delay: -1.4s; }
.pro .wd-offer-card:nth-child(3) .pro-art--photo::after, .pro .wd-offer-card:nth-child(3) .pro-art--photo img { animation-delay: -2.8s; }
.pro .wd-offer-card:nth-child(4) .pro-art--photo::after, .pro .wd-offer-card:nth-child(4) .pro-art--photo img { animation-delay: -4.2s; }
.pro .wd-offer-card::after { transform-origin: left; }
.pro.pro-anim .wd-offer-card { opacity: 0; translate: 0 34px; transition: opacity .7s ease, translate .8s cubic-bezier(.2,.7,.2,1), transform .45s cubic-bezier(.2,.7,.2,1), border-color .45s, box-shadow .45s; }
.pro.pro-anim.pro-in .wd-offer-card { opacity: 1; translate: 0 0; }
.pro.pro-anim.pro-in .wd-offer-card:nth-child(2) { transition-delay: .12s, .12s, 0s, 0s, 0s; }
.pro.pro-anim.pro-in .wd-offer-card:nth-child(3) { transition-delay: .24s, .24s, 0s, 0s, 0s; }
.pro.pro-anim.pro-in .wd-offer-card:nth-child(4) { transition-delay: .36s, .36s, 0s, 0s, 0s; }
.pro.pro-in .wd-offer-card::after { animation: proBar 1.2s .5s cubic-bezier(.2,.7,.2,1) backwards; }
@keyframes proBar { from { transform: scaleX(.16); } 50% { transform: scaleX(1); } to { transform: scaleX(.16); } }
@media (prefers-reduced-motion: reduce) {
  .pro-art--photo, .pro-art--photo::after, .pro-art--photo img, .pro.pro-in .wd-offer-card::after { animation: none !important; }
  .pro.pro-anim .wd-offer-card { opacity: 1; translate: none; }
}

/* Κινητό: εφέ «φερμουάρ» (redesign.js) — οι κάρτες έρχονται από τα πλάγια */
@media (max-width: 960px) { section.pro { overflow-x: clip; } }
