/* ===========================================================
   Papaevaggelou Glow — Design System
   Brand palette extracted from logo:
   navy #2E4684 · sky #6090CC · light #A9C4E6
   =========================================================== */

:root {
  --navy:        #2E4684;
  --navy-deep:   #223768;
  --navy-darker: #1A2B52;
  --sky:         #6090CC;
  --sky-bright:  #4E86D6;
  --sky-light:   #A9C4E6;
  --tint:        #EDF3FB;
  --tint-2:      #DCE8F7;
  --ink:         #1F2A44;
  --muted:       #5E6B85;
  --white:       #FFFFFF;
  --line:        #DCE4F0;

  --grad: linear-gradient(135deg, var(--sky-bright) 0%, var(--navy) 100%);
  --grad-soft: linear-gradient(135deg, #F4F8FE 0%, #E3EDFA 100%);

  --shadow-sm: 0 2px 10px rgba(46,70,132,.08);
  --shadow-md: 0 12px 34px rgba(46,70,132,.14);
  --shadow-lg: 0 26px 60px rgba(46,70,132,.22);

  --radius: 18px;
  --radius-lg: 28px;
  --container: 1180px;

  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Montserrat', system-ui, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; color: var(--navy-deep); font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { color: var(--muted); }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
section { position: relative; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  padding: .95rem 1.7rem; border-radius: 100px; border: 0; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  position: relative; overflow: hidden;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 26px rgba(78,134,214,.38); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(78,134,214,.5); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.26); transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--navy); border: 1.6px solid var(--sky); }
.btn-outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-3px); }

/* ---------- header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  padding: 1.1rem 0; transition: all .4s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  padding: .55rem 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { height: 54px; width: auto; transition: height .4s var(--ease); }
.site-header.scrolled .brand img { height: 44px; }
/* on transparent (top) state over dark hero, swap logos */
.brand .logo-light { display: block; }
.brand .logo-dark  { display: none; }
.site-header.scrolled .brand .logo-light { display: none; }
.site-header.scrolled .brand .logo-dark  { display: block; }

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; font-size: .96rem;
  color: #fff; padding: .55rem .95rem; border-radius: 100px;
  position: relative; transition: color .3s, background .3s;
}
.site-header.scrolled .nav-links a { color: var(--navy-deep); }
/* CTA button text must stay white regardless of scroll state */
.nav-links a.nav-cta,
.site-header.scrolled .nav-links a.nav-cta { color: #fff; }
.nav-links a::after {
  content: ''; position: absolute; left: 50%; bottom: .35rem; transform: translateX(-50%);
  width: 0; height: 3px; border-radius: 3px; background: var(--sky-bright); transition: width .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 26px; }
.nav-links a.active { color: var(--sky-light); }
.site-header.scrolled .nav-links a.active { color: var(--sky-bright); }
.nav-cta { margin-left: .4rem; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; z-index: 1100; }
.nav-toggle span { width: 26px; height: 2.6px; background: #fff; border-radius: 3px; transition: all .3s var(--ease); }
.site-header.scrolled .nav-toggle span { background: var(--navy-deep); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 78vh; display: flex; align-items: center;
  background: radial-gradient(120% 120% at 80% 0%, #3C5BA0 0%, var(--navy) 45%, var(--navy-darker) 100%);
  color: #fff; overflow: hidden; padding: 6rem 0 3rem;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .5;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; position: relative; z-index: 2; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head);
  font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sky-light); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  padding: .45rem 1rem; border-radius: 100px; margin-bottom: 1.4rem;
}
.hero h1 { color: #fff; }
.hero h1 .accent { background: linear-gradient(90deg,#9FC1EC,#5E92D6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: #C7D6EE; font-size: 1.18rem; margin: 1.3rem 0 2.1rem; max-width: 33ch; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero-figure { position: relative; display: grid; place-items: center; }
.hero-figure .glow {
  position: absolute; width: 115%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(120,160,220,.55), transparent 60%); filter: blur(10px);
  animation: pulse 5s ease-in-out infinite;
}
.hero-figure img { position: relative; width: min(350px, 70%); filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-16px); } }
@keyframes pulse { 0%,100%{ transform: scale(1); opacity:.8; } 50%{ transform: scale(1.06); opacity:1; } }
/* Hero CTA grid: each stat sits in the same column as its button,
   so the stat is always centered directly beneath its button. */
.hero-cta-grid { align-items: start; gap: 1rem; }
.cta-col { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.cta-col .stat { text-align: center; }
.cta-col .stat .num { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; line-height: 1; color: #fff; }
.cta-col .stat .lbl { font-size: .82rem; color: #A9BEDD; margin-top: .25rem; }

/* ---------- sections / general ---------- */
.section-pad { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-head { max-width: 640px; margin: 0 auto 3.2rem; text-align: center; }
.section-head .eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--sky-bright); margin-bottom: .8rem;
}
.section-head p { margin-top: .9rem; font-size: 1.08rem; }
.bg-tint { background: var(--grad-soft); }
.lead-block { max-width: 760px; }

/* ---------- service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.2rem 1.9rem; box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .ico {
  width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--navy); margin-bottom: 1.4rem;
  transition: transform .45s var(--ease);
}
.card:hover .ico { transform: rotate(-8deg) scale(1.06); }
.card .ico svg { width: 32px; height: 32px; }
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .98rem; }
.card .more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.2rem; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--sky-bright); }
.card .more svg { width: 16px; transition: transform .3s; }
.card:hover .more svg { transform: translateX(5px); }

/* feature list */
.feature-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.check-list { display: grid; gap: .9rem; margin-top: 1.6rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink); font-weight: 500; }
.check-list .tick { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; margin-top: 2px; }
.check-list .tick svg { width: 14px; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.6rem; }
.chip { font-family: var(--font-head); font-weight: 600; font-size: .9rem; padding: .55rem 1.1rem; border-radius: 100px; background: #fff; border: 1px solid var(--line); color: var(--navy-deep); box-shadow: var(--shadow-sm); transition: all .3s var(--ease); }
.chip:hover { background: var(--navy); color: #fff; transform: translateY(-3px); border-color: var(--navy); }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.4rem; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem 1.5rem; position: relative; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease); }
.step:hover { transform: translateY(-8px); }
.step .n { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; background: linear-gradient(135deg,var(--sky-bright),var(--navy)); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.step h4 { margin: .7rem 0 .4rem; font-size: 1.1rem; }
.step p { font-size: .92rem; }
.step:not(:last-child)::after { content: '→'; position: absolute; right: -.95rem; top: 50%; transform: translateY(-50%); color: var(--sky-light); font-size: 1.3rem; z-index: 3; }

/* ---------- vertical video placeholder ---------- */
.video-feature { display: grid; grid-template-columns: 360px 1fr; gap: 3rem; align-items: center; }
.video-feature.reverse { grid-template-columns: 1fr 360px; }
.video-feature.reverse .vphone { order: 2; }
.vphone {
  position: relative; width: 320px; max-width: 100%; aspect-ratio: 9/16; margin-inline: auto;
  border-radius: 34px; padding: 12px; background: linear-gradient(160deg,#2E4684,#1A2B52);
  box-shadow: var(--shadow-lg);
}
.vphone::before { content:''; position:absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 70px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.25); z-index: 4; }
.vphone-screen {
  width: 100%; height: 100%; border-radius: 24px; overflow: hidden; position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 12px, transparent 12px 24px),
    linear-gradient(160deg,#3C5BA0,#223768);
  display: grid; place-items: center; text-align: center;
  border: 2px dashed rgba(169,196,230,.55);
}
.vphone-screen .play {
  width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,.95);
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.3);
  transition: transform .35s var(--ease); cursor: pointer;
}
.vphone-screen .play:hover { transform: scale(1.08); }
.vphone-screen .play svg { width: 30px; margin-left: 4px; color: var(--navy); }
.vphone-screen .ph-label { position: absolute; bottom: 22px; left: 16px; right: 16px; color: #DCE8F7; }
.vphone-screen .ph-label strong { display: block; font-family: var(--font-head); font-size: .95rem; color: #fff; }
.vphone-screen .ph-label span { font-size: .76rem; opacity: .8; }
.vphone .badge-reel { position: absolute; top: -14px; right: -14px; background: var(--sky-bright); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .06em; padding: .5rem .9rem; border-radius: 100px; box-shadow: var(--shadow-md); z-index: 5; }
.vphone-screen.has-video { border: 0; background: #000; }
.vphone-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 24px; display: block; }
.video-copy h2 span { color: var(--sky-bright); }

/* custom video controls (reel-style): pause + sound */
.vctrl {
  position: absolute; bottom: 12px; z-index: 4;
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  height: 38px; min-width: 38px; padding: 0 .8rem; border: 0; border-radius: 100px;
  cursor: pointer; color: #fff; background: rgba(13,22,45,.55);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  font-family: var(--font-head); font-weight: 700; font-size: .76rem; letter-spacing: .02em;
  box-shadow: 0 6px 18px rgba(0,0,0,.3);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.vctrl:hover { background: rgba(13,22,45,.82); transform: translateY(-1px); }
.vctrl:focus-visible { outline: 2px solid var(--sky-bright); outline-offset: 2px; }
.vctrl .vctrl-ico { width: 19px; height: 19px; display: block; flex: none; }

/* pause / play — bottom-left, icon only */
.vpause { left: 12px; padding: 0; width: 38px; }
.vpause .i-play { display: none; }
.vpause.is-paused .i-pause { display: none; }
.vpause.is-paused .i-play { display: block; }

/* mute / unmute — bottom-right; pill while muted, circle once on */
.vmute { right: 12px; }
.vmute .i-sound { display: none; }
.vmute.is-on { padding: 0; width: 38px; }
.vmute.is-on .i-muted { display: none; }
.vmute.is-on .i-sound { display: block; }
.vmute.is-on .vmute-txt { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .vmute:not(.is-on) { animation: vmute-pulse 2.6s ease-in-out infinite; }
  @keyframes vmute-pulse {
    0%, 100% { box-shadow: 0 6px 18px rgba(0,0,0,.3), 0 0 0 0 rgba(122,178,247,.55); }
    50%      { box-shadow: 0 6px 18px rgba(0,0,0,.3), 0 0 0 8px rgba(122,178,247,0); }
  }
}

/* ---------- before / after comparison ---------- */
.car-showcase { overflow: hidden; }
.before-after-feature {
  display: grid; grid-template-columns: minmax(0,.85fr) minmax(320px,460px);
  gap: clamp(2.2rem, 6vw, 5rem); align-items: center;
  margin-bottom: clamp(3.2rem, 7vw, 6rem);
}
.before-after-copy { max-width: 540px; }
.before-after-copy h2 span { color: var(--sky-bright); }
.before-after-frame {
  --split: 50%;
  position: relative; width: min(100%, 460px); aspect-ratio: 3/4; justify-self: end;
  overflow: hidden; border-radius: var(--radius-lg); isolation: isolate;
  background: var(--navy-darker); border: 10px solid rgba(255,255,255,.86);
  box-shadow: 0 28px 70px rgba(34,55,104,.24);
}
.ba-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; user-select: none; pointer-events: none;
}
.ba-before { z-index: 1; clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.ba-label {
  position: absolute; top: 16px; z-index: 3; pointer-events: none;
  padding: .45rem .78rem; border-radius: 100px;
  color: #fff; background: rgba(13,22,45,.58);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--font-head); font-weight: 800; font-size: .76rem;
  letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
}
.ba-before-label { left: 16px; }
.ba-after-label { right: 16px; }
.ba-divider {
  position: absolute; top: 0; bottom: 0; left: var(--split); z-index: 4;
  width: 2px; background: rgba(255,255,255,.95);
  box-shadow: 0 0 0 1px rgba(46,70,132,.12), 0 0 24px rgba(255,255,255,.45);
  pointer-events: none;
}
.ba-handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 74px; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.96); border: 3px solid #fff;
  box-shadow: 0 14px 34px rgba(13,22,45,.32);
}
.ba-handle img { width: 54px; height: 54px; object-fit: contain; }
.ba-range {
  position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize;
}
.ba-range::-webkit-slider-thumb { width: 74px; height: 100vh; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba-range::-moz-range-thumb { width: 74px; height: 100vh; border: 0; cursor: ew-resize; }
.before-after-frame:focus-within .ba-handle { outline: 3px solid var(--sky-bright); outline-offset: 4px; }

/* ---------- pricing-ish / info table ---------- */
.info-cols { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.6rem; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.info-card h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.5rem,5vw,4rem); text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content:''; position:absolute; width:340px; height:340px; border-radius:50%; background: radial-gradient(circle, rgba(96,144,204,.5), transparent 70%); top:-120px; right:-80px; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: #C7D6EE; margin: .9rem auto 1.8rem; max-width: 50ch; position: relative; }
.cta-band .hero-actions { justify-content: center; position: relative; }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  background: radial-gradient(120% 130% at 85% 0%, #3C5BA0 0%, var(--navy) 50%, var(--navy-darker) 100%);
  color: #fff; padding: 9.5rem 0 4.5rem; position: relative; overflow: hidden; text-align: center;
}
.page-hero::before { content:''; position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 26px 26px; opacity:.5; }
.page-hero .eyebrow { display:inline-block; font-family:var(--font-head); font-weight:700; font-size:.8rem; letter-spacing:.14em; text-transform:uppercase; color:var(--sky-light); margin-bottom: 1rem; }
.page-hero h1 { color:#fff; position: relative; }
.page-hero p { color:#C7D6EE; max-width: 60ch; margin: 1.1rem auto 0; font-size: 1.1rem; position: relative; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.contact-item .ci-ico { flex: 0 0 50px; width: 50px; height: 50px; border-radius: 14px; background: var(--grad-soft); display: grid; place-items: center; color: var(--navy); }
.contact-item .ci-ico svg { width: 24px; }
.contact-item h4 { font-size: 1.05rem; margin-bottom: .2rem; }
.contact-item a, .contact-item p { color: var(--muted); font-weight: 500; }
.contact-item a:hover { color: var(--sky-bright); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.2rem; box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .88rem; margin-bottom: .4rem; color: var(--navy-deep); }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: .98rem; color: var(--ink); background: #FBFCFE; transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(96,144,204,.15); }
.field textarea { resize: vertical; min-height: 120px; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: .4rem; }

/* ---------- social icons ---------- */
.socials { display: flex; align-items: center; gap: .5rem; }
.socials a { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; line-height: 0; transition: transform .3s var(--ease), background .3s, color .3s; }
.socials a svg { width: 18px; height: 18px; display: block; }
.nav-social { margin-left: .3rem; gap: .55rem; }
.nav-social a { width: 46px; height: 46px; color: #fff; background: rgba(255,255,255,.16); }
.nav-social a svg { width: 25px; height: 25px; }
.site-header.scrolled .nav-social a { color: var(--navy-deep); background: var(--tint); }
.nav-social a:hover { transform: translateY(-3px); background: var(--sky-bright); color: #fff; }
.footer-socials { margin-top: 1.4rem; }
.footer-socials a { color: #fff; background: rgba(255,255,255,.1); }
.footer-socials a:hover { background: var(--sky-bright); transform: translateY(-3px); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-darker); color: #C7D6EE; padding: 2.6rem 0 1.3rem; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.5fr; gap: 2rem; align-items: start; }
.site-footer img.f-logo { width: 150px; margin-bottom: .7rem; }
.site-footer p { color: #97AAD0; font-size: .9rem; line-height: 1.55; }
.site-footer h5 { font-family: var(--font-head); color: #fff; font-size: .98rem; margin-bottom: .8rem; letter-spacing: .02em; }
.site-footer ul.f-links li { margin-bottom: .45rem; }
.site-footer ul.f-links a { color: #A9BEDD; font-size: .92rem; transition: color .25s, padding .25s; }
.site-footer ul.f-links a:hover { color: #fff; padding-left: 5px; }
.f-contact li { display: flex; gap: .55rem; align-items: flex-start; margin-bottom: .55rem; font-size: .9rem; color: #A9BEDD; }
.f-contact svg { width: 17px; flex: 0 0 17px; margin-top: 3px; color: var(--sky); }
.f-contact a:hover { color: #fff; }
.footer-socials { margin-top: .9rem; }
.footer-bottom { margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: #7E92BC; }
.footer-bottom a { color: var(--sky-light); font-weight: 600; transition: color .25s; }
.footer-bottom a:hover { color: #fff; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.from-left  { transform: translateX(-44px); }
.reveal.from-right { transform: translateX(44px); }
.reveal.from-left.in-view, .reveal.from-right.in-view { transform: none; }

/* ---------- soap-bubble welcome burst (first load of the session) ---------- */
#bubble-layer { position: fixed; inset: 0; pointer-events: none; z-index: 9999; overflow: hidden; }
.bubble {
  position: absolute; bottom: -60px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.95), rgba(174,205,240,.55) 45%, rgba(78,134,214,.35) 75%);
  box-shadow: inset 0 0 8px rgba(255,255,255,.7);
  animation: bubble-rise var(--dur,2.4s) var(--ease) forwards;
  opacity: 0;
}
@keyframes bubble-rise {
  0%   { transform: translateY(0) scale(.4); opacity: 0; }
  12%  { opacity: .9; }
  70%  { opacity: .8; }
  100% { transform: translateY(-115vh) scale(1); opacity: 0; }
}

/* ---------- custom car cursor (car category) ---------- */
.car-cursor {
  position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none;
  width: 54px; height: 54px; transform: translate(-50%,-50%) scale(0);
  transition: transform .25s var(--ease); will-change: transform;
}
.car-cursor.show { transform: translate(-50%,-50%) scale(1); }
.car-cursor .shine { position:absolute; inset:0; }
.car-cursor .spark { position:absolute; width:8px; height:8px; opacity:0; }
[data-cursor="car"] { cursor: none; }
[data-cursor="car"] * { cursor: none; }

/* ---------- custom emoji cursor (service cards) ---------- */
.emoji-cursor {
  position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none;
  font-size: 30px; line-height: 1; transform: translate(-50%,-50%) scale(0);
  transition: transform .25s var(--ease); will-change: transform;
  filter: drop-shadow(0 5px 9px rgba(26,43,82,.35));
}
.emoji-cursor.show { transform: translate(-50%,-50%) scale(1); }
[data-cursor-emoji] { cursor: none; }
[data-cursor-emoji] * { cursor: none; }

/* click sparkle */
.click-spark { position: fixed; z-index: 9997; pointer-events: none; width: 14px; height: 14px; color: var(--sky-bright); animation: spark-pop .6s ease-out forwards; }
@keyframes spark-pop { 0%{ transform: translate(-50%,-50%) scale(.2) rotate(0); opacity:1; } 100%{ transform: translate(-50%,-50%) scale(1.6) rotate(90deg); opacity:0; } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero p.lead { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-figure { order: -1; }
  .hero-figure img { width: min(300px, 70%); }
  .cards { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:not(:last-child)::after { display: none; }
  .before-after-feature { grid-template-columns: 1fr; text-align: center; }
  .before-after-copy { max-width: 660px; margin-inline: auto; }
  .before-after-frame { justify-self: center; }
  .video-feature, .video-feature.reverse { grid-template-columns: 1fr; gap: 2rem; }
  .video-feature.reverse .vphone { order: -1; }
  .info-cols, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 82%);
    background: var(--navy-deep); flex-direction: column; align-items: stretch; justify-content: center;
    gap: .4rem; padding: 2rem; transform: translateX(105%); transition: transform .42s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,.3);
  }
  .nav-open .nav-links { transform: translateX(0); background: var(--navy-deep); z-index: 1090; }
  /* Keep the opened menu full-height & opaque even when the header is scrolled:
     the scrolled header's backdrop-filter would otherwise become the containing
     block for this fixed panel and collapse it to the header's height, letting
     page content bleed through. Drop it (instantly) while the menu is open. */
  .nav-open .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; transition: none; }
  .nav-links a { color: #fff !important; font-size: 1.1rem; padding: .85rem 1rem; }
  .nav-links a.active { background: rgba(255,255,255,.1); }
  .nav-links a::after { display: none; }
  .nav-cta { margin: .6rem 0 0; text-align: center; }
  .nav-social { justify-content: center; margin: .8rem 0 0; }
  .nav-social a { color: #fff !important; background: rgba(255,255,255,.14) !important; }
  .site-header.scrolled .nav-toggle span { background: var(--navy-deep); }
  .nav-open .nav-toggle span { background: #fff !important; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.4rem; }
  /* Keep long inner-page titles (e.g. "Ταπητοκαθαρισμοί") fully visible
     instead of overflowing/cropping at the 2.1rem floor. */
  .page-hero h1 { font-size: clamp(1.4rem, 7vw, 2rem); }
  /* Scale the vertical reel video down so it fits the viewport, centered,
     without forcing the visitor to zoom out. */
  .vphone { width: min(280px, 80vw); }
  .before-after-frame { border-width: 7px; border-radius: 22px; }
  .ba-label { top: 12px; font-size: .68rem; padding: .36rem .62rem; }
  .ba-before-label { left: 12px; }
  .ba-after-label { right: 12px; }
  .ba-handle { width: 60px; }
  .ba-handle img { width: 44px; height: 44px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
