/* =========================================================
   Go2Tech — style.css
   ========================================================= */

@font-face { font-family: "Geist"; src: url("../fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
/* Commissioner (SIL OFL) — μόνο βάρη 800–900, για τους μεγάλους τίτλους */
/* Sora (SIL OFL) — μόνο λατινικοί χαρακτήρες, για τον τίτλο της ενότητας τεχνολογιών */
@font-face { font-family: "Sora"; src: url("../fonts/Sora-Latin.woff2") format("woff2"); font-weight: 100 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Commissioner"; src: url("../fonts/Commissioner-Greek.woff2") format("woff2"); font-weight: 800 900; font-display: swap; unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Commissioner"; src: url("../fonts/Commissioner-Latin.woff2") format("woff2"); font-weight: 800 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --bg: #0b0d10;
    --bg-2: #12151a;
    --surface: #171b21;
    --line: rgba(255, 255, 255, .09);
    --text: #eef1f4;
    --muted: #8b95a1;
    --accent: #006bef;
    --accent-soft: #4d9bff;      /* πιο ανοιχτό μπλε για μικρά κείμενα πάνω στο σκούρο φόντο */
    --accent-rgb: 0, 107, 239;
    --accent-ink: #ffffff;
    --danger: #ff6b6b;

    --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: "Geist Mono", ui-monospace, Consolas, monospace;
    --display: "Commissioner", var(--font);

    --radius: 18px;
    --marquee-h: 64px;
    --container: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 17px/1.6 var(--font);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 600; letter-spacing: -.03em; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
/* Τονισμένη λέξη σε τίτλο: ίδια γραμματοσειρά, όρθια, μπλε (η κλάση λέγεται .serif για ιστορικούς λόγους) */
.serif { font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: inherit; color: var(--accent); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em;
    color: var(--muted);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 24px; border-radius: 6px;
    font: 600 15px/1 var(--font); border: 1px solid transparent; cursor: pointer;
    transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn span { transition: transform .3s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #fff; color: var(--bg); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-lg { padding: 17px 28px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 50;
    transition: background .3s, backdrop-filter .3s, border-color .3s;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(11, 13, 16, .75); backdrop-filter: blur(14px); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; align-items: center; font-weight: 700; font-size: clamp(26px, 2.4vw, 31px); letter-spacing: -.04em; line-height: 1; }
/* Το κείμενο μπροστά, η υδρόγειος πίσω από το "h", μεγαλύτερη και λίγο πιο ψηλά */
.logo-text { position: relative; z-index: 1; }
.logo-mark {
    position: relative; z-index: 0; flex-shrink: 0;
    width: 1.36em; height: 1.36em; object-fit: contain;
    margin-left: -.36em; top: -.18em;
}
.logo-2 { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav > ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav > ul > li > a { font-size: 15px; color: var(--muted); transition: color .2s; }
.nav > ul > li > a:hover, .nav > ul > li > a[aria-current="page"] { color: var(--text); }
.nav-cta { padding: 10px 18px; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle .bar { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); transition: transform .3s var(--ease); }
.nav-toggle .bar:nth-of-type(2) { top: 18px; }
.nav-toggle .bar:nth-of-type(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 900px) {
    .nav-toggle { display: block; z-index: 2; }
    .nav {
        position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 40px;
        background: var(--bg); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
    }
    .nav.is-open { opacity: 1; visibility: visible; }
    .nav > ul { flex-direction: column; align-items: center; gap: 20px; }
    .nav > ul > li > a { font-size: 30px; color: var(--text); font-weight: 600; }
    body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(140px, 22vh, 220px) 0 clamp(60px, 10vh, 110px); overflow: hidden; }
/* Αρχική: το hero + η μπάρα (marquee) χωράνε μαζί στην πρώτη οθόνη */
.hero:not(.hero-sm) {
    min-height: calc(100vh - var(--marquee-h));
    min-height: calc(100svh - var(--marquee-h));
    display: flex; align-items: center;
    padding: 96px 0 clamp(28px, 4vh, 48px);
}
.hero:not(.hero-sm) > .container { width: 100%; }
.hero-sm { padding-bottom: 40px; }
.hero-glow {
    position: absolute; inset: -30% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), .18), transparent 60%);
    filter: blur(40px); pointer-events: none;
}
.hero .container { position: relative; }
.hero-clouds { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.6s ease; pointer-events: none; }
.hero-clouds.is-ready { opacity: 1; }
.hero-fade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(11, 13, 16, .45), transparent 35%, transparent 60%, var(--bg)); }
.hero.has-clouds .hero-glow { display: none; }
.hero-title {
    font-family: var(--display); font-weight: 800; text-transform: uppercase;
    font-size: clamp(46px, min(10vw, 12.5vh), 150px); line-height: .98; letter-spacing: -.01em; margin-top: 24px;
}
.hero-title .line { display: block; }
.hero-title .line-indent { padding-left: .06em; }
.hero-title .line-accent, .hero-title .serif { font-family: var(--display); font-style: normal; font-weight: 900; color: var(--accent); letter-spacing: -.01em; }
.hero-sm .hero-title { font-size: clamp(40px, 6.5vw, 96px); }
/* Λέξη που εναλλάσσεται: κάθε γράμμα ανεβαίνει από κάτω και φεύγει προς τα πάνω */
.rotator { display: inline-flex; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; white-space: nowrap; }
.rch { display: inline-block; transition: transform .55s cubic-bezier(.7, 0, .2, 1); transition-delay: calc(var(--i, 0) * 32ms); }
.rch.is-out { transform: translateY(-110%); }
.rch.is-below { transform: translateY(110%); transition: none; }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: clamp(28px, 5vh, 56px); flex-wrap: wrap; }
.lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); max-width: 560px; }
.hero-sm .lead { margin-top: 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-sm .hero-actions { margin-top: 32px; }

/* ---------- Marquee ---------- */
.marquee {
    position: relative; overflow: hidden; user-select: none;
    height: var(--marquee-h); display: flex; align-items: center;
    border-block: 1px solid rgba(255, 255, 255, .06);
}
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 96px; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.marquee-track {
    display: flex; align-items: center; width: max-content; white-space: nowrap;
    animation: marquee 45s linear infinite;
    font: 400 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .25em; color: var(--muted);
}
.marquee .star { margin: 0 24px; font-size: 10px; letter-spacing: 0; color: var(--accent); opacity: .6; }
@media (min-width: 768px) {
    .marquee-track { font-size: 14px; }
    .marquee .star { margin: 0 40px; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 150px) 0; scroll-margin-top: 40px; }
.section-alt { background: var(--bg-2); }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.section-title { font-size: clamp(40px, 6vw, 84px); margin-top: 18px; }
.section-lead { color: var(--muted); font-size: 18px; margin-top: 22px; max-width: 560px; }

/* Stats */
.stats-section { padding-block: clamp(60px, 8vw, 100px); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-direction: column; gap: 6px; }
.stat-value { font-size: clamp(48px, 7vw, 96px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.stat-label { color: var(--muted); font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }

/* Services */
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service { border-bottom: 1px solid var(--line); }
.service summary {
    display: grid; grid-template-columns: 80px 1fr auto 40px; align-items: center; gap: 24px;
    padding: 30px 0; cursor: pointer; list-style: none;
}
.service summary::-webkit-details-marker { display: none; }
.service-num { font-family: var(--mono); color: var(--muted); font-size: 14px; }
.service-title { font-size: clamp(26px, 3.6vw, 48px); font-weight: 600; letter-spacing: -.035em; transition: color .3s, transform .4s var(--ease); }
.service summary:hover .service-title { color: var(--accent); transform: translateX(8px); }
.service-short { color: var(--muted); font-size: 15px; text-align: right; }
.service-icon { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; position: relative; transition: transform .4s var(--ease), background .3s; }
.service-icon::before, .service-icon::after { content: ""; position: absolute; inset: 50% 12px auto; height: 1.5px; background: currentColor; transform: translateY(-50%); }
.service-icon::after { transform: translateY(-50%) rotate(90deg); transition: transform .4s var(--ease); }
.service details[open] .service-icon { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.service details[open] .service-icon::after { transform: translateY(-50%) rotate(0); }
.service-body { padding: 0 0 32px 104px; max-width: 820px; display: grid; gap: 18px; }
.service-body p { color: var(--muted); font-size: 18px; }

.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font: 500 12px/1 var(--mono); padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
.work-card { display: flex; flex-direction: column; gap: 22px; }
.work-card:nth-child(even) { margin-top: 80px; }
.work-visual {
    aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; position: relative;
    background:
        radial-gradient(120% 90% at 20% 10%, hsl(var(--hue) 80% 60% / .55), transparent 55%),
        radial-gradient(90% 80% at 90% 100%, hsl(calc(var(--hue) + 60) 80% 50% / .45), transparent 60%),
        var(--surface);
    border: 1px solid var(--line);
    display: grid; place-items: center;
}
.work-initial { font-size: clamp(120px, 18vw, 240px); font-weight: 700; letter-spacing: -.08em; color: rgba(255,255,255,.9); mix-blend-mode: overlay; transition: transform .8s var(--ease); }
.work-card:hover .work-initial { transform: scale(1.08) rotate(-3deg); }
.work-type { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--accent-soft); }
.work-meta h3 { font-size: clamp(26px, 3vw, 36px); margin: 10px 0 10px; }
.work-meta p { color: var(--muted); margin-bottom: 16px; }

/* Process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 34px; display: grid; gap: 14px; align-content: start; transition: border-color .3s, transform .4s var(--ease); }
.step:hover { border-color: var(--accent); transform: translateY(-6px); }
.step-num { font: 500 14px/1 var(--mono); color: var(--accent-soft); }
.step h3 { font-size: 26px; margin-top: 30px; }
.step p { color: var(--muted); font-size: 16px; }

/* About / reasons */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.sticky { position: sticky; top: 120px; }
.sticky .btn { margin-top: 32px; }
.reasons { border-top: 1px solid var(--line); }
.reason { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.reason-num { font: 500 14px/1.9 var(--mono); color: var(--muted); }
.reason h3 { font-size: 24px; margin-bottom: 10px; }
.reason p { color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact-info dl { margin: 40px 0 0; display: grid; gap: 6px; }
.contact-info dt { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-top: 22px; }
.contact-info dd { margin: 6px 0 0; font-size: 20px; }
.contact-info dd a:hover { color: var(--accent-soft); }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 44px); }
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 14px; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; color: var(--text);
    background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(-45deg, transparent 50%, var(--muted) 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .15); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 13px; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.alert { border-radius: 12px; padding: 16px 18px; margin-bottom: 24px; }
.alert-success { background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .4); }
.alert-error { background: rgba(255, 107, 107, .1); border: 1px solid rgba(255, 107, 107, .4); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(70px, 10vw, 120px) 0 30px; }
.footer-cta { margin-bottom: clamp(60px, 9vw, 110px); }
.footer-big { display: inline-block; margin-top: 18px; font-size: clamp(44px, 9vw, 140px); font-weight: 600; letter-spacing: -.055em; line-height: .95; transition: color .3s; }
.footer-big span { display: inline-block; transition: transform .4s var(--ease); }
.footer-big:hover { color: var(--accent); }
.footer-big:hover span { transform: translateX(16px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-grid .logo + p { margin-top: 14px; max-width: 340px; font-size: 15px; }
.footer-title { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 18px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer-list a:hover { color: var(--accent-soft); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; color: var(--muted); font-size: 14px; }
.to-top:hover { color: var(--text); }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .process { grid-template-columns: repeat(2, 1fr); }
    .about, .contact { grid-template-columns: 1fr; }
    .sticky { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    body { font-size: 16px; }
    .stats { grid-template-columns: 1fr; }
    .service summary { grid-template-columns: 48px 1fr 40px; gap: 14px; padding: 24px 0; }
    .service-short { display: none; }
    .service-body { padding-left: 62px; }
    .work-grid { grid-template-columns: 1fr; }
    .work-card:nth-child(even) { margin-top: 0; }
    .process { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Προϊόν: Pegasus (TESAE) ---------- */
.product { position: relative; border-bottom: 1px solid var(--line); }
.product-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.product-brand { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.product-logo { display: inline-flex; background: #fff; border-radius: 10px; padding: 10px 16px; }
.product-logo img { height: 34px; width: auto; display: block; }
.product .section-title { font-size: clamp(36px, 4.6vw, 64px); }

.product-visual { position: relative; }
.product-visual::before {
    content: ""; position: absolute; inset: -12% -8%; z-index: -1; pointer-events: none;
    background: radial-gradient(closest-side, rgba(var(--accent-rgb), .28), transparent);
    filter: blur(30px);
}
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity .8s ease; }
.shot.is-active { opacity: 1; }
.shot-dots { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.shot-dot { width: 28px; height: 4px; border-radius: 2px; border: 0; padding: 0; background: rgba(255, 255, 255, .18); cursor: pointer; transition: background .3s; }
.shot-dot.is-active { background: var(--accent); }

@media (max-width: 1000px) {
    .product-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
}

/* Λευκή εκδοχή ενότητας (βγάλε την κλάση .is-light για να γυρίσει σκούρα) */
.is-light {
    --text: #0b0d10;
    --muted: #5a6472;
    --line: rgba(11, 13, 16, .1);
    background: #fff; color: var(--text);
}
.is-light ::selection { color: #fff; }
.is-light .btn-accent:hover { background: #0b0d10; color: #fff; }
.is-light .btn-ghost { border-color: rgba(11, 13, 16, .2); }
.is-light .product-logo { padding: 0; background: none; }
.is-light .product-logo img { height: 40px; }
.is-light .product-visual::before { background: radial-gradient(closest-side, rgba(var(--accent-rgb), .16), transparent); }
.is-light .shot-dot { background: rgba(11, 13, 16, .15); }
.is-light .shot-dot.is-active { background: var(--accent); }
.product.is-light { border-bottom: 0; }

/* Λίστες προγραμμάτων (Pegasus) */
.product-groups { display: grid; gap: 26px; margin: 34px 0 36px; }
.product-group { border-top: 1px solid var(--line); padding-top: 16px; }
.product-group h3 { font-size: 18px; letter-spacing: -.01em; }
.product-group h3::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 9px; vertical-align: middle; }
.product-group > p { color: var(--muted); font-size: 14.5px; margin: 4px 0 12px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.chips li { font-size: 13.5px; line-height: 1; padding: 8px 12px; border-radius: 6px; border: 1px solid var(--line); background: rgba(var(--accent-rgb), .04); }

/* Δεύτερη ενότητα προϊόντος: εικόνα αριστερά, ελαφρώς γκρι φόντο */
.is-light.is-soft { background: #f3f5f8; }
.product-reverse .product-copy { order: 2; }
.product-reverse .product-visual { order: 1; }
.product-reverse .product-grid { grid-template-columns: 1.15fr 1fr; }
.product-partner { display: inline-flex; align-items: center; gap: 10px; }
.product-partner img { height: 22px; width: auto; }
.is-light .product-logo img[src*="entersoftone"] { height: 26px; }

.product-list { list-style: none; margin: 30px 0 34px; padding: 0; border-top: 1px solid var(--line); }
.product-tab {
    display: grid; grid-template-columns: 92px 1fr; gap: 2px 16px; width: 100%; text-align: left;
    padding: 14px 12px; margin: 0; border: 0; border-bottom: 1px solid var(--line); background: none;
    font: inherit; color: inherit; cursor: pointer; border-radius: 8px; transition: background .25s;
}
.product-tab:hover { background: rgba(var(--accent-rgb), .05); }
.product-tab-tag { grid-row: span 2; font: 500 11px/1.9 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.product-tab-title { font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.product-tab-text { grid-column: 2; color: var(--muted); font-size: 14.5px; line-height: 1.5; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s var(--ease), opacity .3s, margin .3s; }
.product-tab.is-active { background: #fff; box-shadow: 0 10px 30px -18px rgba(11, 13, 16, .35); }
.product-tab.is-active .product-tab-tag { color: var(--accent); }
.product-tab.is-active .product-tab-text { max-height: 240px; opacity: 1; margin-top: 4px; }

.product-stage { display: grid; place-items: center; min-height: 420px; }
.product-stage::before { background: radial-gradient(closest-side, rgba(var(--accent-rgb), .14), transparent); }

@media (max-width: 1000px) {
    .product-reverse .product-grid { grid-template-columns: 1fr; }
    .product-reverse .product-copy { order: 1; }
    .product-reverse .product-visual { order: 2; }
    .product-stage { min-height: 0; }
}

/* Pegasus: η λίστα είναι μακριά, οπότε το screenshot μένει ορατό όσο κυλάς */
@media (min-width: 1001px) {
    #pegasus .product-grid { align-items: start; }
    #pegasus .product-visual { position: sticky; top: 130px; margin-top: 60px; }
}

/* Κινητό/tablet: η εικόνα ανεβαίνει αμέσως μετά την περιγραφή, πριν τη λίστα */
@media (max-width: 1000px) {
    .product .product-grid { gap: 0; }
    .product .product-copy { display: contents; }
    .product .product-brand  { order: 1; }
    .product .section-title  { order: 2; }
    .product .section-lead   { order: 3; }
    .product .product-visual { order: 4; margin-top: 32px; }
    .product .product-groups,
    .product .product-list   { order: 5; }
    .product .hero-actions   { order: 6; }
}

/* Τίτλος σε ξεχωριστές γραμμές */
.title-lines > span, .title-lines > em { display: block; }

/* Οθόνη υπολογιστή γύρω από τα screenshots (Pegasus) */
.monitor { position: relative; width: 100%; filter: drop-shadow(0 30px 40px rgba(11, 13, 16, .22)); }
.monitor-frame {
    position: relative; padding: 2.2% 2.2% 4.2%;
    background: linear-gradient(180deg, #23272e, #121418 60%, #0c0d10);
    border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 2px 0 rgba(255, 255, 255, .08);
}
.monitor-cam { position: absolute; top: .9%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #2b3038; box-shadow: inset 0 0 0 1px #3a414b; }
.monitor-frame::after { content: ""; position: absolute; bottom: 1.4%; left: 50%; width: 22px; height: 4px; margin-left: -11px; border-radius: 2px; background: #2b3038; }
.monitor-screen { position: relative; aspect-ratio: 16 / 9; background: #fff; border-radius: 4px; overflow: hidden; }
.monitor-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .14), transparent 38%); }
.monitor-screen .shot { object-fit: contain; object-position: top center; }
.monitor-neck {
    width: 16%; height: 0; padding-bottom: 9%; margin: -1px auto 0;
    background: linear-gradient(90deg, #9aa1ab, #d7dbe0 45%, #aab0b8);
    clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%);
}
.monitor-base {
    width: 38%; height: 0; padding-bottom: 2.2%; margin: 0 auto;
    background: linear-gradient(180deg, #e2e5e9, #a9afb7); border-radius: 0 0 50% 50% / 0 0 100% 100%;
    box-shadow: 0 8px 14px -6px rgba(11, 13, 16, .35);
}

/* Εναλλαγή εικόνων προϊόντων: η νέα έρχεται από δεξιά "αιωρούμενη" και καθαρίζει από θόλωμα, η παλιά φεύγει αριστερά */
.stage-img {
    grid-area: 1 / 1; width: 100%; height: auto; max-height: 520px; object-fit: contain;
    opacity: 0; transform: translateX(60px) scale(.92) rotate(1.5deg); filter: blur(10px);
    transition: none; will-change: transform, opacity, filter;
}
.stage-img.is-active {
    opacity: 1; transform: none; filter: none;
    transition: opacity .7s ease .15s, transform 1.1s cubic-bezier(.16, 1, .3, 1) .15s, filter .8s ease .15s;
    animation: stage-float 6s ease-in-out 1.3s infinite;
}
.stage-img.is-leaving {
    opacity: 0; transform: translateX(-60px) scale(.94) rotate(-1.5deg); filter: blur(10px);
    transition: opacity .6s ease, transform .9s cubic-bezier(.7, 0, .84, 0), filter .6s ease;
}
@keyframes stage-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* Μπάρα προόδου στο επιλεγμένο προϊόν: δείχνει πότε έρχεται το επόμενο */
.product-tab { position: relative; overflow: hidden; }
.product-tab::after {
    content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
    background: var(--accent); transform: scaleX(0); transform-origin: left;
}
.product-tab.is-timing::after { animation: tab-progress var(--tab-dur, 5000ms) linear forwards; }
.is-paused .product-tab.is-timing::after { animation-play-state: paused; }
@keyframes tab-progress { to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
    .stage-img.is-active { animation: none; }
    .product-tab::after { display: none; }
}

/* ---------- Τεχνολογίες: κηρήθρα ---------- */
.tech { overflow: hidden; padding-bottom: clamp(40px, 6vw, 80px); }
.tech-head { text-align: center; max-width: 720px; margin: 0 auto clamp(30px, 5vw, 60px); }
.tech-head .section-lead { margin-left: auto; margin-right: auto; }
.tech-title { font-family: "Sora", var(--font); font-weight: 700; font-size: clamp(44px, 6.4vw, 92px); letter-spacing: -.03em; line-height: 1; margin-top: 18px; }
.tech-title span { color: var(--accent); }

.hive-wrap { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); }
.hive {
    position: relative; list-style: none; margin: 0 auto; padding: 0;
    width: 100%; min-width: 980px; left: 50%; transform: translateX(-50%);
    /* οι άκρες σβήνουν, όπως σε κηρήθρα που συνεχίζει */
    -webkit-mask-image: radial-gradient(ellipse 58% 80% at 50% 55%, #000 55%, transparent 100%);
            mask-image: radial-gradient(ellipse 58% 80% at 50% 55%, #000 55%, transparent 100%);
}
.hex { position: absolute; width: var(--hw); height: var(--hh); display: grid; place-items: center; }
.hex-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* τα χρώματα περνούν με μεταβλητές, γιατί το περίγραμμα είναι κοινό SVG (<use>) */
.hex { --hex-fill: #fff; --hex-stroke: #e3e6ea; --hex-dot: #d4d8de; }
.hex-poly { fill: var(--hex-fill); stroke: var(--hex-stroke); stroke-width: 1.4; vector-effect: non-scaling-stroke; transition: fill .35s, stroke .35s; }
.hex-dots circle { fill: var(--hex-dot); transition: fill .35s; }
.hex img { position: relative; width: 34%; height: 34%; object-fit: contain; transition: transform .45s var(--ease); }
.hex-label { position: absolute; bottom: 14%; left: 0; right: 0; text-align: center; font: 600 11px/1 var(--font); color: var(--muted); opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; white-space: nowrap; pointer-events: none; }
.hex:not(.hex-empty):not(.hex-center):hover { z-index: 3; }
.hex:not(.hex-empty):not(.hex-center):hover,
.hex.is-pulse { --hex-fill: #f2f6fd; --hex-stroke: var(--accent); --hex-dot: var(--accent); }
.hex:hover img { transform: translateY(-12%) scale(1.1); }
.hex:hover .hex-label { opacity: 1; transform: none; }
.hex-empty { --hex-fill: transparent; --hex-stroke: #eceef1; --hex-dot: #e3e6ea; }

/* Κέντρο: μαύρο εξάγωνο με το λογότυπο go2tech */
.hex-center { z-index: 4; transform: scale(1.9); }
.hex-center { --hex-fill: #0b0d10; --hex-stroke: var(--accent); --hex-dot: var(--accent); }
.hex-brand { position: relative; display: inline-flex; align-items: center; color: #fff; font: 700 clamp(9px, 1vw, 14px)/1 var(--font); letter-spacing: -.04em; }
.hex-brand-text { position: relative; z-index: 1; }
.hex-brand-text span { color: var(--accent); }
.hex-brand img { width: 1.36em; height: 1.36em; margin-left: -.36em; position: relative; top: -.18em; z-index: 0; }
.hex-center::after { content: ""; position: absolute; inset: 8%; border-radius: 50%; box-shadow: 0 0 40px 6px rgba(var(--accent-rgb), .35); z-index: -1; animation: hive-glow 3.5s ease-in-out infinite; }
@keyframes hive-glow { 50% { box-shadow: 0 0 60px 14px rgba(var(--accent-rgb), .18); } }

/* εμφάνιση από το κέντρο προς τα έξω */
.js .hive .hex { opacity: 0; }
.js .hive.is-in .hex { opacity: 1; animation: hex-in .8s ease var(--d, 0ms) backwards; }
.js .hive.is-in .hex-center { animation-name: hex-in-center; }
@keyframes hex-in { from { opacity: 0; transform: scale(.8); } }
@keyframes hex-in-center { from { opacity: 0; transform: scale(1.3); } }

@media (max-width: 700px) {
    .hex-label { display: none; }
    .hex:hover img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .js .hive .hex { opacity: 1; }
    .hex-center::after { animation: none; }
}

/* ---------- Εσωτερική σελίδα: Η εταιρεία ---------- */
.page-hero { padding-bottom: clamp(60px, 9vw, 110px); }
.page-hero .lead { margin-top: 28px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb [aria-current] { color: var(--accent-soft); }

.story-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.story-text > p { color: var(--muted); font-size: 18px; margin-bottom: 18px; }
.story-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.story-stats .stat-value { font-size: clamp(36px, 4.5vw, 60px); }

.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 34px; display: grid; gap: 14px; align-content: start; transition: border-color .3s, transform .4s var(--ease); }
.value:hover { border-color: var(--accent); transform: translateY(-6px); }
.value h3 { font-size: 22px; margin-top: 24px; }
.value p { color: var(--muted); font-size: 16px; }

.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.partner-card { display: grid; gap: 18px; align-content: start; background: #fff; border-radius: var(--radius); padding: 36px; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.partner-card:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb), .4); box-shadow: 0 24px 50px -30px rgba(11, 13, 16, .35); }
.partner-card > img, .partner-logos img { height: 38px; width: auto; }
.partner-logos { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.partner-logos img:first-child { height: 26px; }
.partner-logos img:last-child { height: 30px; }
.partner-card p { color: var(--muted); font-size: 16px; }
.partner-more { font-weight: 600; color: var(--accent); }
.partner-more span { display: inline-block; transition: transform .3s var(--ease); }
.partner-card:hover .partner-more span { transform: translateX(5px); }

@media (max-width: 1000px) {
    .story-grid { grid-template-columns: 1fr; }
    .values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .values, .partner-grid { grid-template-columns: 1fr; }
    .story-stats { grid-template-columns: 1fr 1fr; }
    .partner-card { padding: 26px; }
}

/* ---------- Mega menu (Pegasus) ---------- */
@media (max-width: 1180px) and (min-width: 901px) {
    .nav { gap: 18px; }
    .nav > ul { gap: 16px; }
    .nav > ul > li > a { font-size: 14px; }
}
.has-mega > a { display: inline-flex; align-items: center; gap: 6px; }
.caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
.has-mega.is-open > a, html:not(.js) .has-mega:hover > a { color: var(--text); }
.has-mega.is-open .caret, html:not(.js) .has-mega:hover .caret { transform: translateY(1px) rotate(225deg); }

.mega {
    position: absolute; left: 0; right: 0; top: 100%;
    padding-top: 1px;                                   /* "γέφυρα" ώστε το ποντίκι να μη χάνει το μενού */
    background: rgba(11, 13, 16, .97); backdrop-filter: blur(16px);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .7);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .35s var(--ease), visibility 0s linear .35s;
}
/* χωρίς JavaScript ανοίγει με :hover· με JavaScript ελέγχεται από την κλάση .is-open */
html:not(.js) .has-mega:hover .mega, html:not(.js) .has-mega:focus-within .mega, .has-mega.is-open .mega {
    opacity: 1; visibility: visible; transform: none; transition-delay: .08s, .08s, 0s;
}
.mega-inner { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: clamp(24px, 4vw, 60px); padding-top: 36px; padding-bottom: 40px; }
.mega-intro { display: grid; gap: 16px; align-content: start; padding-right: 10px; border-right: 1px solid var(--line); }
.mega-intro img { height: 34px; width: auto; background: #fff; border-radius: 8px; padding: 7px 11px; box-sizing: content-box; justify-self: start; }
.mega-intro p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.mega-intro .btn { justify-self: start; padding: 11px 18px; font-size: 14px; }
.mega-title { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; margin-bottom: 16px; color: var(--text); }
.mega-tag { font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--accent-soft); border: 1px solid rgba(var(--accent-rgb), .45); border-radius: 4px; padding: 4px 6px; }
.mega-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-group.is-wide .mega-list { display: block; columns: 2; column-gap: 24px; }
.mega-group.is-wide .mega-list li { break-inside: avoid; margin-bottom: 2px; }
.mega-list a { display: block; padding: 7px 10px; margin: 0 -10px; border-radius: 6px; font-size: 14px; color: var(--muted); transition: color .2s, background .2s, padding .25s var(--ease); }
.mega-list a:hover, .mega-list a:focus-visible { color: var(--text); background: rgba(255, 255, 255, .05); padding-left: 16px; }

@media (max-width: 900px) {
    .mega, .caret { display: none; }
}

/* ---------- Template: σελίδα προγράμματος Pegasus Web App (pegasus-web.php) ---------- */
.app-hero { padding: 116px 0 56px; }
@media (min-width: 1001px) {
    /* desktop: το hero δεν ξεπερνά τα 500px */
    .app-hero { height: 500px; padding: 76px 0 0; display: flex; align-items: center; }
    .app-hero > .container { width: 100%; }
}
.app-hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.app-hero .hero-title { font-size: clamp(36px, 4.4vw, 64px); margin-top: 18px; }
.app-hero .lead { margin-top: 18px; font-size: clamp(16px, 1.3vw, 18px); max-width: 600px; }
.app-hero .hero-actions { margin-top: 26px; }

.app-facts-card {
    justify-self: end; width: 100%; max-width: 420px; padding: 24px 26px 10px;
    background: rgba(18, 21, 26, .6); border: 1px solid var(--line); border-radius: 14px;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.app-facts-card > img { height: 30px; width: auto; background: #fff; border-radius: 6px; padding: 5px 9px; box-sizing: content-box; margin-bottom: 10px; }
.app-facts { margin: 0; }
.app-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); }
.app-facts dt { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.app-facts dd { margin: 0; font-weight: 600; font-size: 15px; text-align: right; }

.app-section .section-title { font-size: clamp(34px, 4.4vw, 60px); }
.app-section .product-grid { align-items: center; }
.app-text { margin-top: 28px; display: grid; gap: 16px; max-width: 560px; }
.app-text p, .app-lead { color: var(--muted); font-size: 17.5px; line-height: 1.7; }

.audience { list-style: none; margin: 34px 0 0; padding: 0; border-top: 1px solid var(--line); }
.audience li { display: flex; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: clamp(17px, 1.8vw, 21px); font-weight: 600; letter-spacing: -.01em; line-height: 1.3; transition: color .3s, padding .4s var(--ease); }
.audience li:hover { color: var(--accent-soft); padding-left: 8px; }
.audience .n { flex-shrink: 0; width: 28px; font: 500 12px/1 var(--mono); color: var(--accent-soft); }

.app-adv-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; flex-wrap: wrap; }
.app-adv-count { font: 500 13px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.app-adv-count strong { display: block; font: 800 clamp(48px, 5vw, 72px)/1 var(--display); color: var(--accent); letter-spacing: -.02em; }
.adv-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.adv {
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 26px 26px 28px; transition: border-color .3s, box-shadow .4s, transform .4s var(--ease);
}
.adv:hover { border-color: rgba(var(--accent-rgb), .45); box-shadow: 0 24px 50px -32px rgba(11, 13, 16, .4); }
.adv-num { font: 500 12px/1 var(--mono); color: var(--accent); letter-spacing: .08em; }
.adv h3 { font-size: 19px; line-height: 1.25; letter-spacing: -.015em; margin: 14px 0 10px; }
.adv p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }

.app-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.app-links a {
    display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 100%;
    padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
    font-weight: 600; font-size: 19px; letter-spacing: -.01em; transition: border-color .3s, transform .4s var(--ease);
}
.app-links small { display: block; margin-bottom: 8px; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.app-links .arrow { color: var(--accent-soft); transition: transform .3s var(--ease); }
.app-links a:hover { border-color: var(--accent); transform: translateY(-3px); }
.app-links a:hover .arrow { transform: translateX(4px); }

@media (max-width: 1000px) {
    .app-hero-grid { grid-template-columns: 1fr; }
    .app-facts-card { justify-self: start; }
    .app-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .app-links { grid-template-columns: 1fr; }
    .adv { padding: 22px 20px 24px; }
}
/* «Δες και τις άλλες εφαρμογές»: 20% μικρότερο, σε μία γραμμή */
.app-others .section-title { font-size: clamp(32px, 4.8vw, 67px); }
@media (min-width: 721px) { .app-others .section-title { white-space: nowrap; } }
/* Τίτλος προγράμματος με μεγάλο όνομα (π.χ. «Ελαιοτριβείο ERP Start Up») + πεζό «μ» στο μElite */
.app-hero .hero-title.is-long { font-size: clamp(32px, 3.5vw, 50px); }
.keep-case { text-transform: none; }
/* Κουμπί «Pdf Εφαρμογής» στο hero των σελίδων Pegasus */
.btn-pdf svg { flex-shrink: 0; transition: transform .3s var(--ease); }
.btn-pdf:hover svg { transform: translateY(2px); }
/* Κουμπί «Βίντεο» και παράθυρο βίντεο (σελίδες Pegasus) */
.btn-video { font: inherit; font-weight: 600; font-size: 15px; background: none; }
.btn-video svg { flex-shrink: 0; transition: transform .3s var(--ease); }
.btn-video:hover svg { transform: scale(1.15); }
.video-modal { width: min(1100px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; background: transparent; color: var(--text); overflow: visible; }
.video-modal::backdrop { background: rgba(5, 6, 8, .85); backdrop-filter: blur(6px); }
.video-modal-inner { position: relative; }
.video-frame { aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6); }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-caption { margin-top: 14px; font: 500 13px/1.4 var(--mono); color: var(--muted); }
.video-close { position: absolute; top: -46px; right: 0; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; transition: background .2s; }
.video-close:hover { background: var(--accent); border-color: var(--accent); }
/* Κουτάκια προγραμμάτων στην ενότητα Pegasus της αρχικής: links προς τη σελίδα κάθε προγράμματος */
.chips-links li { padding: 0; }
.chips-links a { display: block; padding: 8px 12px; border-radius: inherit; transition: background .2s, color .2s, border-color .2s; }
.chips-links li:hover { border-color: var(--accent); background: var(--accent); }
.chips-links li:hover a, .chips-links a:focus-visible { color: #fff; }

/* SEO ενότητες σελίδων Pegasus: υπότιτλος H1, «Γιατί μέσω Go2Tech», Συχνές ερωτήσεις */
.hero-title .h1-sub { display: block; margin-top: 14px; font: 500 clamp(15px, 1.3vw, 18px)/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.why-steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.why-steps li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 24px; }
.why-steps h3 { font-size: 18px; letter-spacing: -.01em; margin: 12px 0 8px; line-height: 1.25; }
.why-steps p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: clamp(17px, 1.6vw, 20px); letter-spacing: -.01em; line-height: 1.3; transition: color .2s; }
.faq summary:hover h3 { color: var(--accent); }
.faq .service-icon { flex-shrink: 0; color: var(--text); }
.faq[open] .service-icon { background: var(--accent); color: #fff; border-color: var(--accent); }
.faq[open] .service-icon::after { transform: translateY(-50%) rotate(0); }
.faq p { color: var(--muted); font-size: 16.5px; line-height: 1.7; padding: 0 60px 24px 0; }
@media (max-width: 720px) {
    .why-steps { grid-template-columns: 1fr; }
    .faq p { padding-right: 0; }
}
/* Mega menu EntersoftOne: intro + 2 στήλες, δύο λογότυπα */
.mega-inner-3 { grid-template-columns: 1.2fr 1fr 1fr; }
.mega-logos { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mega-logos img { height: 22px; width: auto; background: #fff; border-radius: 8px; padding: 9px 11px; box-sizing: content-box; }

/* ---------- EntersoftOne GO: κάρτες πακέτων (χωρίς τιμές) ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
.plan { position: relative; display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 24px 22px; transition: border-color .3s, box-shadow .4s, transform .4s var(--ease); }
.plan:hover { border-color: rgba(var(--accent-rgb), .45); box-shadow: 0 28px 56px -34px rgba(11, 13, 16, .45); transform: translateY(-4px); }
.plan.is-popular { border: 2px solid var(--accent); box-shadow: 0 30px 60px -36px rgba(var(--accent-rgb), .6); }
.plan-badge { position: absolute; top: -12px; left: 24px; background: var(--accent); color: #fff; font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; padding: 6px 10px; border-radius: 999px; }
.plan-name { font: 800 clamp(30px, 2.6vw, 38px)/1 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.plan.is-popular .plan-name { color: var(--accent); }
.plan-for { color: var(--muted); font-size: 15px; line-height: 1.5; min-height: 4.5em; }
.plan-highlights { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.plan-highlights li { position: relative; padding-left: 26px; font-size: 15px; font-weight: 500; line-height: 1.4; }
.plan-highlights li::before, .plan-features li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%; background: rgba(var(--accent-rgb), .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%23006bef' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.plan-cta { justify-content: center; margin-top: 4px; }
.plan-more { border-top: 1px solid var(--line); padding-top: 12px; }
.plan-more summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; font-weight: 600; font-size: 14px; padding: 4px 0; }
.plan-more summary::-webkit-details-marker { display: none; }
.plan-more summary::after { content: ""; width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .3s; margin-left: auto; }
.plan-more[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.plan-count { font: 500 11px/1 var(--mono); color: var(--accent); background: rgba(var(--accent-rgb), .1); border-radius: 999px; padding: 4px 7px; }
.plan-group { margin: 16px 0 8px; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.plan-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.plan-features li { position: relative; padding-left: 24px; font-size: 14px; line-height: 1.4; }
.plan-features li::before { width: 14px; height: 14px; background-size: 12px; }
.plan-notes { margin-top: 28px; display: grid; gap: 6px; max-width: 900px; }
.plan-notes p { color: var(--muted); font-size: 13px; line-height: 1.5; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; } }
@media (max-width: 620px)  { .plans { grid-template-columns: 1fr; } .plan-for { min-height: 0; } }
/* EntersoftOne GO: 4 πλεονεκτήματα πάνω από τα πακέτα */
.go-benefits { padding: clamp(56px, 7vw, 90px) 0 0; }
.go-benefits-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.go-benefits-list li { text-align: center; padding: 6px clamp(16px, 2.4vw, 34px) 10px; border-left: 1px solid var(--line); }
.go-benefits-list li:first-child { border-left: 0; }
.go-benefit-icon { display: inline-flex; color: var(--accent); margin-bottom: 18px; transition: transform .4s var(--ease); }
.go-benefit-icon svg { width: 60px; height: 60px; }
.go-benefits-list li:hover .go-benefit-icon { transform: translateY(-4px); }
.go-benefits-list h2 { font-size: 18px; line-height: 1.3; letter-spacing: -.01em; margin-bottom: 12px; }
.go-benefits-list p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.go-benefits + .plans-section { padding-top: clamp(64px, 8vw, 110px); }
@media (max-width: 1000px) {
    .go-benefits-list { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
    .go-benefits-list li:nth-child(3) { border-left: 0; }
}
@media (max-width: 560px) {
    .go-benefits-list { grid-template-columns: 1fr; }
    .go-benefits-list li { border-left: 0; }
    .go-benefits-list h2 br { display: none; }
}
/* EntersoftOne GO: τίτλος και κείμενο πακέτων σε μία γραμμή (desktop) */
.plans-section .section-head { max-width: none; }
.plans-section .section-lead { max-width: none; }
@media (min-width: 1100px) { .plans-section .section-title { white-space: nowrap; } }
@media (min-width: 1200px) { .plans-section .section-lead { white-space: nowrap; } }
/* Πακέτα: ίδιο ύψος, «Ζήτα προσφορά» και «Όλα τα χαρακτηριστικά» στο ίδιο ύψος στο κάτω μέρος */
.plans { align-items: start; }   /* κάθε κάρτα έχει το δικό της ύψος — ανοίγει μόνη της χωρίς να μακραίνουν οι άλλες */
.plan-for { min-height: 0; }        /* το πάνω μέρος εξισώνεται από το main.js, ώστε το «Ζήτα προσφορά» να είναι στο ίδιο ύψος */

/* ---------- EntersoftOne GO: κάρτες επαγγελμάτων + υποσελίδες ---------- */
.go-pros { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.go-pros a {
    display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 26px 24px 22px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
    transition: border-color .3s, transform .4s var(--ease), background .3s;
}
.go-pros a:hover { border-color: var(--accent); transform: translateY(-4px); background: #1a1f27; }
.go-pro-icon { color: var(--accent-soft); margin-bottom: 6px; }
.go-pro-icon svg { width: 44px; height: 44px; }
.go-pro-title { font-weight: 600; font-size: 19px; letter-spacing: -.01em; line-height: 1.25; }
.go-pro-text { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.go-pro-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); }
.go-pro-plan { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--accent-soft); }
.go-pros .arrow { color: var(--accent-soft); transition: transform .3s var(--ease); }
.go-pros a:hover .arrow { transform: translateX(4px); }
@media (max-width: 1100px) { .go-pros { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .go-pros { grid-template-columns: 1fr; } }

/* Υποσελίδα επαγγέλματος: προτεινόμενο πακέτο */
.go-plan-grid { display: grid; grid-template-columns: 1fr minmax(300px, 380px); gap: clamp(32px, 6vw, 90px); align-items: start; }
.go-plan-card .plan { margin-top: 12px; }
.go-plan-card .plan-for { min-height: 0; }
.go-plan-note { margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.go-plan-all { margin-top: 26px; }
.go-plan-all a { font-weight: 600; color: var(--accent); }
.go-plan-all a span { display: inline-block; transition: transform .3s var(--ease); }
.go-plan-all a:hover span { transform: translateX(4px); }
@media (max-width: 900px) { .go-plan-grid { grid-template-columns: 1fr; } }
/* Mega menu: επαγγέλματα EntersoftOne GO σε φυσική ροή (κείμενο με τελείες, αναδιπλώνεται) */
.mega-flow-title { margin: 18px 0 8px; font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.mega-flow { font-size: 14px; line-height: 1.9; color: var(--muted); max-width: 300px; }
.mega-flow a { color: var(--muted); transition: color .2s; white-space: nowrap; }
.mega-flow a:hover, .mega-flow a:focus-visible { color: var(--text); }
.mega-flow a:not(:last-child)::after { content: "·"; margin-left: 9px; color: var(--accent-soft); }

/* ---------- Σελίδες προϊόντων Soft1 (soft1.php) ---------- */
.s1-logos img { height: 30px; }
.s1-visual img { width: 100%; height: auto; border-radius: 14px; filter: drop-shadow(0 30px 40px rgba(11, 13, 16, .18)); }
.s1-modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; align-items: start; }
.s1-module { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 24px 26px; transition: border-color .3s, box-shadow .4s; }
.s1-module:hover { border-color: rgba(var(--accent-rgb), .45); box-shadow: 0 24px 50px -34px rgba(11, 13, 16, .4); }
.s1-module h3 { font-size: 18px; letter-spacing: -.01em; line-height: 1.25; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
/* Soft1: εικόνες με εναλλαγή (ίδιο πλαίσιο για όλες, object-fit: contain) */
.s1-stage { position: relative; aspect-ratio: 4 / 3; }
.s1-stage .shot { width: 100%; height: 100%; object-fit: contain; object-position: center; border-radius: 14px; }

/* ---------- Αρχική: ζώνη «Ολοκληρωμένες λύσεις μηχανογράφησης» ---------- */
.solutions { position: relative; padding-top: clamp(70px, 9vw, 120px); }
.solutions-head { max-width: 860px; }
.solutions-tag { margin-top: 18px; display: inline-block; font: 500 12.5px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent-soft); border: 1px solid rgba(var(--accent-rgb), .4); border-radius: 999px; padding: 7px 14px; }
.solutions-tag strong { color: var(--text); font-weight: 600; }

.solutions-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 16px; }
.sol-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; transition: border-color .3s, transform .4s var(--ease); }
.sol-card:hover { border-color: rgba(var(--accent-rgb), .6); transform: translateY(-3px); }
.sol-main { grid-row: span 2; background: linear-gradient(160deg, rgba(var(--accent-rgb), .16), transparent 55%), var(--surface); }
.sol-num { font: 500 12px/1 var(--mono); color: var(--accent-soft); letter-spacing: .08em; }
.sol-card h3 { font-size: 19px; line-height: 1.25; letter-spacing: -.01em; margin-top: 4px; }
.sol-main h3 { font-size: clamp(22px, 2vw, 28px); }
.sol-main h3 span { display: block; font-size: 15px; font-weight: 500; color: var(--muted); margin-top: 4px; letter-spacing: 0; }
.sol-main h3 a:hover { color: var(--accent-soft); }
.sol-card > p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.sol-bullets { margin-top: 8px; }
.sol-bullets li { font-size: 15px; color: var(--text); }
.sol-for-title { margin-top: 14px; font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.sol-flow { font-size: 15px; line-height: 1.9; }
.sol-flow a { color: var(--text); white-space: nowrap; transition: color .2s; }
.sol-flow a:hover { color: var(--accent-soft); }
.sol-flow a:not(:last-child)::after { content: "·"; margin-left: 9px; color: var(--accent-soft); }
.sol-more { margin-top: auto; padding-top: 16px; font-weight: 600; color: var(--accent-soft); }
.sol-more span { display: inline-block; transition: transform .3s var(--ease); }
.sol-more:hover span { transform: translateX(4px); }

.solutions-bottom { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin-top: 16px; }
.sol-offer { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px; }
.sol-offer-title { display: inline-block; font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: #fff; background: var(--accent); border-radius: 6px; padding: 7px 10px; margin-bottom: 16px; }
.sol-offer ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.sol-offer li { position: relative; padding-left: 26px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.sol-offer li strong { color: var(--text); font-weight: 600; }
.sol-offer li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%; background: rgba(var(--accent-rgb), .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%234d9bff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.sol-cta { border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(150deg, #0a3f8f, #062659 70%); border: 1px solid rgba(var(--accent-rgb), .5); }
.sol-cta-title { font: 800 clamp(20px, 1.8vw, 24px)/1.15 var(--display); text-transform: uppercase; color: #fff; }
.sol-cta p:not(.sol-cta-title) { color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.6; }
.btn-light { background: #fff; color: #062659; align-self: flex-start; margin-top: auto; }
.btn-light:hover { background: var(--accent); color: #fff; }

@media (max-width: 1000px) {
    .solutions-grid { grid-template-columns: 1fr 1fr; }
    .sol-main { grid-column: 1 / -1; grid-row: auto; }
    .solutions-bottom { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .solutions-grid { grid-template-columns: 1fr; }
    .sol-offer ul { grid-template-columns: 1fr; }
}
/* Κάρτα 01: Pegasus & Soft1 */
.sol-amp { font-style: normal; color: var(--accent-soft); }
.sol-more-row { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.sol-more-row .sol-more { margin-top: 0; padding-top: 0; }

/* Δοκιμή χρώματος: ζώνη «Μηχανογράφηση» σε ανοιχτό γαλάζιο (όπως το φυλλάδιο) με λευκές κάρτες.
   Για επιστροφή στο σκούρο: αφαίρεσε την κλάση is-light από το includes/section-solutions.php */
.solutions.is-light { background: linear-gradient(180deg, #e8f1fd 0%, #f4f8fe 100%); }
.solutions.is-light .solutions-tag { color: var(--accent); border-color: rgba(var(--accent-rgb), .35); background: #fff; }
.solutions.is-light .sol-card { background: #fff; border-color: rgba(var(--accent-rgb), .14); box-shadow: 0 18px 40px -30px rgba(10, 40, 90, .35); }
.solutions.is-light .sol-card:hover { border-color: rgba(var(--accent-rgb), .55); }
.solutions.is-light .sol-main { background: linear-gradient(160deg, rgba(var(--accent-rgb), .09), #fff 60%); }
.solutions.is-light .sol-num,
.solutions.is-light .sol-amp,
.solutions.is-light .sol-more,
.solutions.is-light .sol-flow a:hover,
.solutions.is-light .sol-flow a:not(:last-child)::after { color: var(--accent); }
.solutions.is-light .sol-offer { background: #fff; border-color: rgba(var(--accent-rgb), .14); box-shadow: 0 18px 40px -30px rgba(10, 40, 90, .35); }

/* EntersoftOne (αρχική): λογότυπα, τίτλος και κείμενο σε όλο το πλάτος, πάνω από εικόνα + λίστα */
.product-head { margin-bottom: clamp(32px, 4vw, 56px); }
.product-head .section-lead { max-width: 900px; }
.product-head + .product-grid .product-list { margin-top: 0; }
@media (min-width: 1001px) { .product-head .section-title { white-space: nowrap; } }
