/* ═══════════════════════════════════════════════════════════════
   HOME — NEW MOBILE HERO  (≤767px, gated via md:hidden on element)
   ═══════════════════════════════════════════════════════════════ */

/* CSS guard — ensures mobile hero never renders on desktop even if Tailwind CDN is slow */
@media (min-width: 768px) {
  .mh-new-hero { display: none !important; }
}

/* ── Shell ── */
.mh-new-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, #FAFAF8 0%, #ffffff 52px, #ffffff 100%);
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - 7rem);
  padding: 36px 24px 0;
}

.mh-new-inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ── Background watermark ── */
.mh-wm-decor {
  position: absolute;
  top: -18%;
  right: -38%;
  width: 630px;
  height: 630px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: mhWmFadeIn 1.5s ease-out 0.3s forwards;
}

.mh-wm-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.05;
}

@keyframes mhWmFadeIn {
  to { opacity: 1; }
}

/* ── A. Eyebrow ── */
.mh-ew {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.mh-ew-line {
  width: 3px;
  height: 40px;
  background: #D05927;
  border-radius: 2px;
  flex-shrink: 0;
}

.mh-ew-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mh-ew-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0E1A3C;
  line-height: 1.2;
  font-family: 'Outfit', sans-serif;
}

.mh-ew-tagline {
  font-size: 0.6875rem;
  font-weight: 500;
  color: #7A8496;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.4;
  font-family: 'Outfit', sans-serif;
}

/* ── B. Headline ── */
.mh-headline {
  font-size: clamp(2.75rem, 10vw, 3.5rem);
  font-weight: 700;
  color: #0E1A3C;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 26px 0;
  font-family: 'Outfit', sans-serif;
}

.mh-hl-accent {
  color: #D05927;
  display: block;
}

/* ── C. Badge ── */
.mh-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.4));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(208, 89, 39, 0.18);
  border-radius: 100px;
  padding: 11px 20px;
  box-shadow:
    0 4px 20px rgba(208, 89, 39, 0.10),
    0 1px 2px rgba(208, 89, 39, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  align-self: flex-start;
  margin-bottom: 22px;
}

.mh-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D05927;
  flex-shrink: 0;
  animation: mhDotPulse 2s ease-in-out infinite;
}

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

.mh-badge-text {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #D05927;
  line-height: 1;
  font-family: 'Outfit', sans-serif;
}

/* ── D. Subtitle ── */
.mh-sub {
  font-size: clamp(1.05rem, 4vw, 1.2rem);
  line-height: 1.55;
  color: rgba(14, 26, 60, 0.7);
  margin: 0 0 36px 0;
  font-family: 'Outfit', sans-serif;
}

.mh-sub strong {
  font-weight: 600;
  color: rgba(14, 26, 60, 0.87);
}

/* ── E. CTA button ── */
.mh-cta-wrap {
  margin-bottom: 0;
}

.mh-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #D05927;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1;
  padding: 18px 24px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px -4px rgba(208, 89, 39, 0.32);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.mh-cta-btn:active {
  transform: scale(0.97);
  box-shadow: 0 4px 12px -2px rgba(208, 89, 39, 0.28);
}

.mh-cta-arrow {
  display: inline-block;
  animation: mhArrowNudge 1.5s ease-in-out 1.4s infinite;
}

@keyframes mhArrowNudge {
  0%, 100% { transform: translateX(0);  }
  50%       { transform: translateX(4px); }
}

/* ── F. Scroll cue ── */
.mh-scroll-cue {
  margin-top: auto;
  padding: 55px 0 32px;
  display: flex;
  justify-content: center;
}

.mh-scroll-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: rgba(14, 26, 60, 0.45);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mh-scroll-text {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1;
  font-family: 'Outfit', sans-serif;
}

.mh-scroll-arrow {
  font-size: 1rem;
  display: block;
  animation: mhScrollBounce 1.8s ease-in-out 1.6s infinite;
}

@keyframes mhScrollBounce {
  0%, 100% { transform: translateY(0);  }
  50%       { transform: translateY(6px); }
}

/* ── Entrance animations ── */
@keyframes mhFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes mhFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.mh-anim {
  opacity: 0;
  animation-fill-mode: both;
  animation-duration: 0.6s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-name: mhFadeUp;
}

.mh-anim-1 { animation-delay: 0.10s; }
.mh-anim-2 { animation-delay: 0.25s; }
.mh-anim-3 { animation-delay: 0.45s; }
.mh-anim-4 { animation-delay: 0.60s; }
.mh-anim-5 { animation-delay: 0.75s; }
.mh-anim-6 { animation-delay: 0.90s; animation-name: mhFadeIn; }

/* ── G. Smooth hero → cream blend at bottom ── */
.mh-new-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 130px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(250, 250, 248, 0.65) 55%,
    #FAFAF8 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* ── prefers-reduced-motion: all off ── */
@media (prefers-reduced-motion: reduce) {
  .mh-anim,
  .mh-wm-decor {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .mh-wm-img   { opacity: 0.05; }
  .mh-badge-dot,
  .mh-cta-arrow,
  .mh-scroll-arrow { animation: none !important; }
}

/* ============================================================
   Sub-phase 2C: Remove backdrop-filter from mobile hero badge
   Στόχος: αφαίρεση backdrop-filter:blur(16px) που είναι ακριβό
   για iOS Safari GPU. Visual gradient παραμένει.
   ============================================================ */
.mh-badge {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
