/* ========== MARZIA CLINIC — CASE STUDY PAGE ========== */

@keyframes mc-float-1 { 0%,100% { transform: translate(0,0) rotate(-8deg); } 50% { transform: translate(8px,-16px) rotate(-4deg); } }
@keyframes mc-float-2 { 0%,100% { transform: translate(0,0) rotate(12deg); } 50% { transform: translate(-10px,-20px) rotate(16deg); } }
@keyframes mc-float-3 { 0%,100% { transform: translate(0,0) rotate(-10deg); } 50% { transform: translate(12px,-14px) rotate(-6deg); } }
@keyframes mc-float-4 { 0%,100% { transform: translate(0,0) rotate(15deg); } 50% { transform: translate(-8px,-18px) rotate(20deg); } }
@keyframes mc-float-5 { 0%,100% { transform: translate(0,0) rotate(-5deg); } 50% { transform: translate(10px,-22px) rotate(2deg); } }
@keyframes mc-glow-pulse { 0%,100% { opacity: 0.55; } 50% { opacity: 0.9; } }
@keyframes mc-emoji-bob { 0%,100% { transform: translateY(0) rotate(-10deg); } 50% { transform: translateY(-12px) rotate(-6deg); } }

.mc-anim { opacity: 0; transform: translateY(24px); transition: opacity 1s cubic-bezier(0.16,1,0.3,1), transform 1s cubic-bezier(0.16,1,0.3,1); }
.mc-anim.visible { opacity: 1; transform: translateY(0); }

.mc-page { background: #0a0a0a; color: #fff; font-family: 'Inter', sans-serif; }

.mc-kicker { font-size: 11px; letter-spacing: 3.5px; text-transform: uppercase; font-weight: 700; color: #7FA88C; display: inline-flex; align-items: center; gap: 8px; margin: 0 auto 22px; justify-content: center; }
.mc-kicker::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #7FA88C; }

.mc-block__head { text-align: center; margin-bottom: 32px; }
.mc-block__emoji-big { font-size: 84px; line-height: 0.9; display: block; text-align: center; margin: 4px auto 14px; animation: mc-emoji-bob 3.5s ease-in-out infinite; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.4)); }
.mc-block__title { font-size: 50px; font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; color: #fff; text-align: center; margin: 0 auto 20px; max-width: 680px; }
.mc-block__lead { font-size: 16px; line-height: 1.65; color: rgba(255,255,255,0.72); text-align: center; margin: 0 auto; max-width: 520px; }
.mc-block__lead strong { color: #7FA88C; font-weight: 700; }

.mc-grad { background: linear-gradient(135deg, #9B7E45, #C9A96E 30%, #E8B4C5 60%, #7FA88C); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.mc-hero { position: relative; background: #0a0a0a; padding: 130px 0 90px; overflow: hidden; min-height: 90vh; text-align: center; }
.mc-hero__content { max-width: 680px; margin: 0 auto; }
.mc-hero__glow { position: absolute; border-radius: 50%; pointer-events: none; }
.mc-hero__glow--1 { top: -10%; left: 28%; width: 820px; height: 820px; background: radial-gradient(circle, rgba(127,168,140,0.48) 0%, transparent 60%); animation: mc-glow-pulse 6s ease-in-out infinite; }
.mc-hero__glow--2 { bottom: -15%; left: -8%; width: 560px; height: 560px; background: radial-gradient(circle, rgba(201,169,110,0.24) 0%, transparent 60%); }
.mc-hero__glow--3 { bottom: 12%; right: -8%; width: 460px; height: 460px; background: radial-gradient(circle, rgba(232,180,197,0.2) 0%, transparent 60%); }

.mc-hero__emoji-big { font-size: 120px; line-height: 0.9; display: block; text-align: center; margin: 8px auto 20px; animation: mc-emoji-bob 4s ease-in-out infinite; filter: drop-shadow(0 8px 18px rgba(0,0,0,0.5)); }
.mc-hero__title { font-size: 76px; font-weight: 800; line-height: 1; letter-spacing: -0.035em; margin: 0 auto 22px; max-width: 640px; }
.mc-hero__lead { font-size: 17px; line-height: 1.55; color: rgba(255,255,255,0.78); margin: 0 auto 40px; max-width: 480px; }
.mc-hero__media { display: block; margin: 0 auto; width: auto; height: auto; max-height: 560px; max-width: 320px; aspect-ratio: 9/16; object-fit: cover; border-radius: 16px; background: #111; box-shadow: 0 20px 50px rgba(0,0,0,0.45); }

.mc-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 640px; margin: 36px auto 0; text-align: left; }
.mc-kpi { background: rgba(127,168,140,0.08); border: 1px solid rgba(127,168,140,0.28); border-top: 2px solid #7FA88C; border-radius: 12px; padding: 22px 20px; }
.mc-kpi--g { background: rgba(201,169,110,0.08); border-color: rgba(201,169,110,0.28); border-top-color: #C9A96E; }
.mc-kpi--r { background: rgba(232,180,197,0.08); border-color: rgba(232,180,197,0.28); border-top-color: #E8B4C5; }
.mc-kpi__n { font-size: 38px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: #fff; }
.mc-kpi__l { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.62); margin-top: 10px; font-weight: 700; }

/* EMOJI FLOATING */
.mc-hero__floaty-wrap { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.mc-floaty { position: absolute; font-size: 42px; pointer-events: none; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35)); }
.mc-floaty--1 { top: 8%; left: 8%; animation: mc-float-1 5s ease-in-out infinite; }
.mc-floaty--2 { top: 12%; right: 10%; animation: mc-float-2 6s ease-in-out infinite; }
.mc-floaty--3 { top: 28%; left: 4%; animation: mc-float-3 5.5s ease-in-out infinite; font-size: 36px; }
.mc-floaty--4 { top: 32%; right: 6%; animation: mc-float-4 6.5s ease-in-out infinite; font-size: 38px; }
.mc-floaty--5 { bottom: 28%; left: 6%; animation: mc-float-5 5.2s ease-in-out infinite; font-size: 34px; }
.mc-floaty--6 { bottom: 32%; right: 8%; animation: mc-float-1 6.2s ease-in-out infinite; font-size: 36px; }
.mc-floaty--7 { top: 48%; left: 2%; animation: mc-float-2 5.8s ease-in-out infinite; font-size: 32px; }
.mc-floaty--8 { top: 52%; right: 3%; animation: mc-float-3 6.4s ease-in-out infinite; font-size: 34px; }
.mc-floaty--9 { bottom: 10%; left: 12%; animation: mc-float-4 5.6s ease-in-out infinite; font-size: 36px; }
.mc-floaty--10 { bottom: 12%; right: 14%; animation: mc-float-5 6.8s ease-in-out infinite; font-size: 34px; }

.mc-floaty-amb { position: absolute; pointer-events: none; font-size: 34px; opacity: 0.45; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3)); z-index: 1; }
.mc-floaty-amb--1 { top: 8%; left: 6%; animation: mc-float-1 6s ease-in-out infinite; }
.mc-floaty-amb--2 { top: 10%; right: 7%; animation: mc-float-2 7s ease-in-out infinite; }
.mc-floaty-amb--3 { top: 14%; left: 8%; animation: mc-float-3 6.5s ease-in-out infinite; }
.mc-floaty-amb--4 { top: 16%; right: 9%; animation: mc-float-4 7.5s ease-in-out infinite; }
.mc-floaty-amb--5 { top: 12%; left: 5%; animation: mc-float-5 6.8s ease-in-out infinite; }
.mc-floaty-amb--6 { top: 14%; right: 6%; animation: mc-float-1 7.2s ease-in-out infinite; }
.mc-floaty-amb--7 { top: 12%; left: 7%; animation: mc-float-2 6.6s ease-in-out infinite; }
.mc-floaty-amb--8 { top: 16%; right: 8%; animation: mc-float-3 7.4s ease-in-out infinite; }
.mc-floaty-amb--9 { top: 14%; left: 9%; animation: mc-float-4 6.9s ease-in-out infinite; }
.mc-floaty-amb--10 { top: 16%; right: 10%; animation: mc-float-5 7.1s ease-in-out infinite; }

.mc-brand, .mc-linee, .mc-shoot, .mc-quote, .mc-cta { position: relative; background: #0a0a0a; padding: 60px 0; overflow: hidden; }
.mc-brand { background: radial-gradient(ellipse at 80% 30%, rgba(127,168,140,0.14) 0%, transparent 60%), #0a0a0a; }
.mc-linee { background: linear-gradient(180deg, #0a0a0a, #14181a 50%, #0a0a0a), radial-gradient(ellipse at 20% 60%, rgba(232,180,197,0.12) 0%, transparent 60%); }
.mc-shoot { background: #0a0a0a; }
.mc-shoot::before { content: ''; position: absolute; top: 12%; right: -6%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(127,168,140,0.2) 0%, transparent 60%); pointer-events: none; }
.mc-quote { background: radial-gradient(ellipse at 50% 50%, rgba(127,168,140,0.18) 0%, transparent 60%), #0a0a0a; }
.mc-cta { background: radial-gradient(ellipse at 50% 30%, rgba(127,168,140,0.38) 0%, transparent 55%), #0a0a0a; padding: 60px 0 72px; }

.mc-brand__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1000px; margin: 0 auto 32px; }
.mc-brand__img { aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 1px solid rgba(127,168,140,0.25); }
.mc-brand__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mc-brand__pillars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; max-width: 900px; margin: 0 auto; }
.mc-pillar { background: rgba(255,255,255,0.03); border: 1px solid rgba(127,168,140,0.25); border-radius: 12px; padding: 22px 10px; text-align: center; transition: border-color 0.3s, transform 0.3s; }
.mc-pillar:hover { border-color: #7FA88C; transform: translateY(-4px); }
.mc-pillar__e { font-size: 34px; line-height: 1; display: block; margin-bottom: 12px; }
.mc-pillar:nth-child(1) .mc-pillar__e { transform: rotate(-6deg); }
.mc-pillar:nth-child(2) .mc-pillar__e { transform: rotate(8deg); }
.mc-pillar:nth-child(3) .mc-pillar__e { transform: rotate(-4deg); }
.mc-pillar:nth-child(4) .mc-pillar__e { transform: rotate(10deg); }
.mc-pillar:nth-child(5) .mc-pillar__e { transform: rotate(-8deg); }
.mc-pillar:nth-child(6) .mc-pillar__e { transform: rotate(6deg); }
.mc-pillar__t { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.88); letter-spacing: 0.3px; text-transform: lowercase; }

.mc-linee__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1100px; margin: 0 auto; }
.mc-linea { background: transparent; border: none; border-radius: 0; overflow: visible; padding: 0; transition: transform 0.4s ease; }
.mc-linea:hover { transform: translateY(-4px); }
.mc-linea__img-wrap { aspect-ratio: 1; background-size: cover; background-position: center; background-color: #111; border-radius: 12px; overflow: hidden; }
.mc-linea__info { padding: 12px 2px 0; text-align: left; }
.mc-linea__kicker { font-size: 8px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: #C9A96E; margin-bottom: 4px; }
.mc-linea__nome { font-size: 15px; font-weight: 800; letter-spacing: -0.3px; color: #7FA88C; line-height: 1.15; }

.mc-shoot__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 10px; max-width: 1100px; margin: 0 auto; }
.mc-shoot__item { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid rgba(127,168,140,0.22); transition: transform 0.4s, border-color 0.3s; }
.mc-shoot__item:hover { transform: scale(1.02); border-color: #7FA88C; }
.mc-shoot__item--v { aspect-ratio: 4/5; }
.mc-shoot__item--h { aspect-ratio: 1/1; grid-column: span 2; }
.mc-shoot__item img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mc-quote__box { max-width: 720px; margin: 0 auto; background: rgba(127,168,140,0.06); border: 1px solid rgba(127,168,140,0.25); border-radius: 18px; padding: 40px 36px; position: relative; }
.mc-quote__mark { position: absolute; top: 18px; left: 20px; font-family: Georgia, serif; font-size: 78px; color: #7FA88C; line-height: 0.6; opacity: 0.42; transform: rotate(-8deg); }
.mc-quote__text { font-size: 22px; font-weight: 700; line-height: 1.4; color: #fff; letter-spacing: -0.01em; margin: 24px 0 22px 56px; }
.mc-quote__auth { display: flex; align-items: center; gap: 14px; margin-left: 56px; }
.mc-quote__avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(127,168,140,0.4); }
.mc-quote__avatar--ph { background: linear-gradient(135deg, #5A8670, #C9A96E); display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; border: 2px dashed rgba(255,255,255,0.35); }
.mc-quote__name { font-size: 15px; font-weight: 800; color: #fff; }
.mc-quote__role { font-size: 10px; color: rgba(255,255,255,0.55); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; margin-top: 3px; }

.mc-cta__content { text-align: center; max-width: 620px; margin: 0 auto; }
.mc-cta__btn { background: linear-gradient(135deg, #5A8670, #7FA88C) !important; box-shadow: 0 8px 28px rgba(127,168,140,0.45) !important; margin-top: 20px; }
.mc-cta__btn:hover { box-shadow: 0 12px 36px rgba(127,168,140,0.6) !important; }

/* PLACEHOLDER stile */
.mc-ph { border: 1.5px dashed rgba(127,168,140,0.48); border-radius: 14px; background: rgba(127,168,140,0.05); padding: 30px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.mc-ph--g { border-color: rgba(201,169,110,0.48); background: rgba(201,169,110,0.05); }
.mc-ph--r { border-color: rgba(232,180,197,0.48); background: rgba(232,180,197,0.05); }
.mc-ph--hero { aspect-ratio: 16/9; max-width: 900px; margin: 0 auto 36px; }
.mc-ph--square { aspect-ratio: 1; }
.mc-ph--fill { position: absolute; inset: 0; border-radius: 0; border: none; background: rgba(127,168,140,0.04); }
.mc-ph--photo { position: relative; background-size: cover; background-position: center; border-style: solid; overflow: hidden; transition: transform 0.4s ease; cursor: default; }
.mc-ph--photo:hover { transform: translateY(-4px); }

/* Responsive */
@media (max-width: 1024px) {
  .mc-hero { padding: 100px 0 80px; }
  .mc-hero__title { font-size: 56px; }
  .mc-hero__emoji-big { font-size: 94px; }
  .mc-block__title { font-size: 40px; }
  .mc-block__emoji-big { font-size: 68px; }
  .mc-brand, .mc-linee, .mc-shoot, .mc-quote, .mc-cta { padding: 50px 0; }
  .mc-cta { padding: 50px 0 60px; }
  .mc-brand__grid { grid-template-columns: repeat(2, 1fr); }
  .mc-brand__pillars { grid-template-columns: repeat(3, 1fr); }
  .mc-linee__grid { grid-template-columns: repeat(3, 1fr); }
  .mc-shoot__grid { grid-template-columns: repeat(3, 1fr); }
  .mc-shoot__item--h { grid-column: span 2; }
}
@media (max-width: 768px) {

  /* MC KPI MOBILE — 3 quadrati affiancati, sempre dentro lo schermo */
  .mc-kpis {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-width: 100%;
    width: 100%;
    padding: 0 16px;
    margin: 28px auto 0;
    box-sizing: border-box;
  }
  .mc-kpi {
    min-width: 0;
    aspect-ratio: 1 / 1;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    box-sizing: border-box;
    overflow: hidden;
  }
  .mc-kpi__n {
    font-size: clamp(15px, 5.4vw, 24px);
    letter-spacing: -0.03em;
    white-space: nowrap;
  }
  .mc-kpi__l {
    font-size: 8px;
    letter-spacing: 0.5px;
    margin-top: 6px;
    white-space: nowrap;
  }
  .mc-hero { padding: 80px 0 60px; min-height: auto; }
  .mc-hero__title { font-size: 42px; }
  .mc-hero__emoji-big { font-size: 72px; }
  .mc-hero__lead { font-size: 15px; }
  .mc-hero__media { max-width: 260px; max-height: 460px; }
  .mc-block__title { font-size: 32px; }
  .mc-block__emoji-big { font-size: 58px; }
  .mc-brand, .mc-linee, .mc-shoot, .mc-quote, .mc-cta { padding: 40px 0; }
  .mc-cta { padding: 40px 0 50px; }
  .mc-block__head { margin-bottom: 24px; }
  .mc-brand__grid { margin: 0 auto 24px; }
  .mc-linee__grid { grid-template-columns: repeat(2, 1fr); }
  .mc-linea__nome { font-size: 13px; }
  .mc-linea__kicker { font-size: 7px; }
  .mc-shoot__grid { grid-template-columns: repeat(2, 1fr); }
  .mc-shoot__item--h { grid-column: span 2; }
  .mc-kpi__n { font-size: 30px; }
  .mc-floaty { font-size: 30px; }
  .mc-floaty-amb { font-size: 26px; }
  .mc-quote__text { font-size: 17px; margin-left: 14px; }
  .mc-quote__auth { margin-left: 14px; }
  .mc-quote__mark { font-size: 58px; }
}
@media (max-width: 480px) {
  .mc-hero__title { font-size: 34px; }
  .mc-hero__emoji-big { font-size: 60px; }
  .mc-block__title { font-size: 28px; letter-spacing: -0.02em; }
  .mc-block__emoji-big { font-size: 48px; }
  .mc-brand__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .mc-brand__pillars { grid-template-columns: repeat(2, 1fr); }
  .mc-linee__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mc-shoot__grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .mc-shoot__item--h { grid-column: span 2; aspect-ratio: 16/10; }
}
