/* ==========================================================================
   Brand colour system, built only from George's palette:
   navy #16325C · blue #1793CE · dark blue #0B6A99 · slate text #334155 / #475569 / #64748B
   border #DCE8F2 · soft #F4F9FD · white · green #18A058 · red #E5484D.

   The base colours stay as they are. This layer adds what a palette needs to work
   as a system: tonal steps of the navy and the blue, navy-tinted shadows, a rhythm
   of white and soft sections, and clear roles:
     navy      → headings, primary buttons, dark surfaces (CTA band, footer)
     dark blue → links and interactive states (5.9:1 on white)
     blue      → highlights only: dots, rings, glows, icons, large text
   Loaded after main.css and wp.css; delete the enqueue to go back.
   ========================================================================== */

:root {
  /* Tonal steps (rgb channels, used as rgb(var(--x) / alpha)). */
  --navy-950: 8 21 41;
  --navy-900: 13 33 63;
  --navy-800: 22 50 92;   /* #16325C, the brand navy */
  --navy-700: 30 66 117;
  --blue-700: 11 106 153; /* #0B6A99, links */
  --blue-500: 23 147 206; /* #1793CE, highlights */
  --blue-300: 110 192 232;
  --blue-100: 220 239 250;
  --blue-50: 240 248 253;

  /* Navy-tinted elevation instead of grey/black shadows. */
  --shadow-sm: 0 1px 2px rgb(var(--navy-800) / 0.05), 0 4px 12px -4px rgb(var(--navy-800) / 0.08);
  --shadow-md: 0 14px 34px -14px rgb(var(--navy-800) / 0.22);
  --shadow-lg: 0 28px 64px -28px rgb(var(--navy-800) / 0.32);
}

html.dark {
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.3), 0 4px 12px -4px rgb(0 0 0 / 0.35);
  --shadow-md: 0 14px 34px -14px rgb(0 0 0 / 0.55);
  --shadow-lg: 0 28px 64px -28px rgb(0 0 0 / 0.7);
}

::selection {
  background-color: rgb(var(--blue-100));
  color: rgb(var(--navy-800));
}

:focus-visible {
  outline: 2px solid rgb(var(--blue-500));
  outline-offset: 3px;
}

/* Calmer background glow: blues only, lower in light mode. */
.aurora span {
  opacity: 0.1;
}

html.dark .aurora span {
  opacity: 0.22;
}

/* ------------------------------ navbar ---------------------------------- */

.navbar__pill {
  border-color: rgb(var(--border));
  background-color: rgb(var(--surface) / 0.86);
  box-shadow: var(--shadow-sm);
}

html.dark .navbar__pill {
  border-color: rgb(255 255 255 / 0.08);
  background-color: rgb(var(--surface) / 0.8);
}

.nav-cta {
  background-color: rgb(var(--navy-800));
  color: #fff;
  box-shadow: 0 8px 22px -10px rgb(var(--navy-800) / 0.6);
}

.nav-cta:hover {
  background-color: rgb(var(--blue-700));
}

html.dark .nav-cta {
  background-color: rgb(var(--blue-500));
  color: rgb(var(--navy-950));
}

html.dark .nav-cta:hover {
  background-color: rgb(var(--blue-300));
}

/* ------------------------------ labels ---------------------------------- */

.eyebrow {
  gap: 0.55rem;
  border-color: rgb(var(--blue-500) / 0.25);
  background: rgb(var(--blue-50));
  color: rgb(var(--blue-700));
}

.eyebrow::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background-color: rgb(var(--blue-500));
  box-shadow: 0 0 0 3px rgb(var(--blue-500) / 0.18);
}

html.dark .eyebrow {
  border-color: rgb(var(--blue-500) / 0.3);
  background: rgb(var(--blue-500) / 0.1);
  color: rgb(var(--blue-300));
}

/* ------------------------------ buttons --------------------------------- */

/* Primary: solid navy, dark blue on hover (as in the brand guide). */
.btn--primary {
  background-color: rgb(var(--navy-800));
  background-image: none;
  animation: none;
  color: #fff;
  box-shadow: 0 12px 26px -14px rgb(var(--navy-800) / 0.7);
}

.btn--primary:hover:not(:disabled) {
  background-color: rgb(var(--blue-700));
  box-shadow: 0 16px 32px -14px rgb(var(--blue-700) / 0.7);
}

.btn--ghost {
  border-color: rgb(var(--navy-800) / 0.18);
  background-color: rgb(var(--surface));
  color: rgb(var(--navy-800));
}

.btn--ghost:hover {
  border-color: rgb(var(--blue-700) / 0.5);
  background-color: rgb(var(--blue-50));
  color: rgb(var(--blue-700));
}

html.dark .btn--primary {
  background-color: rgb(var(--blue-500));
  color: rgb(var(--navy-950));
  box-shadow: 0 12px 26px -14px rgb(var(--blue-500) / 0.6);
}

html.dark .btn--primary:hover:not(:disabled) {
  background-color: rgb(var(--blue-300));
}

html.dark .btn--ghost {
  border-color: rgb(255 255 255 / 0.14);
  background-color: transparent;
  color: rgb(var(--heading));
}

html.dark .btn--ghost:hover {
  border-color: rgb(var(--blue-300) / 0.5);
  background-color: rgb(var(--blue-500) / 0.1);
  color: rgb(var(--blue-300));
}

/* Article buttons follow the primary button. */
.wp-block-button .wp-block-button__link {
  background-color: rgb(var(--navy-800));
  background-image: none;
  animation: none;
}

.wp-block-button .wp-block-button__link:hover {
  background-color: rgb(var(--blue-700));
}

html.dark .wp-block-button .wp-block-button__link {
  background-color: rgb(var(--blue-500));
  color: rgb(var(--navy-950));
}

/* Filters / tabs: the active one is solid navy. */
.filter {
  border-color: rgb(var(--border));
  background-color: rgb(var(--surface));
}

.filter.is-active {
  background-image: none;
  background-color: rgb(var(--navy-800));
  color: #fff;
}

html.dark .filter.is-active {
  background-color: rgb(var(--blue-500));
  color: rgb(var(--navy-950));
}

/* ------------------------------- text ----------------------------------- */

/* The role in the hero and other gradient words: navy into the two blues. */
.gradient-text {
  background-image: linear-gradient(100deg, rgb(var(--navy-800)) 0%, rgb(var(--blue-700)) 45%, rgb(var(--blue-500)) 75%, rgb(var(--navy-800)) 100%);
}

html.dark .gradient-text {
  background-image: linear-gradient(100deg, rgb(var(--blue-300)) 0%, rgb(var(--blue-500)) 50%, #fff 80%, rgb(var(--blue-300)) 100%);
}

.prose a,
.service-hero__intro a {
  color: rgb(var(--blue-700));
  text-decoration: underline;
  text-decoration-color: rgb(var(--blue-500) / 0.35);
  text-underline-offset: 3px;
}

.prose a:hover {
  color: rgb(var(--navy-800));
  text-decoration-color: currentColor;
}

html.dark .prose a {
  color: rgb(var(--blue-300));
}

/* ------------------------- sections and surfaces ------------------------- */

/* Rhythm: white sections, with the soft blue band behind services, the blog
   and the "why" blocks, edge to edge. */
.section:has(.services-grid),
.section:has(.posts),
.section:has(.service-list) {
  background-color: rgb(var(--soft));
  border-block: 1px solid rgb(var(--border) / 0.7);
}

html.dark .section:has(.services-grid),
html.dark .section:has(.posts),
html.dark .section:has(.service-list) {
  border-color: rgb(255 255 255 / 0.05);
}

.marquee {
  background-color: rgb(var(--soft));
}

.card,
.project,
.stat,
.photo-badge,
.service-others__item {
  border-color: rgb(var(--border));
  background-color: rgb(var(--surface));
  box-shadow: var(--shadow-sm);
}

.card--hover:hover,
.project:hover,
.service-others__item:hover {
  border-color: rgb(var(--blue-500) / 0.45);
  box-shadow: var(--shadow-md);
}

/* Icon tiles: light blue at rest, navy when the card is hovered. */
.card__icon {
  background-image: none;
  background-color: rgb(var(--blue-100));
  color: rgb(var(--blue-700));
  box-shadow: inset 0 0 0 1px rgb(var(--blue-500) / 0.18);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

.card--hover:hover .card__icon,
.service-others__item:hover .card__icon {
  background-color: rgb(var(--navy-800));
  color: #fff;
}

html.dark .card__icon {
  background-color: rgb(var(--blue-500) / 0.14);
  color: rgb(var(--blue-300));
}

html.dark .card--hover:hover .card__icon,
html.dark .service-others__item:hover .card__icon {
  background-color: rgb(var(--blue-500));
  color: rgb(var(--navy-950));
}

/* Hero numbers: navy figures. */
.stat strong,
.photo-badge strong {
  color: rgb(var(--heading));
}

/* Photo ring: navy and the two blues. */
.gradient-ring {
  background-image: conic-gradient(from var(--angle, 0deg), rgb(var(--navy-800)), rgb(var(--blue-500)), rgb(var(--blue-300)), rgb(var(--blue-700)), rgb(var(--navy-800)));
}

/* Project cards: quiet soft-blue browser bar. */
.project__frame {
  background-image: none;
  background-color: rgb(var(--blue-50));
}

html.dark .project__frame {
  background-color: rgb(var(--blue-500) / 0.08);
}

/* Service page "why" block and FAQ markers. */
.service-why {
  border-color: rgb(var(--border));
  background-image: none;
  background-color: rgb(var(--blue-50));
}

html.dark .service-why {
  border-color: rgb(255 255 255 / 0.06);
  background-color: rgb(var(--surface));
}

.service-why li::before {
  background-image: linear-gradient(120deg, rgb(var(--blue-500)), rgb(var(--blue-700)));
}

.service-list__check {
  background-color: rgb(var(--blue-100));
  color: rgb(var(--blue-700));
}

/* ------------------------- CTA band: deep navy -------------------------- */

.cta {
  border: 0;
  background-color: rgb(var(--navy-900));
  background-image:
    radial-gradient(60% 90% at 0% 0%, rgb(var(--blue-500) / 0.35), transparent 60%),
    radial-gradient(50% 80% at 100% 100%, rgb(var(--blue-700) / 0.45), transparent 60%);
  box-shadow: var(--shadow-lg);
}

.cta h2.gradient-text {
  background-image: linear-gradient(100deg, #fff 0%, rgb(var(--blue-100)) 45%, rgb(var(--blue-300)) 100%);
}

.cta p {
  color: rgb(var(--blue-100) / 0.85);
}

.cta .btn--primary,
html.dark .cta .btn--primary {
  background-color: #fff;
  color: rgb(var(--navy-800));
  box-shadow: 0 14px 30px -14px rgb(0 0 0 / 0.5);
}

.cta .btn--primary:hover:not(:disabled),
html.dark .cta .btn--primary:hover:not(:disabled) {
  background-color: rgb(var(--blue-100));
  color: rgb(var(--navy-900));
}

/* ---------------------------- footer: navy ------------------------------ */

.footer {
  margin-top: 0;
  border-top: 0;
  background-color: rgb(var(--navy-800));
  color: rgb(var(--blue-100) / 0.8);
}

html.dark .footer {
  background-color: rgb(var(--navy-950));
  border-top: 1px solid rgb(255 255 255 / 0.06);
}

.footer .brand {
  color: #fff;
}

.footer .brand span {
  color: rgb(var(--blue-300));
}

.footer h2 {
  color: rgb(var(--blue-300));
}

.footer a {
  color: rgb(255 255 255 / 0.82);
}

.footer a:hover {
  color: #fff;
}

.footer .muted {
  color: rgb(var(--blue-100) / 0.72);
}

.footer__bottom {
  border-top-color: rgb(255 255 255 / 0.12);
  color: rgb(var(--blue-100) / 0.65);
}

/* A little air above the footer now that it is a solid band. */
main > :last-child {
  margin-bottom: 4rem;
}

/* ===================== dark theme: depth and colour ======================
   Same blues, more light: layered navies, soft blue glows behind the page,
   cards lit from the top, brighter blue accents for numbers, icons and links. */

html.dark {
  --background: 7 17 33;
  --soft: 11 27 51;
  --surface: 16 35 64;
  --border: 44 72 112;
  --foreground: 218 230 242;
  --muted: 165 184 205;
}

html.dark body {
  background-image:
    radial-gradient(1100px 620px at 8% -8%, rgb(var(--blue-500) / 0.16), transparent 60%),
    radial-gradient(900px 560px at 100% 18%, rgb(var(--blue-700) / 0.2), transparent 62%),
    radial-gradient(800px 600px at 50% 110%, rgb(var(--navy-700) / 0.35), transparent 65%);
  background-attachment: fixed;
}

/* Sections: a navy band with a fine blue line at the top. */
html.dark .section:has(.services-grid),
html.dark .section:has(.posts),
html.dark .section:has(.service-list) {
  background-color: transparent;
  background-image: linear-gradient(180deg, rgb(var(--soft) / 0.9), rgb(var(--background) / 0.4));
  border-top: 1px solid rgb(var(--blue-500) / 0.18);
  border-bottom: 0;
}

/* Cards lit from the top edge, glowing blue on hover. */
html.dark .card,
html.dark .project,
html.dark .stat,
html.dark .photo-badge,
html.dark .service-others__item,
html.dark .post-card {
  border-color: rgb(var(--blue-300) / 0.12);
  background-color: rgb(var(--surface));
  background-image: linear-gradient(180deg, rgb(255 255 255 / 0.045), rgb(255 255 255 / 0) 55%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06), var(--shadow-sm);
}

html.dark .card--hover:hover,
html.dark .project:hover,
html.dark .service-others__item:hover {
  border-color: rgb(var(--blue-300) / 0.4);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 0 0 1px rgb(var(--blue-500) / 0.15), 0 22px 46px -20px rgb(var(--blue-500) / 0.45);
}

/* Icons: blue tile with a soft glow. */
html.dark .card__icon {
  background-color: transparent;
  background-image: linear-gradient(135deg, rgb(var(--blue-500) / 0.3), rgb(var(--blue-700) / 0.22));
  color: rgb(var(--blue-300));
  box-shadow: inset 0 0 0 1px rgb(var(--blue-300) / 0.22), 0 8px 22px -10px rgb(var(--blue-500) / 0.6);
}

/* Numbers and the photo badge: solid light blue. */
html.dark .stat strong,
html.dark .photo-badge strong {
  color: rgb(var(--blue-300));
}

html.dark .eyebrow {
  border-color: rgb(var(--blue-300) / 0.3);
  background: rgb(var(--blue-500) / 0.14);
  color: rgb(var(--blue-300));
}

html.dark .eyebrow::before {
  background-color: rgb(var(--blue-300));
  box-shadow: 0 0 10px rgb(var(--blue-300) / 0.8);
}

html.dark .service-card__more,
html.dark .post-card a:hover {
  color: rgb(var(--blue-300));
}

html.dark .navbar__pill {
  border-color: rgb(var(--blue-300) / 0.14);
  background-color: rgb(var(--surface) / 0.78);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06), 0 14px 34px -18px rgb(0 0 0 / 0.7);
}

html.dark .project__frame {
  background-color: rgb(var(--blue-500) / 0.1);
  border-bottom-color: rgb(var(--blue-300) / 0.12);
}

html.dark .marquee {
  background-color: rgb(var(--soft) / 0.8);
  border-color: rgb(var(--blue-300) / 0.1);
}

/* CTA: deeper contrast against the page, brighter glows. */
html.dark .cta {
  background-color: rgb(var(--navy-950));
  background-image:
    radial-gradient(60% 90% at 0% 0%, rgb(var(--blue-500) / 0.45), transparent 60%),
    radial-gradient(50% 80% at 100% 100%, rgb(var(--blue-700) / 0.55), transparent 60%);
  box-shadow: inset 0 0 0 1px rgb(var(--blue-300) / 0.16), 0 30px 70px -30px rgb(var(--blue-500) / 0.45);
}

/* Footer: darkest navy, set apart by a blue hairline. */
html.dark .footer {
  background-color: rgb(var(--navy-950));
  border-top: 1px solid rgb(var(--blue-500) / 0.25);
}

html.dark .service-why {
  border-color: rgb(var(--blue-300) / 0.14);
  background-color: rgb(var(--surface));
  background-image: radial-gradient(70% 120% at 0% 0%, rgb(var(--blue-500) / 0.16), transparent 60%);
}

/* ======================= vivid layer: gradients and motion =======================
   George prefers living colour over flat fills (like the AI assistant): the brand
   blues as gradients and glows, in both themes. Each kind of element moves in its
   own way, and every loop is seamless: rotations go round a full turn and pans
   move by exactly one repeat of a gradient that starts and ends on the same colour. */

@property --tile-angle {
  syntax: "<angle>";
  initial-value: 135deg;
  inherits: false;
}

@property --ring-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --grad-brand: linear-gradient(120deg, rgb(var(--navy-800)), rgb(var(--blue-700)) 55%, rgb(var(--blue-500)));
  --grad-loop: linear-gradient(90deg, rgb(var(--navy-800)), rgb(var(--blue-700)) 25%, rgb(var(--blue-500)) 50%, rgb(var(--blue-700)) 75%, rgb(var(--navy-800)));
  --grad-text: linear-gradient(90deg, rgb(var(--navy-800)), rgb(var(--blue-700)) 30%, rgb(var(--blue-500)) 50%, rgb(var(--blue-700)) 70%, rgb(var(--navy-800)));
  --tile-a: var(--blue-500);
  --tile-b: var(--navy-800);
}

html.dark {
  --grad-brand: linear-gradient(120deg, rgb(var(--blue-700)), rgb(var(--blue-500)) 55%, rgb(var(--blue-300)));
  --grad-loop: linear-gradient(90deg, rgb(var(--blue-700)), rgb(var(--blue-500)) 25%, rgb(var(--blue-300)) 50%, rgb(var(--blue-500)) 75%, rgb(var(--blue-700)));
  --grad-text: linear-gradient(90deg, #fff, rgb(var(--blue-300)) 30%, rgb(var(--blue-500)) 50%, rgb(var(--blue-300)) 70%, #fff);
  --tile-a: var(--blue-300);
  --tile-b: var(--blue-700);
}

/* One page background from top to bottom: no bands behind sections. The fixed
   glows sit behind everything, so scrolling never shows a seam. */
.section:has(.services-grid),
.section:has(.posts),
.section:has(.service-list),
html.dark .section:has(.services-grid),
html.dark .section:has(.posts),
html.dark .section:has(.service-list),
.marquee,
html.dark .marquee {
  background-color: transparent;
  background-image: none;
  border-top: 0;
  border-bottom: 0;
}

body {
  background-image:
    radial-gradient(1100px 620px at 8% -8%, rgb(var(--blue-100) / 0.55), transparent 60%),
    radial-gradient(900px 560px at 100% 30%, rgb(var(--blue-50) / 0.9), transparent 62%),
    radial-gradient(800px 600px at 30% 105%, rgb(var(--blue-100) / 0.45), transparent 65%);
  background-attachment: fixed;
}

/* Shared seamless pan: the gradient is twice the element's width and repeats,
   so moving it by 200% lands exactly on the next copy. */
@keyframes ga-flow {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 200% 50%;
  }
}

@keyframes ga-tile-turn {
  to {
    --tile-angle: 495deg;
  }
}

@keyframes ga-ring-turn {
  to {
    --ring-angle: 360deg;
  }
}

@keyframes ga-shine {
  0%,
  55% {
    transform: translateX(-160%) skewX(-20deg);
  }
  100% {
    transform: translateX(260%) skewX(-20deg);
  }
}

@keyframes ga-breathe {
  0%,
  100% {
    box-shadow: 0 10px 26px -12px rgb(var(--blue-500) / 0.55);
  }
  50% {
    box-shadow: 0 16px 38px -10px rgb(var(--blue-500) / 0.85);
  }
}

@keyframes ga-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgb(var(--blue-500) / 0.5);
  }
  60% {
    box-shadow: 0 0 0 6px rgb(var(--blue-500) / 0);
  }
}

/* Primary buttons in general: a slow, flowing gradient. */
.btn--primary,
html.dark .btn--primary,
.wp-block-button .wp-block-button__link,
html.dark .wp-block-button .wp-block-button__link {
  background-color: rgb(var(--navy-800));
  background-image: var(--grad-loop);
  background-size: 200% 100%;
  background-repeat: repeat-x;
  animation: ga-flow 7s linear infinite;
  color: #fff;
  box-shadow: 0 12px 28px -12px rgb(var(--blue-500) / 0.65);
}

.btn--primary:hover:not(:disabled),
html.dark .btn--primary:hover:not(:disabled),
.wp-block-button .wp-block-button__link:hover {
  background-color: rgb(var(--navy-800));
  background-image: var(--grad-loop);
  box-shadow: 0 18px 38px -12px rgb(var(--blue-500) / 0.8);
  filter: brightness(1.06);
}

html.dark .btn--primary,
html.dark .wp-block-button .wp-block-button__link {
  color: rgb(var(--navy-950));
}

/* "Δείτε τα έργα μου": still gradient, a light sweep crossing it and a glow
   that breathes. */
.hero .btn--primary,
html.dark .hero .btn--primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-image: var(--grad-brand);
  background-size: 100% 100%;
  animation: ga-breathe 3.6s ease-in-out infinite;
}

.hero .btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 40%;
  background-image: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.4), transparent);
  animation: ga-shine 4.2s ease-in-out infinite;
  pointer-events: none;
}

/* The CTA keeps its white button. */
.cta .btn--primary,
html.dark .cta .btn--primary {
  background-image: none;
  animation: none;
}

/* "Συνεργασία" in the menu: solid navy pill with a light ring that turns. */
.nav-cta,
html.dark .nav-cta {
  position: relative;
  background-color: rgb(var(--navy-800));
  background-image: none;
  color: #fff;
  box-shadow: 0 10px 26px -12px rgb(var(--blue-500) / 0.7);
}

html.dark .nav-cta {
  background-color: rgb(var(--blue-500));
  color: rgb(var(--navy-950));
}

.nav-cta::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--ring-angle), transparent 0deg, rgb(var(--blue-300)) 70deg, rgb(var(--blue-500)) 120deg, transparent 190deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: ga-ring-turn 4s linear infinite;
  pointer-events: none;
}

.nav-cta:hover,
html.dark .nav-cta:hover {
  background-image: none;
  filter: brightness(1.08);
}

/* Active filter: a still gradient, no motion. */
.filter.is-active,
html.dark .filter.is-active {
  background-image: var(--grad-brand);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgb(var(--blue-500) / 0.7);
}

html.dark .filter.is-active {
  color: rgb(var(--navy-950));
}

/* Icon tiles: the gradient slowly turns inside the tile. */
.card__icon,
html.dark .card__icon,
.service-hero__icon {
  background-color: transparent;
  background-image: linear-gradient(var(--tile-angle), rgb(var(--tile-a)), rgb(var(--blue-700)) 50%, rgb(var(--tile-b)));
  animation: ga-tile-turn 9s linear infinite;
  color: #fff;
  box-shadow: 0 10px 24px -10px rgb(var(--blue-500) / 0.75);
}

.card--hover:hover .card__icon,
.service-others__item:hover .card__icon,
html.dark .card--hover:hover .card__icon,
html.dark .service-others__item:hover .card__icon {
  background-color: transparent;
  background-image: linear-gradient(var(--tile-angle), rgb(var(--tile-a)), rgb(var(--blue-700)) 50%, rgb(var(--tile-b)));
  color: #fff;
  box-shadow: 0 14px 30px -10px rgb(var(--blue-500) / 0.95);
  transform: scale(1.06);
}

html.dark .card__icon,
html.dark .card--hover:hover .card__icon {
  color: rgb(var(--navy-950));
}

/* Numbers: a light that travels along the digits. */
.stat strong,
.photo-badge strong,
html.dark .stat strong,
html.dark .photo-badge strong {
  background-image: var(--grad-text);
  background-size: 200% 100%;
  background-repeat: repeat-x;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ga-flow 6s linear infinite;
}

.service-why li::before {
  background-image: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Cards: a gradient border that runs round the card while it is hovered. */
.card--hover,
.project,
.service-others__item {
  position: relative;
}

.card--hover::after,
.project::after,
.service-others__item::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--ring-angle), rgb(var(--blue-500) / 0.15), rgb(var(--blue-300)), rgb(var(--blue-500)), rgb(var(--navy-800) / 0.2), rgb(var(--blue-500) / 0.15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  animation: ga-ring-turn 5s linear infinite;
  pointer-events: none;
}

.card--hover:hover::after,
.project:hover::after,
.service-others__item:hover::after {
  opacity: 1;
}

/* Eyebrow: the dot sends out a soft pulse. */
.eyebrow::before {
  background-image: linear-gradient(135deg, rgb(var(--blue-300)), rgb(var(--blue-500)));
  animation: ga-pulse 2.8s ease-out infinite;
}

/* Project browser bar: soft blue tint. */
.project__frame {
  background-image: linear-gradient(120deg, rgb(var(--blue-50)), rgb(var(--blue-100)));
}

html.dark .project__frame {
  background-image: linear-gradient(120deg, rgb(var(--blue-500) / 0.14), rgb(var(--blue-700) / 0.08));
}

/* Footer: navy with a blue glow. */
.footer,
html.dark .footer {
  background-image: radial-gradient(60% 120% at 100% 0%, rgb(var(--blue-500) / 0.22), transparent 60%), radial-gradient(50% 100% at 0% 100%, rgb(var(--blue-700) / 0.25), transparent 60%);
}

/* How we work: the numbers light up one after the other, then start again. */
@keyframes ga-step {
  0%,
  30%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 20px -10px rgb(var(--blue-500) / 0.6);
  }
  12% {
    transform: scale(1.12);
    box-shadow: 0 0 0 6px rgb(var(--blue-500) / 0.18), 0 14px 30px -10px rgb(var(--blue-500) / 0.9);
  }
}

.process__num,
html.dark .process__num {
  background-color: rgb(var(--navy-800));
  background-image: linear-gradient(135deg, rgb(var(--blue-500)), rgb(var(--blue-700)) 55%, rgb(var(--navy-800)));
  animation: ga-step 6s ease-in-out infinite;
}

html.dark .process__num {
  background-image: linear-gradient(135deg, rgb(var(--blue-300)), rgb(var(--blue-500)) 55%, rgb(var(--blue-700)));
  color: rgb(var(--navy-950));
}

.process__step:nth-child(2) .process__num { animation-delay: 1.2s; }
.process__step:nth-child(3) .process__num { animation-delay: 2.4s; }
.process__step:nth-child(4) .process__num { animation-delay: 3.6s; }
.process__step:nth-child(5) .process__num { animation-delay: 4.8s; }

@media (prefers-reduced-motion: reduce) {
  .process__num,
  .btn--primary,
  .hero .btn--primary,
  .hero .btn--primary::after,
  .wp-block-button .wp-block-button__link,
  .nav-cta::before,
  .card__icon,
  .service-hero__icon,
  .stat strong,
  .photo-badge strong,
  .card--hover::after,
  .project::after,
  .service-others__item::after,
  .eyebrow::before {
    animation: none;
  }

  .hero .btn--primary::after {
    display: none;
  }
}

/* ===================== performance: compositor-only motion =====================
   Animating background-position or @property angles repaints every frame on the main
   thread (measured: 66% of a throttled phone's CPU while idle). The same looks are kept
   below with transform and opacity only, which the GPU runs on its own; text gradients
   now play once and stop on the same frame they started. */

@keyframes ga-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes ga-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes ga-dot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.65;
  }
}

/* Primary buttons: the gradient strip slides inside the pill. The strip is two tiles
   wide, so moving it by one tile (-50%) lands on the same picture. */
.btn--primary,
html.dark .btn--primary,
.wp-block-button .wp-block-button__link,
html.dark .wp-block-button .wp-block-button__link {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-image: none;
  animation: none;
}

.btn--primary:hover:not(:disabled),
html.dark .btn--primary:hover:not(:disabled),
.wp-block-button .wp-block-button__link:hover {
  background-image: none;
}

.btn--primary::before,
.wp-block-button .wp-block-button__link::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: -2;
  width: 200%;
  background-image: var(--grad-loop);
  background-size: 50% 100%;
  animation: ga-slide 7s linear infinite;
  pointer-events: none;
}

/* "Ζητήστε προσφορά" in the hero: still gradient, the light sweep stays. */
.hero .btn--primary,
html.dark .hero .btn--primary {
  animation: none;
  background-image: none;
}

.hero .btn--primary::before {
  width: 100%;
  background-image: var(--grad-brand);
  background-size: 100% 100%;
  animation: none;
}

.hero .btn--primary::after {
  z-index: -1;
}

/* The white CTA button has no strip. */
.cta .btn--primary::before {
  content: none;
}

/* Menu "quote" pill: a light ring turns around it. A big conic layer rotates behind a
   pill-shaped fill 2px smaller, so only the ring edge shows. */
.nav-cta,
html.dark .nav-cta {
  overflow: hidden;
  isolation: isolate;
}

.nav-cta::before {
  inset: auto;
  top: 50%;
  left: 50%;
  z-index: -2;
  width: 260%;
  height: auto;
  aspect-ratio: 1;
  padding: 0;
  border-radius: 0;
  background: conic-gradient(from 0deg, transparent 0deg, rgb(var(--blue-300)) 70deg, rgb(var(--blue-500)) 120deg, transparent 190deg, transparent 360deg);
  -webkit-mask: none;
  mask: none;
  animation: ga-spin 4s linear infinite;
}

.nav-cta::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: inherit;
  background-color: rgb(var(--navy-800));
  pointer-events: none;
}

html.dark .nav-cta::after {
  background-color: rgb(var(--blue-500));
}

/* Photo ring: same idea, a rotating conic layer behind the photo. */
.gradient-ring,
html.dark .gradient-ring {
  overflow: hidden;
  isolation: isolate;
  background-image: none;
  background-color: rgb(var(--blue-500));
  animation: none;
}

.gradient-ring::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 200%;
  height: 200%;
  background-image: conic-gradient(from 0deg, rgb(var(--navy-800)), rgb(var(--blue-500)), rgb(var(--blue-300)), rgb(var(--blue-700)), rgb(var(--navy-800)));
  animation: ga-spin 12s linear infinite;
  pointer-events: none;
}

.gradient-ring > * {
  position: relative;
}

/* Numbers and gradient headings: the light passes once, then rests. */
.stat strong,
.photo-badge strong,
html.dark .stat strong,
html.dark .photo-badge strong {
  animation: ga-flow 2.6s ease-out 0.4s 1 both;
}

.gradient-text {
  animation: gradient-pan 3s ease-out 0.3s 1 both;
}

/* Icon tiles: still gradient, no turning (a repaint per frame on every card). */
.card__icon,
html.dark .card__icon,
.service-hero__icon {
  animation: none;
}

/* Card border ring: turns only while the card is hovered. */
.card--hover::after,
.project::after,
.service-others__item::after {
  animation: none;
}

.card--hover:hover::after,
.project:hover::after,
.service-others__item:hover::after {
  animation: ga-ring-turn 5s linear infinite;
}

/* Eyebrow dot: a soft pulse with transform and opacity. */
.eyebrow::before {
  animation: ga-dot 2.8s ease-in-out infinite;
}

/* "How we work" numbers: they grow in turn; the glow is static. */
@keyframes ga-step {
  0%,
  30%,
  100% {
    transform: scale(1);
  }
  12% {
    transform: scale(1.14);
  }
}

.process__num,
html.dark .process__num {
  box-shadow: 0 8px 20px -10px rgb(var(--blue-500) / 0.6);
}

@media (prefers-reduced-motion: reduce) {
  .btn--primary::before,
  .wp-block-button .wp-block-button__link::before,
  .nav-cta::before,
  .gradient-ring::before,
  .stat strong,
  .photo-badge strong,
  .gradient-text,
  .eyebrow::before {
    animation: none;
  }
}
