/* ============================================================
   service-mobile-web.css -- Mobile & Web Service Page (Light Theme)
   ============================================================ */

/* --- HERO --- */
.mw-hero {
  position: relative;
  min-height: 85svh;
  display: flex;
  align-items: center;
  background: #ffffff;
  overflow: hidden;
}
.mw-hero-noise {
  display: none;
}
.mw-hero-grid {
  display: none;
}
.mw-glow { display: none; }

.mw-hero-inner { display: flex; align-items: center; gap: 4rem; padding: 8rem 0 4rem; position: relative; z-index: 10; }

/* Left content */
.mw-hero-content { flex: 1 1 480px; }
.mw-hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(0,86,179,.08); border: 1px solid rgba(0,86,179,.15);
  color: var(--clr-accent); border-radius: 100px; padding: .35rem 1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 2rem; backdrop-filter: blur(8px);
  animation: fadeUp .8s var(--ease-out) .2s both;
}
.mw-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--clr-accent); animation: caretBlink 1.5s step-end infinite; }
.mw-hero-title {
  font-family: var(--font-headings); font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -.03em;
  color: var(--clr-primary); margin-bottom: 1.5rem;
  animation: fadeUp .8s var(--ease-out) .4s both;
}
.mw-hero-accent {
  display: block; font-style: italic;
  color: var(--clr-accent);
}
.mw-hero-deco { width: 80px; height: 3px; border-radius: 100px; margin-bottom: 2rem;
  background: var(--clr-accent);
  animation: decoLineIn .8s var(--ease-out) .6s both; }
.mw-hero-subtitle {
  font-size: 1.05rem; color: var(--clr-text-muted); line-height: 1.85;
  max-width: 500px; margin-bottom: 3rem;
  animation: fadeUp .8s var(--ease-out) .8s both;
}
.mw-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; animation: fadeUp .8s var(--ease-out) 1s both; }
.mw-hero-actions .btn-ghost { color: var(--clr-primary); border-color: rgba(26,46,68,.15); background: rgba(26,46,68,.03); }
.mw-hero-actions .btn-ghost:hover { background: rgba(26,46,68,.06); border-color: rgba(26,46,68,.3); color: var(--clr-primary); }
.mw-mini-stat { text-align: center; padding: 0 1.5rem; }
.mw-mini-stat:first-child { padding-left: 0; }
.mw-mini-num { display: block; font-family: var(--font-headings); font-size: 1.8rem; font-weight: 700; color: var(--clr-primary); line-height: 1; }
.mw-mini-suf { font-size: 1rem; color: var(--clr-accent); }
.mw-mini-lbl { font-size: .72rem; color: var(--clr-text-muted); letter-spacing: .05em; text-transform: uppercase; margin-top: .25rem; display: block; font-weight: 600; }
.mw-mini-div { width: 1px; background: rgba(26,46,68,.1); margin: .25rem 0; align-self: stretch; }

/* Right: floating orbital visual */
.mw-hero-visual { flex: 0 0 auto; width: min(46%, 500px); height: 480px; position: relative; animation: fadeSlideLeft .9s var(--ease-out) .5s both; }
.mw-orbital { width: 100%; height: 100%; position: relative; display: flex; align-items: center; justify-content: center; }
.mw-orb-core {
  width: 120px; height: 120px; border-radius: 50%; position: relative; z-index: 5;
  background: var(--clr-primary);
  box-shadow: 0 10px 40px rgba(0,86,179,.2), inset 0 0 20px rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; color: white;
  font-size: 2.5rem; animation: coreFloat 6s ease-in-out infinite;
}
@keyframes coreFloat { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-12px) scale(1.04)} }
.mw-ring {
  position: absolute; border-radius: 50%; border: 1px dashed;
  display: flex; align-items: center; justify-content: center;
}
.mw-ring--1 { width: 220px; height: 220px; border-color: rgba(0,86,179,.2); animation: ringRotate 15s linear infinite; }
.mw-ring--2 { width: 340px; height: 340px; border-color: rgba(79,142,247,.25); animation: ringRotate 25s linear infinite reverse; }
.mw-ring--3 { width: 460px; height: 460px; border-color: rgba(181,36,106,.15); animation: ringRotate 35s linear infinite; }
@keyframes ringRotate { to { transform: rotate(360deg); } }
.mw-sat {
  position: absolute; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border: 1px solid rgba(26,46,68,.1); display: flex; align-items: center;
  justify-content: center; font-size: 1.2rem; box-shadow: 0 8px 24px rgba(26,46,68,.08);
}
.mw-ring--1 .mw-sat:nth-child(1) { top: -22px; left: calc(50% - 22px); }
.mw-ring--1 .mw-sat:nth-child(2) { bottom: -22px; left: calc(50% - 22px); }
.mw-ring--2 .mw-sat:nth-child(1) { top: -22px; right: 20px; }
.mw-ring--2 .mw-sat:nth-child(2) { bottom: -22px; left: 20px; }
.mw-ring--2 .mw-sat:nth-child(3) { left: -22px; top: calc(50% - 22px); }
.mw-float-chip {
  position: absolute; display: flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
  border: 1px solid rgba(26,46,68,.08); border-radius: 100px;
  padding: .5rem 1.2rem; font-size: .8rem; font-weight: 700; color: var(--clr-primary);
  white-space: nowrap; animation: badgeFloat 4s ease-in-out infinite; box-shadow: 0 4px 16px rgba(0,0,0,.05);
}
.mw-chip--1 { top: 15%; right: -2%; animation-delay: 0s; }
.mw-chip--2 { bottom: 22%; left: -5%; animation-delay: 1.5s; }
.mw-chip--3 { top: 48%; right: -8%; animation-delay: 3s; }

/* --- KEYWORDS GRID: Premium Presentation Section --- */
.mw-universe {
  background: #ffffff;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.mw-universe::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 2px; background: var(--clr-accent); opacity: .2; }
.mw-universe-header { text-align: center; margin-bottom: 4rem; max-width: 700px; margin-inline: auto; }
.mw-universe-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
  color: var(--clr-accent); margin-bottom: 1rem;
}
.mw-universe-title { font-family: var(--font-headings); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; color: var(--clr-primary); letter-spacing: -.02em; margin-bottom: 1rem; }
.mw-universe-title em { font-style: normal; color: var(--clr-accent); }
.mw-universe-desc { color: var(--clr-text-muted); line-height: 1.8; font-size: 1.05rem; }

/* Premium Grid Layout */
/* Premium Alternating Layout Flow */
.mw-alt-list {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  padding: 4rem 0 6rem;
  position: relative;
  z-index: 5;
}

.mw-alt-item {
  display: flex;
  align-items: center;
  gap: 5rem;
  justify-content: space-between;
}

.mw-alt-item:nth-child(even) {
  flex-direction: row-reverse;
}

.mw-alt-visual {
  flex: 1;
  max-width: 500px;
  display: flex;
  justify-content: center;
  position: relative;
}

/* Organic Floating Element mimicking an image */

.mw-alt-box {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--clr-surface, #ffffff);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 86, 179, 0.08);
  box-shadow: 0 20px 40px rgba(26, 46, 68, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

/* Soft ambient glow behind the box */
.mw-alt-visual::before {
  content: '';
  position: absolute;
  inset: 5%;
  background: var(--clr-primary);
  filter: blur(40px);
  opacity: 0.05;
  border-radius: inherit;
  z-index: 1;
  transition: opacity 0.6s ease;
}

.mw-alt-item:hover .mw-alt-visual::before {
  opacity: 0.12;
}

.mw-alt-item:hover .mw-alt-box {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 86, 179, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 86, 179, 0.15);
}

.mw-alt-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 5;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mw-alt-item:hover .mw-alt-image {
  transform: scale(1.05);
}

.mw-alt-content {
  flex: 1;
  max-width: 520px;
}

.mw-alt-num {
  font-family: var(--font-headings);
  color: var(--clr-accent);
  opacity: 0.8;
  margin-right: 0.25rem;
}

.mw-alt-title {
  font-family: var(--font-headings);
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 1.2rem;
  line-height: 1.2;
  transition: color 0.4s ease;
}

.mw-alt-item:hover .mw-alt-title {
  color: var(--clr-accent);
}

.mw-alt-desc {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
}

/* --- CTA FINALE --- */
.mw-cta {
  background: var(--clr-surface-2, #f4f5f8);
  padding: 6rem 0; text-align: center; position: relative; overflow: hidden;
  border-top: 1px solid var(--clr-border);
}
.mw-cta-orb { position: absolute; width: 600px; height: 600px; border-radius: 50%; filter: blur(120px); pointer-events: none; top: -30%; left: 50%; transform: translateX(-50%); background: var(--clr-primary); opacity: 0.04; }
.mw-cta-inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.mw-cta-tag { display: inline-block; background: rgba(0,86,179,.08); border: 1px solid rgba(0,86,179,.15); border-radius: 100px; padding: .4rem 1.2rem; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--clr-accent); margin-bottom: 1.5rem; }
.mw-cta-title { font-family: var(--font-headings); font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 700; color: var(--clr-primary); letter-spacing: -.02em; margin-bottom: 1rem; line-height: 1.15; }
.mw-cta-title em { font-style: normal; color: var(--clr-accent); }
.mw-cta-desc { color: var(--clr-text-muted); max-width: 500px; margin: 0 auto 2.5rem; line-height: 1.8; font-size: 1.1rem; }
.mw-cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.mw-cta-note { font-size: .85rem; color: var(--clr-text-muted); opacity: .8; font-weight: 500; }
.mw-cta .btn-primary { box-shadow: 0 8px 25px rgba(0,86,179,.25); }


/* --- REVEAL ANIMATIONS --- */
.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal-up.revealed { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s !important; }
.delay-2 { transition-delay: .2s !important; }
.delay-3 { transition-delay: .3s !important; }
.delay-4 { transition-delay: .4s !important; }
.delay-5 { transition-delay: .5s !important; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .mw-hero-inner { flex-direction: column; padding-top: 9rem; text-align: center; gap: 3rem; }
  .mw-hero-content { align-items: center; display: flex; flex-direction: column; }
  .mw-hero-visual { width: 100%; max-width: 420px; height: 380px; }
  .mw-alt-item, .mw-alt-item:nth-child(even) { flex-direction: column; gap: 3rem; text-align: center; }
  .mw-alt-list { gap: 5rem; }
  .mw-alt-visual, .mw-alt-content { max-width: 100%; }
}

/* --- SERVICE CTA BUTTONS --- */
.mw-alt-action {
  margin-top: 2rem;
}

.mw-alt-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 2.2rem;
  background: var(--clr-primary, #002864);
  color: #ffffff;
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 40, 100, 0.15), inset 0 1px 0 rgba(255,255,255,0.1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

.mw-alt-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.mw-alt-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 40, 100, 0.25), inset 0 1px 0 rgba(255,255,255,0.2);
  color: #ffffff;
}

.mw-alt-btn:hover::before {
  opacity: 1;
}

.mw-alt-btn .btn-arrow {
  position: relative;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 1.1em;
}

.mw-alt-btn:hover .btn-arrow {
  transform: translateX(5px);
}

.mw-alt-btn span:not(.btn-arrow) {
  position: relative;
  z-index: 2;
}
