/* ==========================================================================
   Expo landing page – templates/expo.php
   Design: Figma "Concept Maniax — Εκθέσεις Landing Page" (frame 1920px)
   ========================================================================== */

.expo {
  /* 1 design px, scaled down below a 1920px viewport */
  --u: calc(min(100vw, 1920px) / 1920);

  --expo-bg: #f2f1f7;
  --expo-dark: #1c1a38;
  --expo-purple: #4d4989;
  --expo-pink: #f16687;
  --expo-yellow: #ffdf62;
  --expo-yellow-soft: #fff389;
  --expo-violet: #5000c0;
  --expo-pink-soft: #ffa4ba;
  --expo-divider: #d8d8d8;
  --expo-outline: #db5252;

  --expo-gutter: 20px;
  --expo-container: 1300px;

  position: relative;
  overflow-x: hidden;
  overflow-x: clip;
  background-color: var(--expo-bg);
  color: var(--expo-dark);
  font-family: "CeraGR", sans-serif;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
}

html:has(.expo) {
  scroll-behavior: smooth;
}

.expo *,
.expo *::before,
.expo *::after {
  box-sizing: border-box;
}

/* zero-specificity resets so component classes always win */
:where(.expo) :where(h1, h2, h3, p, ul) {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

:where(.expo) :where(img) {
  display: block;
  max-width: 100%;
  height: auto;
}

:where(.expo) :where(a) {
  text-decoration: none;
}

.expo-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: calc(var(--expo-container) + var(--expo-gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--expo-gutter);
}

.expo-text {
  font-size: clamp(16px, 0.94vw, 18px);
  line-height: 1.7;
  letter-spacing: -0.01em;
}

/* Section header: number / eyebrow / title
   ========================================================================== */

.expo-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.expo-head__num {
  font-size: 16px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.expo-head__eyebrow {
  margin-top: clamp(8px, 0.73vw, 14px);
  font-size: clamp(26px, 1.98vw, 38px);
  color: var(--expo-pink);
  letter-spacing: -0.02em;
}

.expo-head__title {
  margin-top: 5px;
  font-size: clamp(26px, 1.98vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.expo-head--light .expo-head__num,
.expo-head--light .expo-head__title {
  color: #fff;
}

/* Buttons
   ========================================================================== */

.expo-cta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding-inline: var(--expo-gutter);
}

.expo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(327px, 100%);
  height: 55px;
  padding: 0 32px;
  border: 0;
  border-radius: 27.5px;
  background-color: var(--expo-dark);
  color: #fff;
  font-family: "CeraGR", sans-serif;
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}

.expo-btn:hover,
.expo-btn:focus-visible {
  background-color: var(--expo-purple);
  color: #fff;
  transform: translateY(-2px);
}

.expo-btn--accent {
  background-color: var(--expo-pink);
}

.expo-btn--accent:hover,
.expo-btn--accent:focus-visible {
  background-color: #e0507a;
}

/* Drop shapes (decorative)
   A square with three rounded corners, rotated 45° → round body with a point
   on the left. The point sticks out 0.207 × size to the left of the box.
   ========================================================================== */

.expo-drop {
  position: absolute;
  z-index: 0;
  width: calc(var(--s) * var(--u));
  aspect-ratio: 1;
  border-radius: 50% 50% 50% 0;
  transform: rotate(45deg);
  pointer-events: none;
}

.expo-drop--outline {
  z-index: 2;
  border: 1px solid var(--expo-pink);
}

.expo-drop--glow {
  background-color: #fff;
  filter: blur(calc(28 * var(--u)));
}

/* Top bar
   ========================================================================== */

.expo-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: max(20px, calc(47 * var(--u))) max(20px, calc(95 * var(--u))) 0
    max(20px, calc(104 * var(--u)));
}

.expo-topbar__logo {
  display: block;
  margin-top: 9px;
}

.expo-topbar__logo img {
  width: 125px;
}

.expo-topbar__menu {
  cursor: pointer;
}

/* Hero
   ========================================================================== */

.expo-hero {
  position: relative;
  padding-top: calc(196 * var(--u));
}

.expo-hero__drop-outline {
  --s: 587;
  top: calc(161 * var(--u));
  left: calc(50% + (174.5 - 960) * var(--u));
}

.expo-hero__drop-glow {
  --s: 451;
  top: calc(181 * var(--u));
  left: calc(50% + (1349 - 960) * var(--u));
}

.expo-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 592fr) minmax(0, 708fr);
  align-items: start;
}

.expo-hero__media {
  /* sticks out 124px to the left at 1920px, less when there is no room */
  --hero-shift: min(21%, max(0px, (100vw - 1300px) / 2 - 10px));
  position: relative;
  width: calc(114% + var(--hero-shift));
  margin-left: calc(-1 * var(--hero-shift));
}

.expo-hero__text {
  position: relative;
  z-index: 3;
  padding-top: calc(190 * var(--u));
  max-width: 662px;
}

.expo-hero__eyebrow {
  font-size: clamp(22px, 1.67vw, 32px);
  color: var(--expo-purple);
  letter-spacing: -0.02em;
}

.expo-hero__title {
  margin-top: clamp(12px, 1.25vw, 24px);
  max-width: 640px;
  font-size: clamp(34px, 3.23vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--expo-dark);
}

.expo-hero__intro {
  margin-top: clamp(20px, 2.6vw, 50px);
  font-size: clamp(16px, 0.99vw, 19px);
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: #000;
}

.expo-hero .expo-cta {
  margin-top: calc(78 * var(--u));
}

/* 01 Case studies
   ========================================================================== */

.expo-cases {
  position: relative;
  padding-top: clamp(80px, 9.17vw, 176px);
}

.expo-cases__glow-1 {
  --s: 174;
  top: calc(125 * var(--u));
  left: calc(50% + (1590 - 960) * var(--u));
}

.expo-cases__glow-2 {
  --s: 220;
  top: calc(976 * var(--u));
  left: calc(50% + (-5.5 - 960) * var(--u));
}

.expo-cases__glow-3 {
  --s: 592;
  top: calc(1246 * var(--u));
  left: calc(50% + (1351.5 - 960) * var(--u));
}

.expo-cases__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 32px;
  margin-top: 52px;
}

.expo-case {
  display: flex;
  flex-direction: column;
  background-color: #fff;
}

.expo-case__photo {
  position: relative;
  aspect-ratio: 412 / 260;
  overflow: hidden;
}

/* every card photo opens the lightbox (landingExpo.js) */
.expo-case__photo[data-gallery] {
  cursor: pointer;
}

.expo-case__photo[data-gallery] img {
  transition: transform 0.6s ease;
}

.expo-case__photo[data-gallery]:hover img {
  transform: scale(1.04);
}

.expo-case__photo:focus-visible {
  outline: 2px solid var(--expo-pink);
  outline-offset: 3px;
}

/* "N φωτογραφίες" badge – only on cards with 2+ photos */
.expo-case__badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 0;
  border-radius: 0;
  background-color: rgba(77, 73, 137, 0.92);
  color: #fff;
  font-family: "CeraGR", sans-serif;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.2;
  transition: background-color 0.25s ease;
}

.expo-case__photo:hover .expo-case__badge,
.expo-case__photo:focus-visible .expo-case__badge {
  background-color: var(--expo-pink);
}

.expo-case__badge svg {
  flex: none;
}

.expo-case__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expo-case__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 26px 26px;
}

.expo-case__client {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: -0.01em;
  color: var(--expo-dark);
}

.expo-case__event {
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--expo-pink);
}

.expo-case__scope {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--expo-divider);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--expo-dark);
}

.expo-case__scope strong {
  font-weight: bold;
}

.expo-cases .expo-cta {
  margin-top: 86px;
}

/* Stats band
   ========================================================================== */

.expo-stats {
  position: relative;
  padding: clamp(80px, 10.7vw, 206px) var(--expo-gutter) 0;
}

.expo-stats__band {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 468fr 424fr 564fr;
  align-items: center;
  max-width: 1806px;
  min-height: calc(471 * var(--u));
  margin-inline: auto;
  padding: 40px 11.7% 40px 7.7%;
  border-radius: 9999px;
  background-color: var(--expo-violet);
  color: #fff;
  text-align: center;
}

.expo-stats__band .expo-gradient {
  --expo-gradient-opacity: 0.75;
}

.expo-stats__item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.expo-stats__num {
  font-size: clamp(44px, 4.17vw, 80px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.expo-stats__label {
  margin-top: 4px;
  font-size: clamp(15px, 1.04vw, 20px);
  line-height: 1.7;
  letter-spacing: -0.01em;
  color: var(--expo-pink-soft);
}

.expo-stats__drop-1 {
  --s: 197;
  top: calc(clamp(80px, 10.7vw, 206px) - 99 * var(--u));
  left: calc(50% + (582 - 960) * var(--u));
}

.expo-stats__drop-2 {
  --s: 333;
  top: calc(clamp(80px, 10.7vw, 206px) + 304 * var(--u));
  left: calc(50% + (1431 - 960) * var(--u));
}

/* 02 Phases
   ========================================================================== */

.expo-phases {
  position: relative;
  padding-top: clamp(80px, 7.5vw, 144px);
}

.expo-phases__glow {
  --s: 174;
  top: calc(570 * var(--u));
  left: calc(50% + (49 - 960) * var(--u));
}

.expo-phases__intro {
  max-width: 1118px;
  margin-top: clamp(24px, 2vw, 38px);
}

.expo-phases__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 52px;
}

.expo-phase {
  position: relative;
  min-height: 734px;
  padding: 64px 42px 48px;
  border-radius: 50px;
  background-color: #fff;
}

.expo-phase--down {
  background-color: var(--expo-yellow-soft);
}

.expo-phase__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.expo-phase__index {
  display: block;
  font-size: 14px;
  color: var(--expo-purple);
}

.expo-phase--down .expo-phase__index {
  color: var(--expo-dark);
}

.expo-phase__title {
  margin-top: 5px;
  font-size: clamp(24px, 1.56vw, 30px);
  letter-spacing: -0.01em;
  color: var(--expo-dark);
}

.expo-phase__arrow {
  flex: none;
  width: 75px;
  margin-top: 14px;
}

.expo-phase--down .expo-phase__arrow {
  margin-top: -10px;
  margin-right: 20px;
  transform: rotate(-90deg);
}

.expo-phase--right .expo-phase__arrow {
  transform: rotate(180deg);
}

.expo-phase__lead {
  max-width: 348px;
  margin-top: 42px;
  font-size: clamp(17px, 1.04vw, 20px);
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--expo-purple);
}

.expo-list {
  list-style: none;
  max-width: 340px;
  margin-top: 81px;
}

.expo-list li {
  position: relative;
  padding-left: 18px;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  color: var(--expo-dark);
}

.expo-list li + li {
  margin-top: 6px;
}

.expo-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--expo-pink);
}

/* 03 Ways of working
   ========================================================================== */

.expo-ways {
  position: relative;
  padding-top: clamp(80px, 8vw, 153px);
}

.expo-ways__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 84px;
}

/* outline shapes that frame the cards left & right */
.expo-ways__grid::before,
.expo-ways__grid::after {
  content: "";
  position: absolute;
  top: 0;
  width: 640px;
  height: 100%;
  border: 1px solid var(--expo-outline);
  pointer-events: none;
}

.expo-ways__grid::before {
  right: calc(100% + 20px);
  border-radius: 120px;
}

.expo-ways__grid::after {
  left: calc(100% + 20px);
}

.expo-way {
  display: flex;
  flex-direction: column;
  min-height: 717px;
  padding: 84px 66px 56px;
}

.expo-way--full {
  background-color: var(--expo-pink);
  color: #fff;
}

.expo-way--partial {
  padding-inline: 38px 42px;
  border-radius: 120px;
  background-color: #fff;
  color: var(--expo-dark);
}

.expo-way--partial .expo-way__title,
.expo-way--partial .expo-way__subtitle,
.expo-way--partial .expo-way__text {
  padding-left: 13px;
}

.expo-way__title {
  font-size: clamp(28px, 1.98vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.expo-way__subtitle {
  margin-top: 14px;
  font-size: clamp(22px, 1.46vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--expo-yellow);
}

.expo-way--partial .expo-way__subtitle {
  color: var(--expo-pink);
}

.expo-way__media {
  margin-top: 28px;
}

.expo-way--full .expo-way__media {
  max-width: 507px;
}

.expo-way__media img {
  width: 100%;
}

.expo-way__text {
  max-width: 522px;
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.expo-way--full .expo-way__text {
  max-width: 405px;
  margin-top: 41px;
}

.expo-way--partial .expo-way__media {
  margin-top: 22px;
}

.expo-ways .expo-cta {
  margin-top: 69px;
}

/* 04 Digital targeting
   ========================================================================== */

.expo-digital {
  position: relative;
  margin-top: clamp(80px, 6.9vw, 132px);
  padding: clamp(80px, 6.25vw, 120px) 0 clamp(80px, 11.35vw, 218px);
  overflow: hidden;
  background-color: var(--expo-violet);
  color: #fff;
}

.expo-digital .expo-gradient {
  --expo-gradient-opacity: 0.6;
}

.expo-digital__intro {
  margin-top: 25px;
  color: var(--expo-yellow);
}

.expo-digital__timeline {
  --drop: 210px;
  position: relative;
  margin-top: 54px;
}

/* the horizontal line running through the drops */
.expo-digital__timeline::before {
  content: "";
  position: absolute;
  top: calc(var(--drop) / 2);
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--expo-pink);
}

.expo-digital__steps {
  display: grid;
  grid-template-columns: 462fr 483fr 355fr;
}

.expo-step {
  position: relative;
  padding-top: calc(var(--drop) + 34px);
}

.expo-step__drop {
  position: absolute;
  top: 0;
  left: calc(var(--drop) * 0.207);
  width: var(--drop);
  aspect-ratio: 1;
  border: 1px solid var(--expo-pink);
  border-radius: 50% 50% 50% 0;
  background-color: var(--expo-dark);
  transform: rotate(45deg);
}

.expo-step__drop {
  transition: background-color 0.6s ease;
}

.expo-step__drop--active {
  background-color: var(--expo-pink);
}

.expo-step__index {
  display: block;
  font-size: 14px;
  color: var(--expo-pink);
}

.expo-step__title {
  margin-top: 4px;
  font-size: clamp(24px, 1.56vw, 30px);
  letter-spacing: -0.01em;
}

.expo-step__lead {
  max-width: 340px;
  margin-top: 18px;
  font-size: clamp(17px, 1.04vw, 20px);
  line-height: 1.4;
  letter-spacing: -0.02em;
}

/* 05 Video
   ========================================================================== */

.expo-video {
  position: relative;
  padding-top: clamp(60px, 8.18vw, 157px);
}

.expo-video__glow-1 {
  --s: 200;
  top: calc(128 * var(--u));
  left: calc(50% + (108 - 960) * var(--u));
}

.expo-video__inner {
  display: grid;
  grid-template-columns: minmax(0, 686fr) minmax(0, 614fr);
  align-items: start;
}

.expo-video__text {
  position: relative;
  z-index: 3;
  padding-top: calc(154 * var(--u));
}

.expo-video__text .expo-text {
  max-width: 585px;
  margin-top: clamp(24px, 2.2vw, 42px);
}

.expo-video__media {
  position: relative;
  width: 130%;
}

.expo-video__media img,
.expo-video__player {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

/* Drop-shaped mask for the video (same shape as the poster image) */
.expo-video__player {
  aspect-ratio: 799 / 662;
  object-fit: cover;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 799 662'%3E%3Cpath d='M0 331 233.95 96.95A331 331 0 1 1 233.95 565.05Z'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 799 662'%3E%3Cpath d='M0 331 233.95 96.95A331 331 0 1 1 233.95 565.05Z'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
}

/* Video: autoplays muted when in view (landingExpo.js). No controls – the
   drop mask would cut them off. */
.expo-video__frame {
  position: relative;
  z-index: 1;
}

.expo-video__drop-outline {
  --s: 587;
  z-index: 0;
  top: -5.4%;
  left: 13.9%;
  width: 73.5%;
}

.expo-video__glow-2 {
  --s: 369;
  top: calc(523 * var(--u));
  left: calc(50% + (897 - 960) * var(--u));
}

/* Contact
   ========================================================================== */

.expo-contact {
  position: relative;
  padding: clamp(60px, 3.85vw, 74px) var(--expo-gutter)
    clamp(80px, 9.4vw, 180px);
}

.expo-contact__box {
  position: relative;
  max-width: 1714px;
  margin-inline: auto;
  padding: clamp(60px, 8.1vw, 156px) var(--expo-gutter) 76px;
  border-radius: clamp(40px, 4.17vw, 80px);
  background-color: var(--expo-violet);
  color: #fff;
}

.expo-contact__drop {
  position: absolute;
  top: calc(98 * var(--u));
  right: calc(-162 * var(--u));
  width: calc(499 * var(--u));
  aspect-ratio: 1;
  border-radius: 50% 50% 50% 0;
  background-image: linear-gradient(-45deg, #4d4989 20%, #d06087 100%);
  opacity: 0.6;
  transform: rotate(45deg);
  pointer-events: none;
}

.expo-contact__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 684px);
  justify-content: space-between;
  gap: 40px;
  max-width: 1300px;
  margin-inline: auto;
}

.expo-contact__eyebrow {
  font-size: clamp(24px, 1.67vw, 32px);
  letter-spacing: -0.02em;
  color: var(--expo-pink);
}

.expo-contact__title {
  margin-top: 18px;
  font-size: clamp(30px, 2.29vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.expo-contact__text {
  margin-top: 22px;
  font-size: clamp(16px, 0.94vw, 18px);
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.expo-contact__links {
  display: flex;
  flex-direction: column;
  margin-top: 18px;
  font-size: clamp(20px, 1.35vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.expo-contact__phone {
  color: #fff;
}

.expo-contact__email {
  color: var(--expo-yellow);
}

.expo-contact__phone:hover,
.expo-contact__email:hover {
  text-decoration: underline;
}

/* Form – Contact Form 7 "Expo Form"
   CF7 wraps the fields in <p> and <br> (its auto-formatting). We neutralise
   them here so the labels sit directly in the grid / column.
   ========================================================================== */

.expo-form,
.expo-form form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.expo-form p {
  display: contents;
}

.expo-form br {
  display: none;
}

.expo-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 32px;
}

.expo-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  cursor: text;
}

.expo-field__label {
  font-size: clamp(17px, 1.04vw, 20px);
  font-weight: bold;
  letter-spacing: -0.01em;
  color: #fff;
}

.expo-field__optional {
  font-weight: 300;
}

/* file size / type disclaimer under the upload box */
.expo-field__hint {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}

.expo-field .wpcf7-form-control-wrap {
  display: block;
}

.expo-field input[type="text"],
.expo-field input[type="email"],
.expo-field input[type="tel"],
.expo-field input[type="date"],
.expo-field textarea {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #fff;
  border-radius: 0;
  background: transparent;
  color: var(--expo-yellow);
  font-family: "CeraGR", sans-serif;
  font-size: 20px;
  font-weight: 300;
  outline: none;
  box-shadow: none;
}

/* date picker (CF7 [date]): dark native calendar, white icon */
.expo-field input[type="date"] {
  color-scheme: dark;
  cursor: pointer;
}

.expo-field input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.8;
}

.expo-field textarea {
  height: 110px;
  padding-top: 10px;
  resize: vertical;
}

.expo-field input:focus,
.expo-field textarea:focus {
  border-bottom-color: var(--expo-yellow);
}

.expo-field--file {
  cursor: default;
}

.expo-file {
  padding: 14px 16px;
  border: 1px dashed #fff;
}

.expo-file input[type="file"] {
  display: block;
  width: 100%;
  color: #fff;
  font-family: "CeraGR", sans-serif;
  font-size: 15px;
  cursor: pointer;
}

.expo-file input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 6px 12px;
  border: 0;
  border-radius: 4px;
  background-color: #fff;
  color: var(--expo-dark);
  font-family: "CeraGR", sans-serif;
  font-size: 15px;
  cursor: pointer;
}

/* The submit button is centred under the whole box (both columns), not the
   form column: it is positioned against .expo-contact__inner. */
.expo-form__submit {
  height: 55px;
  margin-top: 52px;
}

.expo-form__submit .expo-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.expo-form__submit .expo-btn:hover,
.expo-form__submit .expo-btn:focus-visible {
  transform: translate(-50%, -2px);
}

/* CF7 spinner: right of the (centred) submit button while sending */
.expo-form .wpcf7-spinner {
  position: absolute;
  left: calc(50% + 180px);
  margin: 15px 0 0;
}

.expo-form .wpcf7-form.submitting .expo-btn {
  opacity: 0.6;
  pointer-events: none;
}

.expo-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 14px;
  color: var(--expo-yellow);
}

/* CF7 message after sending (errors / thank you).
   Higher specificity on purpose: styles.css has a global 52px rule for
   .wpcf7 form.sent .wpcf7-response-output that we don't want here. */
.expo-form .wpcf7 form.wpcf7-form .wpcf7-response-output {
  margin: 0;
  padding: 12px 20px;
  border: 1px solid var(--expo-yellow);
  color: #fff;
  font-family: "CeraGR", sans-serif;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.5;
  text-align: center;
}

/* desktop: centre the message under the button, across the whole box */
@media only screen and (min-width: 992px) {
  .expo-form .wpcf7 form.wpcf7-form .wpcf7-response-output {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: fit-content;
    max-width: 684px;
    margin-inline: auto;
  }

  .expo-form
    .wpcf7-form:is(.invalid, .unaccepted, .sent, .failed, .aborted, .spam)
    .expo-form__submit {
    margin-bottom: 96px;
  }
}

/* Moving gradient (stats band + Ψηφιακή στόχευση)
   CSS recreation of the looping gradient video from the Figma prototype.
   One huge, soft radial gradient (250% of the section) whose centre travels
   from top-left to bottom-right and back. No visible shape – the visitor
   just sees the background colour shifting pink ↔ violet ↔ blue.
   Speed: change --expo-gradient-duration (bigger = slower).
   Strength: --expo-gradient-opacity per section.
   ========================================================================== */

@property --expo-g-x {
  syntax: "<percentage>";
  inherits: false;
  initial-value: -40%;
}

@property --expo-g-y {
  syntax: "<percentage>";
  inherits: false;
  initial-value: -40%;
}

.expo-gradient {
  --expo-gradient-duration: 8s;
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  opacity: var(--expo-gradient-opacity, 0.7);
  pointer-events: none;
  background: radial-gradient(
    250% 250% at var(--expo-g-x) var(--expo-g-y),
    #e86a8c 0%,
    #e86a8c 14%,
    #c070c5 34%,
    #8a64cc 50%,
    #4d5cd4 68%,
    #4d5cd4 100%
  );
  animation: expo-gradient-move var(--expo-gradient-duration) ease-in-out
    infinite alternate;
}

/* paused by landingExpo.js while the section is off screen */
.expo-gradient.is-paused {
  animation-play-state: paused;
}

@keyframes expo-gradient-move {
  to {
    --expo-g-x: 140%;
    --expo-g-y: 140%;
  }
}

/* Visitors who turned off animations in their OS: keep the gradient still */
@media (prefers-reduced-motion: reduce) {
  .expo-gradient {
    animation: none;
  }
}

/* Lightbox (case study galleries)
   Hidden by default, opened by js/pages/landingExpo.js
   ========================================================================== */

.expo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 112px;
  font-family: "CeraGR", sans-serif;
}

.expo-lightbox.is-open {
  display: flex;
}

body.expo-lightbox-open {
  overflow: hidden;
}

.expo-lightbox__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(28, 26, 56, 0.94);
  cursor: pointer;
}

.expo-lightbox__figure {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1400px;
  max-height: 100%;
  margin: 0;
}

.expo-lightbox__img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 240px);
  max-height: calc(100dvh - 240px);
  object-fit: contain;
  user-select: none;
}

.expo-lightbox__caption {
  margin-top: 16px;
  font-size: 16px;
  color: #fff;
  text-align: center;
}

.expo-lightbox__close,
.expo-lightbox__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid var(--expo-pink);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.expo-lightbox__close:hover,
.expo-lightbox__close:focus-visible,
.expo-lightbox__arrow:hover,
.expo-lightbox__arrow:focus-visible {
  background-color: var(--expo-pink);
}

.expo-lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
}

.expo-lightbox__nav {
  position: absolute;
  bottom: 28px;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 20px;
  transform: translateX(-50%);
}

/* single photo: no arrows / counter */
.expo-lightbox.is-single .expo-lightbox__nav {
  display: none;
}

.expo-lightbox__counter {
  min-width: 56px;
  font-size: 16px;
  color: #fff;
  text-align: center;
}

@media only screen and (max-width: 767px) {
  .expo-lightbox {
    padding: 72px 12px 96px;
  }

  .expo-lightbox__close {
    top: 12px;
    right: 12px;
  }

  .expo-lightbox__close,
  .expo-lightbox__arrow {
    width: 48px;
    height: 48px;
  }

  .expo-lightbox__nav {
    bottom: 20px;
  }

  .expo-lightbox__img {
    max-height: calc(100vh - 200px);
    max-height: calc(100dvh - 200px);
  }
}

/* Responsive
   ========================================================================== */

@media only screen and (max-width: 1400px) {
  .expo-ways__grid::before,
  .expo-ways__grid::after {
    display: none;
  }
}

@media only screen and (max-width: 1199px) {
  .expo-phase {
    padding-inline: 28px;
  }

  .expo-way {
    padding: 56px 40px 48px;
  }

  .expo-way--partial {
    border-radius: 80px;
  }
}

@media only screen and (max-width: 991px) {
  .expo-hero {
    padding-top: 110px;
  }

  .expo-hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .expo-hero__media {
    width: min(100%, 640px);
    margin: 0 auto;
  }

  .expo-hero__text {
    padding-top: 0;
    max-width: none;
  }

  .expo-hero .expo-cta {
    margin-top: 48px;
  }

  .expo-cases__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 36px;
  }

  .expo-cases .expo-cta {
    margin-top: 48px;
  }

  .expo-stats__band {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 56px 24px;
    border-radius: 60px;
  }

  .expo-phases__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 36px;
  }

  .expo-phase {
    min-height: 0;
    padding: 40px 32px;
    border-radius: 40px;
  }

  .expo-phase__lead,
  .expo-list {
    max-width: none;
    margin-top: 28px;
  }

  .expo-ways__grid {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .expo-way {
    min-height: 0;
  }

  .expo-ways .expo-cta {
    margin-top: 48px;
  }

  .expo-digital__timeline {
    --drop: 140px;
  }

  .expo-digital__timeline::before {
    display: none;
  }

  .expo-digital__steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .expo-video__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .expo-video__text {
    padding-top: 0;
  }

  .expo-video__media {
    width: min(100%, 640px);
    margin-inline: auto;
  }

  .expo-contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .expo-form__submit {
    margin-top: 24px;
  }
}

@media only screen and (max-width: 767px) {
  .expo {
    --expo-gutter: 16px;
  }

  .expo-topbar {
    position: absolute;
    padding: 22px 20px 0;
  }

  .expo-topbar__logo {
    margin-top: 0;
  }

  .expo-topbar__logo img {
    width: 95px;
  }

  .expo-hero {
    padding-top: 96px;
  }

  .expo-hero__drop-outline,
  .expo-hero__drop-glow,
  .expo-cases .expo-drop--glow,
  .expo-stats .expo-drop,
  .expo-phases__glow,
  .expo-video .expo-drop--glow {
    display: none;
  }

  .expo-cases__grid {
    grid-template-columns: 1fr;
  }

  .expo-case__body {
    padding: 18px 20px 22px;
  }

  .expo-stats__band {
    border-radius: 40px;
  }

  .expo-phase {
    padding: 32px 24px;
  }

  .expo-phase__arrow {
    width: 56px;
  }

  .expo-way,
  .expo-way--partial {
    padding: 40px 24px;
  }

  .expo-way--partial {
    border-radius: 48px;
  }

  .expo-way--partial .expo-way__title,
  .expo-way--partial .expo-way__subtitle,
  .expo-way--partial .expo-way__text {
    padding-left: 0;
  }

  .expo-way__text {
    font-size: 16px;
  }

  .expo-contact {
    padding-inline: 0;
  }

  .expo-contact__box {
    padding: 56px 20px 48px;
    border-radius: 32px;
  }

  .expo-form__grid {
    grid-template-columns: 1fr;
  }

  .expo-form .wpcf7-spinner {
    left: 50%;
    margin: 67px 0 0 -12px;
  }

  .expo-btn {
    font-size: 16px;
    padding: 0 24px;
  }
}
